ELF: test certain .bss usages
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Jan 2024 07:16:30 +0000 (08:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Jan 2024 07:16:30 +0000 (08:16 +0100)
commite2c9acb943f9af1ceb6690264e5a4f3f531c48b6
tree977d05439d04b765314b6360a504e9910fa3f94f
parent8fd892f4dd3c0374582a0b8fd6836ce09529b2b5
ELF: test certain .bss usages

Various targets have / had overrides for .bss. Make sure that in such
cases
- .previous still works correctly (requiring such targets to invoke
  obj_elf_section_change_hook() from their overriding handlers),
- sub-section specifiers are accepted as far as feasible (mandated by
  the doc).
gas/testsuite/gas/elf/bss-prev.d [new file with mode: 0644]
gas/testsuite/gas/elf/bss-prev.s [new file with mode: 0644]
gas/testsuite/gas/elf/bss-subsect.d [new file with mode: 0644]
gas/testsuite/gas/elf/bss-subsect.s [new file with mode: 0644]
gas/testsuite/gas/elf/elf.exp