mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 21:33:59 +08:00
Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out LIB2FUNCS_EXCLUDE before adding them to libgcc-objects, libgcc-s-objects.
* Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out LIB2FUNCS_EXCLUDE before adding them to libgcc-objects, libgcc-s-objects. * fixed-obj.mk: Only expand dependency if $o is not in LIB2FUNCS_EXCLUDE. From-SVN: r190624
This commit is contained in:
parent
c583af79c0
commit
a147b6d28f
@ -1,3 +1,11 @@
|
||||
2012-08-22 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
* Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
|
||||
LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
|
||||
libgcc-s-objects.
|
||||
* fixed-obj.mk: Only expand dependency if $o is not in
|
||||
LIB2FUNCS_EXCLUDE.
|
||||
|
||||
2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
|
||||
|
@ -763,9 +763,9 @@ iter-to := $(fixed-modes)
|
||||
include $(srcdir)/empty.mk $(patsubst %,$(srcdir)/fixed-obj.mk,$(iter-items))
|
||||
|
||||
# Add arithmetic functions to list of objects to be built
|
||||
libgcc-objects += $(patsubst %,%$(objext),$(fixed-funcs))
|
||||
libgcc-objects += $(patsubst %,%$(objext),$(filter-out $(LIB2FUNCS_EXCLUDE),$(fixed-funcs)))
|
||||
ifeq ($(enable_shared),yes)
|
||||
libgcc-s-objects += $(patsubst %,%_s$(objext),$(fixed-funcs))
|
||||
libgcc-s-objects += $(patsubst %,%_s$(objext),$(filter-out $(LIB2FUNCS_EXCLUDE),$(fixed-funcs)))
|
||||
endif
|
||||
|
||||
# Convert from or to fractional
|
||||
@ -782,9 +782,9 @@ iter-to := $(fixed-conv-to)
|
||||
include $(srcdir)/empty.mk $(patsubst %,$(srcdir)/fixed-obj.mk,$(iter-items))
|
||||
|
||||
# Add conversion functions to list of objects to be built
|
||||
libgcc-objects += $(patsubst %,%$(objext),$(fixed-conv-funcs))
|
||||
libgcc-objects += $(patsubst %,%$(objext),$(filter-out $(LIB2FUNCS_EXCLUDE),$(fixed-conv-funcs)))
|
||||
ifeq ($(enable_shared),yes)
|
||||
libgcc-s-objects += $(patsubst %,%_s$(objext),$(fixed-conv-funcs))
|
||||
libgcc-s-objects += $(patsubst %,%_s$(objext),$(filter-out $(LIB2FUNCS_EXCLUDE),$(fixed-conv-funcs)))
|
||||
endif
|
||||
|
||||
endif
|
||||
|
@ -22,6 +22,7 @@ endif
|
||||
|
||||
#$(info $o$(objext): -DL$($o-label) $($o-opt))
|
||||
|
||||
ifneq ($o,$(filter $o,$(LIB2FUNCS_EXCLUDE)))
|
||||
$o$(objext): %$(objext): $(srcdir)/fixed-bit.c
|
||||
$(gcc_compile) -DL$($*-label) $($*-opt) -c $(srcdir)/fixed-bit.c $(vis_hide)
|
||||
|
||||
@ -29,3 +30,4 @@ ifeq ($(enable_shared),yes)
|
||||
$(o)_s$(objext): %_s$(objext): $(srcdir)/fixed-bit.c
|
||||
$(gcc_s_compile) -DL$($*-label) $($*-opt) -c $(srcdir)/fixed-bit.c
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user