]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld: Suppress warning for unsupported attribute from older GCC
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 17 Jun 2020 14:53:19 +0000 (07:53 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 17 Jun 2020 14:53:19 +0000 (07:53 -0700)
commit00401e65be3c141e56f0e4dfd3181867fed447ea
treee7de0b16fd96a7e227fa6f95c8ddc99b76776ad1
parent22aa1d51198689f5f3f01a874b405bf4449cbfb0
ld: Suppress warning for unsupported attribute from older GCC

Suppress warning for unsupported attribute from older GCC:

.../ld/testsuite/ld-elf/pr25754-1a.c:9: warning: 'noclone' attribute directive ignored
.../ld/testsuite/ld-elf/pr25754-1a.c:9: warning: 'noclone' attribute directive ignored
ERROR: .../ld/testsuite/ld-elf/pr25754-1a.c: compilation failed
UNRESOLVED: Build pr25754-1a ( )

* testsuite/ld-elf/linux-x86.exp (check_pr25749a): Append "-w"
to cflags.
ld/ChangeLog
ld/testsuite/ld-elf/linux-x86.exp