diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-elf/loadaddr2.t')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-elf/loadaddr2.t | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-elf/loadaddr2.t b/binutils-2.21/ld/testsuite/ld-elf/loadaddr2.t new file mode 100644 index 0000000..0ad16df --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-elf/loadaddr2.t @@ -0,0 +1,7 @@ +SECTIONS +{ + .bar -0x7fef0000 : AT ((LOADADDR(.foo) + SIZEOF(.foo) + 4095) & ~(4095)) + { *(.bar) } + . = LOADADDR(.bar) + 0x200000; +} +INSERT BEFORE .data; |