This patch fixes a problem where weak aliases in the presence of
multiple declarations were output more than once to the assembly
output, which is apparently rejected by the Sun assembler on
sparc-sun-solaris2.10. This is a regression relative to 3.0.x and
earlier.
There are two patches here. The first will be applied to
csl-sol210-3_4-branch after testing on i386-pc-solaris2.10. The
second has been bootstrapped with no regressions on
x86_64-unknown-linux-gnu, and it has been verified manually that the
duplicate alias definitions are no longer present in the .s output.
OK to commit to mainline? OK for 4.0.1?