Fix linker tests to compile with gcc-12.
authorNick Clifton <nickc@redhat.com>
Tue, 1 Mar 2022 10:10:20 +0000 (10:10 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 1 Mar 2022 10:10:20 +0000 (10:10 +0000)
commit95e96e052ab2d7781a9dc7267123f49c7b1dd671
tree783ea4bb271b4954103605905c4e1147c048f8ef
parent81c9e0f6c48748f4b66fc3b13e12eb68735cf1f9
Fix linker tests to compile with gcc-12.

PR 21964
* testsuite/ld-elf/pr21964-1a.c: Fix array comparisons.
* testsuite/ld-elf/pr21964-1b.c: Likewise.
* testsuite/ld-elf/pr21964-1c.c: Likewise.
* testsuite/ld-elf/pr21964-2a.c: Likewise.
* testsuite/ld-elf/pr21964-2b.c: Likewise.
* testsuite/ld-elf/pr21964-3a.c: Likewise.
ld/ChangeLog
ld/testsuite/ld-elf/pr21964-1a.c
ld/testsuite/ld-elf/pr21964-1b.c
ld/testsuite/ld-elf/pr21964-1c.c
ld/testsuite/ld-elf/pr21964-2a.c
ld/testsuite/ld-elf/pr21964-2b.c
ld/testsuite/ld-elf/pr21964-3a.c