mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
7d504122ef
* 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.
18 lines
513 B
Plaintext
18 lines
513 B
Plaintext
# Comments are (aix-weak-1a.s type) wins over/loses to (aix-weak-1b.s type)
|
|
# (strong common) loses to (strong data)
|
|
0*1000000c D a
|
|
# (strong common) wins over (weak data)
|
|
0*10000018 B b
|
|
# (strong data) wins over (strong common)
|
|
0*10000000 D c
|
|
# (weak data) loses to (strong common)
|
|
0*10000020 B d
|
|
# (weak common) loses to (strong data)
|
|
0*10000010 D e
|
|
# (weak common) wins over (weak data)
|
|
0*1000001c W f
|
|
# (strong data) wins over (weak common)
|
|
0*10000004 D g
|
|
# (weak data) wins over (weak common)
|
|
0*10000008 W h
|