diff options
author | Alan Modra <amodra@gmail.com> | 2022-02-05 20:06:52 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-02-07 13:42:41 +1030 |
commit | 6a9d08661b361e497baa76dd6d8685f2cb593adb (patch) | |
tree | 94483fd58d6262edc6d61f7da0c165843af80f4c /ld/testsuite/ld-x86-64/pr20830a.d | |
parent | 5197c88e2a8a17f7a67ce683df068b5bdf619427 (diff) | |
download | gdb-6a9d08661b361e497baa76dd6d8685f2cb593adb.zip gdb-6a9d08661b361e497baa76dd6d8685f2cb593adb.tar.gz gdb-6a9d08661b361e497baa76dd6d8685f2cb593adb.tar.bz2 |
Revert "elf: Remove the 1-page gap before the RELRO segment"
This reverts commit 2f83249c13d86065b4c7cdb198ea871017b4bba1.
PR ld/28743
* ldlang.c (lang_size_relro_segment_1): Revert 2022-01-10 changes.
* testsuite/ld-i386/pr20830.d: Likewise.
* testsuite/ld-s390/gotreloc_64-relro-1.dd: Likewise.
* testsuite/ld-x86-64/pr14207.d: Likewise.
* testsuite/ld-x86-64/pr18176.d: Likewise.
* testsuite/ld-x86-64/pr20830a-now.d: Likewise.
* testsuite/ld-x86-64/pr20830a.d: Likewise.
* testsuite/ld-x86-64/pr20830b-now.d: Likewise.
* testsuite/ld-x86-64/pr20830b.d: Likewise.
* testsuite/ld-x86-64/pr21038a-now.d: Likewise.
* testsuite/ld-x86-64/pr21038a.d: Likewise.
* testsuite/ld-x86-64/pr21038b-now.d: Likewise.
* testsuite/ld-x86-64/pr21038c-now.d: Likewise.
* testsuite/ld-x86-64/pr21038c.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr20830a.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr20830a.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-x86-64/pr20830a.d b/ld/testsuite/ld-x86-64/pr20830a.d index c80083a..4ea0596 100644 --- a/ld/testsuite/ld-x86-64/pr20830a.d +++ b/ld/testsuite/ld-x86-64/pr20830a.d @@ -57,12 +57,12 @@ Disassembly of section .plt: Disassembly of section .plt.got: 0+1c0 <func@plt>: - +[a-f0-9]+: ff 25 72 01 20 00 jmp \*0x200172\(%rip\) # 200338 <func> + +[a-f0-9]+: ff 25 32 0e 20 00 jmp \*0x200e32\(%rip\) # 200ff8 <func> +[a-f0-9]+: 66 90 xchg %ax,%ax Disassembly of section .text: 0+1c8 <foo>: +[a-f0-9]+: e8 f3 ff ff ff call 1c0 <func@plt> - +[a-f0-9]+: 48 8b 05 64 01 20 00 mov 0x200164\(%rip\),%rax # 200338 <func> + +[a-f0-9]+: 48 8b 05 24 0e 20 00 mov 0x200e24\(%rip\),%rax # 200ff8 <func> #pass |