SHF_GNU_MBIND requires ELFOSABI_GNU
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 47938f7b8cdc54f34bb7b34d66a1c560750768b4..19ca4644061c2d1fe1612a33ccf4299d9339d247 100644 (file)
@@ -1,3 +1,18 @@
+2019-07-23  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (obj_elf_change_section): Don't emit a fatal
+       error for non-SHF_ALLOC SHF_GNU_MBIND here.
+       (obj_elf_parse_section_letters): Return SHF_GNU_MBIND in new
+       gnu_attr param.
+       (obj_elf_section): Adjust obj_elf_parse_section_letters call.
+       Formatting.  Set SHF_GNU_MBIND and elf_osabi from gnu_attr.
+       Emit normal error for non-SHF_ALLOC SHF_GNU_MBIND and wrong osabi.
+       (obj_elf_type): Set elf_osabi for ifunc.
+       * testsuite/gas/elf/section12a.d: xfail msp430 and hpux.
+       * testsuite/gas/elf/section12b.d: Likewise.
+       * testsuite/gas/elf/section13.d: Likewise.
+       * testsuite/gas/elf/section13.l: Adjust expected error.
+
 2019-07-23  Alan Modra  <amodra@gmail.com>
 
        * testsuite/gas/elf/section12a.d: Don't skip for rx.
This page took 0.025914 seconds and 4 git commands to generate.