* mklibgcc.in: Don't hide undefined or typeless symbols.
From-SVN: r72235
This commit is contained in:
parent
9ab81df261
commit
63cdad1bb3
@ -1,3 +1,7 @@
|
||||
2003-10-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* mklibgcc.in: Don't hide undefined or typeless symbols.
|
||||
|
||||
2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR optimization/12142
|
||||
|
@ -347,7 +347,9 @@ EOF
|
||||
# .oS objects will have all non-local symbol definitions .hidden
|
||||
oS=`echo ${o} | sed s~${objext}'$~.oS~g'`
|
||||
echo "${oS}: stmp-dirs libgcc/${dir}/stacknote.s ${o}"
|
||||
echo ' ( $(NM_FOR_TARGET) '${SHLIB_NM_FLAGS} ${o}' | $(AWK) '\''NF == 3 { print "\t.hidden", $$3 }'\''; cat libgcc/${dir}/stacknote.s ) | $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) '${flags}' -r -nostdinc -nostdlib -o $@ '${o}' -xassembler -'
|
||||
# non-GNU nm emits three fields even for undefined and typeless symbols,
|
||||
# so explicitly omit them
|
||||
echo ' ( $(NM_FOR_TARGET) '${SHLIB_NM_FLAGS} ${o}' | $(AWK) '\''NF == 3 && $$2 !~ /^[UN]$$/ { print "\t.hidden", $$3 }'\''; cat libgcc/${dir}/stacknote.s ) | $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) '${flags}' -r -nostdinc -nostdlib -o $@ '${o}' -xassembler -'
|
||||
libgcc_a_objs="${libgcc_a_objs} ${oS}"
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user