mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
ld: Compile 2 CTF tests with -O2
When GCC 12 is used to build binutils with -O0, the following 2 tests failed: FAIL: Conflicted data syms, partially indexed, stripped, with variables FAIL: Conflicted data syms, partially indexed, stripped Compile 2 tests with -O2 to avoid test failures. PR ld/29378 * testsuite/ld-ctf/data-func-conflicted-vars.d: Compile with -O2. * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
This commit is contained in:
@ -1,4 +1,5 @@
|
|||||||
#as:
|
#as:
|
||||||
|
#cc: -O2
|
||||||
#source: data-func-1.c
|
#source: data-func-1.c
|
||||||
#source: data-func-2.c
|
#source: data-func-2.c
|
||||||
#objdump: --ctf
|
#objdump: --ctf
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#as:
|
#as:
|
||||||
|
#cc: -O2
|
||||||
#source: data-func-1.c
|
#source: data-func-1.c
|
||||||
#source: data-func-2.c
|
#source: data-func-2.c
|
||||||
#objdump: --ctf
|
#objdump: --ctf
|
||||||
|
Reference in New Issue
Block a user