diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2021-04-23 19:07:59 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2021-04-23 19:13:52 +0200 |
commit | f5e98b7d675230fdfee794afa5ebae1fbc2893a2 (patch) | |
tree | efb4c02527179124846ccd92779ac8d41dd1a1c1 /gas/ChangeLog | |
parent | d039200a7ee8ac170afbdc3b987af553c07fb6a3 (diff) | |
download | gdb-f5e98b7d675230fdfee794afa5ebae1fbc2893a2.zip gdb-f5e98b7d675230fdfee794afa5ebae1fbc2893a2.tar.gz gdb-f5e98b7d675230fdfee794afa5ebae1fbc2893a2.tar.bz2 |
Fix type of .persistent.bss section
The change implementing the .persistent family of sections broke the
existing support for the .persistent.bss section in the compiler:
int a __attribute__ ((section (".persistent.bss")));
t.s: Assembler messages:
t.s:4: Warning: setting incorrect section type for .persistent.bss
The compiler encodes it as @nobits but the assembler expects @progbits.
The assembler is incorrect and should treat the section like the compiler.
bfd/
* elf.c (special_sections_p): Add .persistent.bss.
gas/
* testsuite/gas/elf/section25.d: Run it everywhere.
* testsuite/gas/elf/section26.d: Likewise.
* testsuite/gas/elf/section26.s: Add test for .persistent.bss.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index aedc6ea..696d728 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2021-04-23 Eric Botcazou<ebotcazou@adacore.com> + + * testsuite/gas/elf/section25.d: Run it everywhere. + * testsuite/gas/elf/section26.d: Likewise. + * testsuite/gas/elf/section26.s: Add test for .persistent.bss. + 2021-04-23 Jérôme Gardou <jerome.gardou@gmail.com> * config/obj-coff-seh.c (obj_coff_seh_pushframe): Allow an |