diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-05-10 13:08:24 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-05-10 13:08:24 +0000 |
commit | fb464ccdfd2a0f4d3c66b62ceab2b5a4cbc0cbe3 (patch) | |
tree | a24630025ea3dc55915461f2a3cc53c8f550158e /ld | |
parent | 8a3c1578db45f41d8ca9fd0d3113c4f6be8a6216 (diff) | |
download | binutils-redhat-fb464ccdfd2a0f4d3c66b62ceab2b5a4cbc0cbe3.tar.gz |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/aix-core-sec-1.hd | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/aix-core-sec-2.hd | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/aix-core-sec-3.hd | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a6919e39f8..ad0b0000bf 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-05-10 Joel Brobecker <brobecker@adacore.com> + + * 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-03 Maciej W. Rozycki <macro@codesourcery.com> PR ld/15365 diff --git a/ld/testsuite/ld-powerpc/aix-core-sec-1.hd b/ld/testsuite/ld-powerpc/aix-core-sec-1.hd index 19d09e47ee..8d81e50aa1 100644 --- a/ld/testsuite/ld-powerpc/aix-core-sec-1.hd +++ b/ld/testsuite/ld-powerpc/aix-core-sec-1.hd @@ -8,4 +8,4 @@ Sections: * 2 * \.bss * 0+0 .* * ALLOC * 3 * \.loader .* - * CONTENTS, ALLOC, LOAD + * CONTENTS, LOAD diff --git a/ld/testsuite/ld-powerpc/aix-core-sec-2.hd b/ld/testsuite/ld-powerpc/aix-core-sec-2.hd index 39facd81e0..1152013a46 100644 --- a/ld/testsuite/ld-powerpc/aix-core-sec-2.hd +++ b/ld/testsuite/ld-powerpc/aix-core-sec-2.hd @@ -8,4 +8,4 @@ Sections: * 2 * \.bss * 0+0 .* * ALLOC * 3 * \.loader .* - * CONTENTS, ALLOC, LOAD + * CONTENTS, LOAD diff --git a/ld/testsuite/ld-powerpc/aix-core-sec-3.hd b/ld/testsuite/ld-powerpc/aix-core-sec-3.hd index f7acc39ec7..61a93ae7f6 100644 --- a/ld/testsuite/ld-powerpc/aix-core-sec-3.hd +++ b/ld/testsuite/ld-powerpc/aix-core-sec-3.hd @@ -8,4 +8,4 @@ Sections: * 2 * \.bss * 0+8 .* * ALLOC * 3 * \.loader .* - * CONTENTS, ALLOC, LOAD + * CONTENTS, LOAD |