diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-08-23 14:45:30 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-08-23 14:45:30 +0000 |
commit | 3085c3308ff35e7003722800736bafc85b648ec4 (patch) | |
tree | 821abd32fa7c1ce0554a9f6bee58ccb5653f8037 /ld/testsuite | |
parent | 20acfda2ef2e5a7e5d168ae4749170d64552e9f0 (diff) | |
download | gdb-3085c3308ff35e7003722800736bafc85b648ec4.zip gdb-3085c3308ff35e7003722800736bafc85b648ec4.tar.gz gdb-3085c3308ff35e7003722800736bafc85b648ec4.tar.bz2 |
2006-08-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3052
* ld-elf/loadaddr1.t: Add "AT (ADDR(.data))".
* ld-elf/loadaddr2.t: Likewise.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/loadaddr1.t | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/loadaddr2.t | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index cc2819a..d3cd2d2 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> + PR ld/3052 + * ld-elf/loadaddr1.t: Add "AT (ADDR(.data))". + * ld-elf/loadaddr2.t: Likewise. + +2006-08-23 H.J. Lu <hongjiu.lu@intel.com> + PR ld/3103 * ld-elf/overlay.d: New file. * ld-elf/overlay.s: Likewise. diff --git a/ld/testsuite/ld-elf/loadaddr1.t b/ld/testsuite/ld-elf/loadaddr1.t index c4b5d90..f28c7cb 100644 --- a/ld/testsuite/ld-elf/loadaddr1.t +++ b/ld/testsuite/ld-elf/loadaddr1.t @@ -8,6 +8,6 @@ SECTIONS { *(.bar) } . = LOADADDR(.bar) + 4096; . = ALIGN(8192); - .data : { *(.data) } + .data : AT (ADDR(.data)) { *(.data) } /DISCARD/ : { *(.*) } } diff --git a/ld/testsuite/ld-elf/loadaddr2.t b/ld/testsuite/ld-elf/loadaddr2.t index 71a1a6b..fd897e7 100644 --- a/ld/testsuite/ld-elf/loadaddr2.t +++ b/ld/testsuite/ld-elf/loadaddr2.t @@ -8,6 +8,6 @@ SECTIONS { *(.bar) } . = LOADADDR(.bar) + 0x200000; . = ALIGN(8192); - .data : { *(.data) } + .data : AT (ADDR(.data)) { *(.data) } /DISCARD/ : { *(.*) } } |