diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-09-21 03:44:22 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-09-21 05:03:18 +0800 |
commit | ae6a4c3f1d5caeba962d2c1748a8d2b3bebb1007 (patch) | |
tree | 5d144c068ac0d40a35e4657fd22163a5b23434f4 /gdb/python/py-cmd.c | |
parent | 59d41830a3dae0120e0d223f91241ad40e7ca737 (diff) | |
download | binutils-ae6a4c3f1d5caeba962d2c1748a8d2b3bebb1007.zip binutils-ae6a4c3f1d5caeba962d2c1748a8d2b3bebb1007.tar.gz binutils-ae6a4c3f1d5caeba962d2c1748a8d2b3bebb1007.tar.bz2 |
ld: Use --no-rosegment to ld for PR ld/22393 tests
The commit
bf6d7087de0 ld: Move the .note.build-id section to near the start of the memory map
moves the .note.build-id section before text sections. When --rosegment
and -z separate-code are used together, the .note.gnu.property section
is placed between the .note.build-id section and text sections in the
same PT_LOAD segment by orphan placement. Pass --no-rosegment to ld for
PR ld/22393 tests to avoid linker test failures.
PR ld/32190
* testsuite/ld-elf/pr22393-2a.rd: Pass --no-rosegment to ld.
* testsuite/ld-elf/pr22393-2b.rd: Likewise.
* testsuite/ld-elf/shared.exp: Pass --no-rosegment to ld when
building pr22393-2 tests.
* testsuite/ld-x86-64/pr22393-3a.rd: Pass --no-rosegment to ld.
* testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Pass --no-rosegment to ld when
building pr22393-3 tests.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/python/py-cmd.c')
0 files changed, 0 insertions, 0 deletions