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.
13 lines
349 B
Plaintext
13 lines
349 B
Plaintext
.*
|
|
|
|
Sections:
|
|
Idx Name * Size * VMA * LMA * File off *Algn
|
|
*0 \.text * 0+00 * 0*10000000 * 0*10000000 * [^ ]+ * 2\*\*2
|
|
*ALLOC, LOAD, CODE
|
|
*1 \.data * 0+18 * 0*10000000 * 0*10000000 * [^ ]+ * 2\*\*3
|
|
*CONTENTS, ALLOC, LOAD, DATA
|
|
# Should only have 3 three common symbols.
|
|
*2 \.bss * 0+0c * 0*10000018 * 0*10000018 * [^ ]+ * 2\*\*3
|
|
*ALLOC
|
|
#pass
|