Skip to content

Commit 9699b57

Browse files
committed
Update tests to match new functionality
The way sections are searched for symbols to print for address reolution was changed in this patch causing these tests to fail. This commit updates the expected output of the tests to match the new functionality.
1 parent d1be8f7 commit 9699b57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lld/test/ELF/aarch64-feature-pauth.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@
6666
# PACPLT: Disassembly of section .plt:
6767
# PACPLT: <.plt>:
6868
# PACPLT-NEXT: stp x16, x30, [sp, #-0x10]!
69-
# PACPLT-NEXT: adrp x16, 0x30000 <func3+0x30000>
69+
# PACPLT-NEXT: adrp x16, 0x30000 <_DYNAMIC+0xfc68>
7070
# PACPLT-NEXT: ldr x17, [x16, #0x[[B]]]
7171
# PACPLT-NEXT: add x16, x16, #0x[[B]]
7272
# PACPLT-NEXT: br x17
7373
# PACPLT-NEXT: nop
7474
# PACPLT-NEXT: nop
7575
# PACPLT-NEXT: nop
7676
# PACPLT: <func3@plt>:
77-
# PACPLT-NEXT: adrp x16, 0x30000 <func3+0x30000>
77+
# PACPLT-NEXT: adrp x16, 0x30000 <_DYNAMIC+0xfc68>
7878
# PACPLT-NEXT: ldr x17, [x16, #0x[[C]]]
7979
# PACPLT-NEXT: add x16, x16, #0x[[C]]
8080
# NOHINT-NEXT: braa x17, x16

lld/test/ELF/loongarch-relax-call36.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
# RELAX-NEXT: nop
2626
# RELAX-NEXT: nop
2727
## offset = .plt(0x10400)+32 - 0x10010 = 1040
28-
# RELAX-NEXT: 10010: bl 1040 <bar+0x10420>
29-
# RELAX-NEXT: b 1036 <bar+0x10420>
28+
# RELAX-NEXT: 10010: bl 1040 <_start_end+0x404>
29+
# RELAX-NEXT: b 1036 <_start_end+0x404>
3030
# RELAX-EMPTY:
3131
# RELAX-NEXT: <a>:
3232
# RELAX-NEXT: 10018: ret

0 commit comments

Comments
 (0)