diff options
Diffstat (limited to 'test/ELF/startstop.s')
| -rw-r--r-- | test/ELF/startstop.s | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/test/ELF/startstop.s b/test/ELF/startstop.s index d0e88df4e7eb..a7b2e43e6a5f 100644 --- a/test/ELF/startstop.s +++ b/test/ELF/startstop.s @@ -20,7 +20,13 @@ // DISASM: 1014: 90 nop -// SYMBOL: Relocations [ +// SYMBOL: Relocations [ +// SYMBOL-NEXT: Section ({{.*}}) .rela.dyn { +// SYMBOL-NEXT: 0x3000 R_X86_64_RELATIVE - 0x3020 +// SYMBOL-NEXT: 0x3008 R_X86_64_RELATIVE - 0x3021 +// SYMBOL-NEXT: 0x3010 R_X86_64_RELATIVE - 0x3010 +// SYMBOL-NEXT: 0x3018 R_X86_64_RELATIVE - 0x3011 +// SYMBOL-NEXT: } // SYMBOL-NEXT: ] // SYMBOL: Symbol { @@ -59,3 +65,11 @@ _start: nop nop nop + +.section zed1, "aw" + .quad __stop_zed2 + .quad __stop_zed2 + 1 + +.section zed2, "aw" + .quad __stop_zed1 + .quad __stop_zed1 + 1 |
