bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 14 Mar 2009 09:35:06 +0000 (09:35 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sat, 14 Mar 2009 09:35:06 +0000 (09:35 +0000)
commit7d504122ef2032b3e0d6973a4f4f138481c4b5c2
treedfa07a68fffdd8cf41538e97576ee2a34f8b7c31
parent8602d4fea60dda606ad5e5e01e27f8f841120e15
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
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/aix-gc-1-32.dd [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-gc-1-64.dd [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-gc-1.ex [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-gc-1.s [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-weak-1-gcdso.dnd [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-weak-1-gcdso.hd [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-weak-1-gcdso.nd [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix52.exp