aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/header.s
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-01-11 12:23:53 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-01-11 12:23:53 +0000
commit59e0647f0d3c0176557aef0f0d6fc14ee44a0b2a (patch)
tree24b862907e031ac594072b2dea3a720d1f0dfb38 /ld/testsuite/ld-elf/header.s
parente2204714e24debd8c495122615ea1582724db750 (diff)
downloadgdb-59e0647f0d3c0176557aef0f0d6fc14ee44a0b2a.zip
gdb-59e0647f0d3c0176557aef0f0d6fc14ee44a0b2a.tar.gz
gdb-59e0647f0d3c0176557aef0f0d6fc14ee44a0b2a.tar.bz2
bfd/
* elf.c (assign_file_positions_for_load_sections): We can require fewer phdrs than expected. ld/ * emultempl/elf-generic.em (gdl_map_segments): Only allow header shrinkage for the first few iterations. ld/testsuite/ * ld-elf/header.d: New. * ld-elf/header.t: New. * ld-elf/header.s: New.
Diffstat (limited to 'ld/testsuite/ld-elf/header.s')
-rw-r--r--ld/testsuite/ld-elf/header.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/header.s b/ld/testsuite/ld-elf/header.s
new file mode 100644
index 0000000..c47d3f1
--- /dev/null
+++ b/ld/testsuite/ld-elf/header.s
@@ -0,0 +1,8 @@
+ .text
+ .globl main
+main:
+ .rept 0x4000 - 0x15
+ .long 0xfedcba98
+ .endr
+ .data
+ .long 0x76543210