elf: Update GNU_PROPERTY_UINT32_[AND|OR]_XXX tests
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 19 Jun 2021 02:56:47 +0000 (19:56 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 19 Jun 2021 11:41:10 +0000 (04:41 -0700)
commitc30420d82a0b743285cf8333f90ca85274632714
tree17ea35969561e2e6ad8f8a39e4274e12fdcb45ea
parentb5689863bdca11c6c86fe8d02b4f7330804f6883
elf: Update GNU_PROPERTY_UINT32_[AND|OR]_XXX tests

1. Skip am33_2.0-*-* hppa*-*-hpux* mn10300-*-* since assembly source file
for the HPPA assembler is renamed and modifed by sed.  mn10300 has RELA
relocations in .note.gnu.property section which elf_parse_notes doesn't
support.
2. Pass --generate-missing-build-notes=no to assembler.
3. Allow other note sections for xtensa.

* testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
and mn10300.
Pass --generate-missing-build-notes=no to assembler.  Allow
other note sections for xtensa.
* testsuite/ld-elf/property-and-2.d: Likewise.
* testsuite/ld-elf/property-and-3.d: Likewise.
* testsuite/ld-elf/property-and-4.d: Likewise.
* testsuite/ld-elf/property-or-1.d: Likewise.
* testsuite/ld-elf/property-or-2.d: Likewise.
* testsuite/ld-elf/property-or-3.d: Likewise.
* testsuite/ld-elf/property-or-4.d: Likewise.
ld/ChangeLog
ld/testsuite/ld-elf/property-and-1.d
ld/testsuite/ld-elf/property-and-2.d
ld/testsuite/ld-elf/property-and-3.d
ld/testsuite/ld-elf/property-and-4.d
ld/testsuite/ld-elf/property-or-1.d
ld/testsuite/ld-elf/property-or-2.d
ld/testsuite/ld-elf/property-or-3.d
ld/testsuite/ld-elf/property-or-4.d