diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2008-04-28 12:45:34 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2008-04-28 12:45:34 +0000 |
commit | a2cab75396adb33c5e660c37048151fb6732a040 (patch) | |
tree | 30ff0b918fc0e2f7bde0dc9671d5948bf7605ff7 /ld/testsuite/ld-scripts/rgn-over8-ok.d | |
parent | 417ed8af836c10ff5c0cbcdc4c011f5024a7269b (diff) | |
download | gdb-a2cab75396adb33c5e660c37048151fb6732a040.zip gdb-a2cab75396adb33c5e660c37048151fb6732a040.tar.gz gdb-a2cab75396adb33c5e660c37048151fb6732a040.tar.bz2 |
ld/
* ldlang.c (lang_size_sections_1): Don't check LMA overflow on
non-load sections.
ld/testsuite/
* ld-scripts/rgn-over.exp: Allow -ok file names to pass.
* ld-scripts/rgn-over8.s: New.
* ld-scripts/rgn-over8.t: New.
* ld-scripts/rgn-over8-ok.d: New.
Diffstat (limited to 'ld/testsuite/ld-scripts/rgn-over8-ok.d')
-rw-r--r-- | ld/testsuite/ld-scripts/rgn-over8-ok.d | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-over8-ok.d b/ld/testsuite/ld-scripts/rgn-over8-ok.d new file mode 100644 index 0000000..dda54aa --- /dev/null +++ b/ld/testsuite/ld-scripts/rgn-over8-ok.d @@ -0,0 +1,12 @@ +# name: rgn-over8 +# source: rgn-over8.s +# ld: -T rgn-over8.t +# objdump: -w -h + +.*: file format .* + +Sections: +Idx +Name +Size +VMA +LMA +File off +Algn +Flags + 0 .text 0+0000400 0+0000000 0+0000000 [0-9a-f]+ 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE + 1 .data 0+0000400 0+0001000 0+0000400 [0-9a-f]+ 2\*\*0 CONTENTS, ALLOC, LOAD, DATA + 2 .bss 0+0000400 0+0001400 0+0000800 [0-9a-f]+ 2\*\*0 ALLOC |