diff options
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r-- | ld/testsuite/ld-elf/pr26936.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr26936b.s | 16 |
2 files changed, 16 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/pr26936.d b/ld/testsuite/ld-elf/pr26936.d index b007e83..3c854fa 100644 --- a/ld/testsuite/ld-elf/pr26936.d +++ b/ld/testsuite/ld-elf/pr26936.d @@ -1,9 +1,10 @@ #source: pr26936a.s #source: pr26936b.s #source: pr26936c.s -#as: -g +#as: --gen-debug #ld: -z noseparate-code -Ttext-segment 0x10000 -z max-page-size=0x1000 #readelf: -wL +#target: [check_shared_lib_support] #... CU: .*/pr26936c.s: diff --git a/ld/testsuite/ld-elf/pr26936b.s b/ld/testsuite/ld-elf/pr26936b.s index 433528c..6ce9fd0 100644 --- a/ld/testsuite/ld-elf/pr26936b.s +++ b/ld/testsuite/ld-elf/pr26936b.s @@ -1,7 +1,19 @@ .text - .globl _start + .type start,"function" + .global start +start: + .type _start,"function" + .global _start _start: - .type _start, %function + .type __start,"function" + .global __start +__start: + .type main,"function" + .global main +main: + .type _main,"function" + .global _main +_main: .nop .section .text.__x86.get_pc_thunk.bx,"axG",%progbits,__x86.get_pc_thunk.bx,comdat .globl __x86.get_pc_thunk.bx |