OSDN Git Service

bfd/
authorRichard Sandiford <rsandifo@nildram.co.uk>
Sat, 14 Mar 2009 09:35:06 +0000 (09:35 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Sat, 14 Mar 2009 09:35:06 +0000 (09:35 +0000)
commitabb5856b6342884318de5bf2e7541c94b1075fc7
tree3b7c4de95fb2cdeb0b96d84d704b5734c302a18f
parentfce6254b4e6e24e6d2ea62167b6c10ff804ab561
bfd/
* xcofflink.c (xcoff_mark_symbol_by_name): New function.
(bfd_xcoff_size_dynamic_sections): Use it to mark the entry,
init and fini functions.  Do garbage collection for objects
without an entry point too.

ld/testsuite/
* ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex,
ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd,
ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd,
ld-powerpc/aix-weak-1-gcdso.nd: New tests.
* ld-powerpc/aix52.exp: Run them.
bfd/ChangeLog
bfd/xcofflink.c