binutils-gdb/ld/testsuite/ld-powerpc/aix-core-sec-2.hd
Joel Brobecker 110a61d342 XCOFF/AIX: Remove SEC_ALLOC flags for unmapped sections.
The .except, .loader and .typchk are not mapped to memory,
so do not set their SEC_ALLOC flag.

bfd/ChangeLog:

        * coffcode.h (styp_to_sec_flags) [RS6000COFF_C]: Add handling
        of STYP_EXCEPT, STYP_LOADER and STYP_TYPCHK sections.

ld/testsuite/ChangeLog:

        * ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.hd,
        ld-powerpc/aix-core-sec-3.hd: Adjust expected section flags
        for section .loader.
2013-05-10 13:08:24 +00:00

12 lines
184 B
Plaintext

#...
Sections:
.*
* 0 * \.text * 0+0 .*
* ALLOC, LOAD, CODE
* 1 * \.data * 0+8 .*
* CONTENTS, ALLOC, LOAD, DATA
* 2 * \.bss * 0+0 .*
* ALLOC
* 3 * \.loader .*
* CONTENTS, LOAD