diff options
Diffstat (limited to 'test/ELF/emit-relocs.s')
-rw-r--r-- | test/ELF/emit-relocs.s | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/ELF/emit-relocs.s b/test/ELF/emit-relocs.s index fd9722f13ab05..95e70d80acf55 100644 --- a/test/ELF/emit-relocs.s +++ b/test/ELF/emit-relocs.s @@ -64,6 +64,15 @@ # CHECK-NEXT: Section: .text # CHECK-NEXT: } # CHECK-NEXT: Symbol { +# CHECK-NEXT: Name: +# CHECK-NEXT: Value: 0x0 +# CHECK-NEXT: Size: 0 +# CHECK-NEXT: Binding: Local +# CHECK-NEXT: Type: Section +# CHECK-NEXT: Other: 0 +# CHECK-NEXT: Section: .comment +# CHECK-NEXT: } +# CHECK-NEXT: Symbol { # CHECK-NEXT: Name: fn # CHECK-NEXT: Value: 0x201000 # CHECK-NEXT: Size: 0 @@ -83,7 +92,7 @@ # CHECK-NEXT: } # CHECK-NEXT: ] -.section .text,"ax",@progbits,unique,0 +.section .text.fn,"ax",@progbits,unique,0 .globl fn .type fn,@function fn: @@ -94,7 +103,7 @@ bar: callq fn@PLT nop -.section .text,"ax",@progbits,unique,1 +.section .text.fn2,"ax",@progbits,unique,1 .globl fn2 .type fn2,@function fn2: |