diff options
author | Nick Clifton <nickc@redhat.com> | 2020-10-05 10:40:07 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-10-05 10:40:07 +0100 |
commit | b71702f1c01052b70b4fd8157982eadc2132fc24 (patch) | |
tree | 55fbf234a5e3fc887375ce3c3bcec983dce38417 /binutils/windmc.c | |
parent | 1ba0655539bcbde49171691582d5e804c3e4f975 (diff) | |
download | binutils-b71702f1c01052b70b4fd8157982eadc2132fc24.zip binutils-b71702f1c01052b70b4fd8157982eadc2132fc24.tar.gz binutils-b71702f1c01052b70b4fd8157982eadc2132fc24.tar.bz2 |
GAS: Update the .section directive so that a numeric section index can be provided when the "o" flag is used.
PR 26253
gas * config/obj-elf.c (obj_elf_section): Accept a numeric value for
the "o" section flag. Interpret it as a section index. Allow an
index of zero.
* doc/as.texi: Document the new behaviour.
* NEWS: Mention the new feature. Tidy entries.
* testsuite/gas/elf/sh-link-zero.s: New test.
* testsuite/gas/elf/sh-link-zero.d: New test driver.
* testsuite/gas/elf/elf.exp: Run the new test.
* testsuite/gas/elf/section21.l: Updated expected assembler
output.
bfd * elf.c (_bfd_elf_setup_sections): Do not complain about an
sh_link value of zero when the SLF_LINK_ORDER flag is set.
(assign_section_numbers): Likewise.
Diffstat (limited to 'binutils/windmc.c')
0 files changed, 0 insertions, 0 deletions