diff options
author | Alan Modra <amodra@gmail.com> | 2005-08-15 14:08:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-08-15 14:08:58 +0000 |
commit | 8bf3b8c2517cf7cf999b8f0e878882874fc91c26 (patch) | |
tree | e979a249fceb6777ebf80adbb665248165840cca /ld/testsuite/ld-scripts | |
parent | 93165da9a02da6251d87fefc2e79b3348e7dce83 (diff) | |
download | gdb-8bf3b8c2517cf7cf999b8f0e878882874fc91c26.zip gdb-8bf3b8c2517cf7cf999b8f0e878882874fc91c26.tar.gz gdb-8bf3b8c2517cf7cf999b8f0e878882874fc91c26.tar.bz2 |
* ld-elf/empty.s: Define "start".
* ld-elf/merge2.d: xfail arc-*-* and dlx-*-*.
* ld-scripts/empty-aligned.s: No .data section.
* ld-scripts/empty-aligned.t: Discard most sections.
* ld-scripts/empty-aligned.d: Adjust.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r-- | ld/testsuite/ld-scripts/empty-aligned.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/empty-aligned.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/empty-aligned.t | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/ld/testsuite/ld-scripts/empty-aligned.d b/ld/testsuite/ld-scripts/empty-aligned.d index 493a40c..e342f7b 100644 --- a/ld/testsuite/ld-scripts/empty-aligned.d +++ b/ld/testsuite/ld-scripts/empty-aligned.d @@ -9,4 +9,4 @@ Program Headers: Section to Segment mapping: +Segment Sections\.\.\. - +00.*\.text.*\.data.* + +00 +.text diff --git a/ld/testsuite/ld-scripts/empty-aligned.s b/ld/testsuite/ld-scripts/empty-aligned.s index f386e9e..2079aa7 100644 --- a/ld/testsuite/ld-scripts/empty-aligned.s +++ b/ld/testsuite/ld-scripts/empty-aligned.s @@ -1,4 +1,2 @@ .text .long 123 - .data - .long 123 diff --git a/ld/testsuite/ld-scripts/empty-aligned.t b/ld/testsuite/ld-scripts/empty-aligned.t index 4deb240..e59bc20 100644 --- a/ld/testsuite/ld-scripts/empty-aligned.t +++ b/ld/testsuite/ld-scripts/empty-aligned.t @@ -25,6 +25,5 @@ SECTIONS { *(.text4) } - .data : { *(.data) } - .bss : { *(.bss) } + /DISCARD/ : { *(*) } } |