diff options
Diffstat (limited to 'ld/testsuite/ld-i386/pr12627.t')
-rw-r--r-- | ld/testsuite/ld-i386/pr12627.t | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr12627.t b/ld/testsuite/ld-i386/pr12627.t new file mode 100644 index 0000000..d824920 --- /dev/null +++ b/ld/testsuite/ld-i386/pr12627.t @@ -0,0 +1,27 @@ +OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") +OUTPUT_ARCH(i386) +EXTERN(_start) +ENTRY(_start) + +SECTIONS +{ + . = 0x1000; + + .bss16 (NOLOAD) : { + __bss16_start = .; + *(.bss16) + __bss16_end = .; + } + __bss16_len = __bss16_end - __bss16_start; + __bss16_dwords = (__bss16_len + 3) >> 2; + + . = 0x8000; + + .text16 : { + FILL(0x90909090) + __text16_start = .; + *(.text16) + *(.text16.*) + __text16_end = .; + } +} |