diff options
Diffstat (limited to 'test/ELF/ttext-tdata-tbss.s')
-rw-r--r-- | test/ELF/ttext-tdata-tbss.s | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/ELF/ttext-tdata-tbss.s b/test/ELF/ttext-tdata-tbss.s index c31c56e75692..a52d88b49572 100644 --- a/test/ELF/ttext-tdata-tbss.s +++ b/test/ELF/ttext-tdata-tbss.s @@ -9,7 +9,8 @@ # CHECK-NEXT: .aw PROGBITS 0000000000202000 002000 000008 # CHECK-NEXT: .data PROGBITS 0000000000202008 002008 000008 # CHECK-NEXT: .bss NOBITS 0000000000202010 002010 000008 -# CHECK: PHDR +# CHECK: Type +# CHECK-NEXT: PHDR # CHECK-NEXT: LOAD 0x000000 0x0000000000200000 ## With .text at 0 there is no space to allocate the headers. @@ -20,7 +21,7 @@ # USER1-NEXT: .bss NOBITS 0000000000008000 002008 000008 # USER1-NEXT: .rodata PROGBITS 0000000000009000 003000 000008 # USER1-NEXT: .aw PROGBITS 000000000000a000 004000 000008 -# USER1: PHDR +# USER1: Type # USER1-NEXT: LOAD 0x001000 0x0000000000000000 ## With .text at 0x1000 there is space to allocate the headers. @@ -31,7 +32,8 @@ # USER2-NEXT: .bss NOBITS 0000000000008000 002008 000008 # USER2-NEXT: .rodata PROGBITS 0000000000009000 003000 000008 # USER2-NEXT: .aw PROGBITS 000000000000a000 004000 000008 -# USER2: PHDR +# USER2: Type +# USER2-NEXT: PHDR # USER2-NEXT: LOAD 0x000000 0x0000000000000000 ## With .text well above 200000 we don't need to change the image base @@ -42,7 +44,8 @@ # USER3-NEX: .aw PROGBITS 0000000000203000 003000 000008 # USER3-NEX: .data PROGBITS 0000000000203008 003008 000008 # USER3-NEX: .bss NOBITS 0000000000203010 003010 000008 -# USER3: PHDR +# USER3: Type +# USER3-NEXT: PHDR # USER3-NEXT: LOAD 0x000000 0x0000000000200000 .text |