Commit c0f08649 by Jakub Jelinek Committed by Jakub Jelinek

* mklibgcc.in: Don't use GNU make extension.

From-SVN: r50156
parent f79f2651
2002-02-28 Jakub Jelinek <jakub@redhat.com>
* mklibgcc.in: Don't use GNU make extension.
2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
* c-parse.in (STATIC): New terminal. * c-parse.in (STATIC): New terminal.
......
...@@ -273,15 +273,15 @@ for ml in $MULTILIBS; do ...@@ -273,15 +273,15 @@ for ml in $MULTILIBS; do
libgcc_a_objs="$libgcc_objs $libgcc_st_objs" libgcc_a_objs="$libgcc_objs $libgcc_st_objs"
if [ "@libgcc_visibility@" = yes ]; then if [ "@libgcc_visibility@" = yes ]; then
libgcc_a_objs=`echo "${libgcc_a_objs} " | sed s~${objext}' ~.oS ~g'` libgcc_a_objs=
# .oS objects will have all non-local symbol definitions .hidden
echo "" echo ""
echo "$libgcc_a_objs: libgcc/${dir}/%.oS: libgcc/${dir}/%${objext}" for o in $libgcc_objs $libgcc_st_objs; do
echo " @\$(NM_FOR_TARGET) $SHLIB_NM_FLAGS \$^" \\ # .oS objects will have all non-local symbol definitions .hidden
echo " | \$(AWK) 'NF == 3 { print \".hidden\", \$\$3 }'" \\ oS=`echo ${o} | sed s~${objext}'$~.oS~g'`
echo ' | $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -Wl,-r -nostdinc' \\ echo "${oS}: stmp-dirs ${o}"
echo ' -nostdlib -o $@ $^ -xassembler -' echo ' @$(NM_FOR_TARGET) '${SHLIB_NM_FLAGS} ${o}' | $(AWK) '\''NF == 3 { print ".hidden", $$3 }'\'' | $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -r -nostdinc -nostdlib -o $@ '${o}' -xassembler -'
libgcc_a_objs="${libgcc_a_objs} ${oS}"
done
fi fi
echo "" echo ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment