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 | 110a61d34220d41ade91b5e5159606588482d634 (patch) | |
tree | c0ec63fb1fbc408e4bfea25a2b6efbebb6ceece1 /ld | |
parent | 060cfbef397769f935df461cb90d237c0783045a (diff) | |
download | gdb-110a61d34220d41ade91b5e5159606588482d634.zip gdb-110a61d34220d41ade91b5e5159606588482d634.tar.gz gdb-110a61d34220d41ade91b5e5159606588482d634.tar.bz2 |
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 a6919e3..ad0b000 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 19d09e4..8d81e50 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 39facd8..1152013 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 f7acc39..61a93ae 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 |