This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libgcc: problems adding asm sources (libgcc/siditi-object.mk)
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 18:26:30 +0200
- Subject: libgcc: problems adding asm sources (libgcc/siditi-object.mk)
Hi, I intend to add some assembler sources to libgcc build.
Using the straight forward way in ./gcc/config/avr/t-avr
@ -52,7 +50,30 @@ LIB1ASMFUNCS = \
...
+ _ffssi2 \
+ _ffshi2 \
+ _loop_ffsqi2 \
+ _ctzsi2 \
+ _ctzhi2 \
+ _clzdi2 \
+ _clzsi2 \
+ _clz \
+ _paritydi2 \
+ _paritysi2 \
+ _parityhi2 \
+ _popcounthi2 \
+ _popcountsi2 \
+ _popcountdi2 \
+ _popcountqi2 \
+ _bswapsi2 \
+ _bswapdi2
all works fine except that I get warnings from make for hi functions:
(in <build>/avr/ligbcc)
Makefile:375: warning: overriding commands for target `_ffshi2.o'
../../../../gcc.gnu.org/trunk/libgcc/siditi-object.mk:15: warning:
ignoring old commands for target `_ffshi2.o'
Makefile:375: warning: overriding commands for target `_ctzhi2.o'
../../../../gcc.gnu.org/trunk/libgcc/siditi-object.mk:15: warning:
ignoring old commands for target `_ctzhi2.o'
Makefile:375: warning: overriding commands for target `_parityhi2.o'
../../../../gcc.gnu.org/trunk/libgcc/siditi-object.mk:15: warning:
ignoring old commands for target `_parityhi2.o'
Makefile:375: warning: overriding commands for target `_popcounthi2.o'
../../../../gcc.gnu.org/trunk/libgcc/siditi-object.mk:15: warning:
ignoring old commands for target `_popcounthi2.o'
make: `_clzhi2.o' is up to date.
Am I something missing? Adding fragments to LIB1ASMFUNCS should filter
them out in filter-out.
Adding these function to LIB2FUNCS_EXCLUDE does not help; the warnings
persist (I see correct LIB2FUNCS_EXCLUDE in ./gcc/libgcc.mvars).
Setup is with current trunk (175011):
../../gcc.gnu.org/trunk/configure --target=avr
--prefix=/local/gnu/install/gcc-4.7 --disable-nls --disable-shared
--enable-languages=c,c++
Johann