diff options
author | Alan Modra <amodra@gmail.com> | 2008-05-05 01:43:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-05-05 01:43:55 +0000 |
commit | 6766b6945a6f1948c75309cc69ccf9dea9cdc684 (patch) | |
tree | b5077b6674fbedc70f26f838c94309eed056e162 /ld | |
parent | f2a4fb999aa11a4f93d3e6b8d44246328b0f466e (diff) | |
download | gdb-6766b6945a6f1948c75309cc69ccf9dea9cdc684.zip gdb-6766b6945a6f1948c75309cc69ccf9dea9cdc684.tar.gz gdb-6766b6945a6f1948c75309cc69ccf9dea9cdc684.tar.bz2 |
PR 6473
* ld-elf/lma.s, ld-elf/lma.lnk: New test.
* ld-elf/binutils.exp: Run it.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/lma.lnk | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/lma.s | 4 |
3 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 0becf14..ddbd75d 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-05-05 Alan Modra <amodra@bigpond.net.au> + + PR 6473 + * ld-elf/lma.s, ld-elf/lma.lnk: New test. + * ld-elf/binutils.exp: Run it. + 2008-05-03 Mike Frysinger <vapier@gentoo.org> * ld-scripts/defined.s: Use .set syntax rather than =. diff --git a/ld/testsuite/ld-elf/lma.lnk b/ld/testsuite/ld-elf/lma.lnk new file mode 100644 index 0000000..7aac6d0 --- /dev/null +++ b/ld/testsuite/ld-elf/lma.lnk @@ -0,0 +1,6 @@ +SECTIONS +{ + . = -0x100000; + .text : AT(ADDR(.text) + 0x100000) { *(.text) } + /DISCARD/ : { *(*) } +} diff --git a/ld/testsuite/ld-elf/lma.s b/ld/testsuite/ld-elf/lma.s new file mode 100644 index 0000000..039d26b --- /dev/null +++ b/ld/testsuite/ld-elf/lma.s @@ -0,0 +1,4 @@ + .text + .global _start +_start: + .long 0 |