summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-spu/ovl.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-01-25 12:03:37 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-01-25 12:03:37 +0000
commit6b939cf2e87b82f29d1a673c3bddcfea4e9bb4ce (patch)
tree3bb23f4e0188149392a27446bb3bea16a26513aa /ld/testsuite/ld-spu/ovl.d
parent8893dcfb13da381bb046ef016098300c07eb51f0 (diff)
downloadbinutils-redhat-6b939cf2e87b82f29d1a673c3bddcfea4e9bb4ce.tar.gz
ld/
* ld.texinfo (INSERT): Describe. * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete. (INSERT_K, AFTER, BEFORE): Add as tokens. (ifile_p1): Handle INSERT statements. (saved_script_handle, force_make_executable): Move to.. * ldmain.c: ..here. (previous_script_handle): New global var. * ldmain.h (saved_script_handle, force_make_executable): Declare. (previous_script_handle): Likewise. * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens. * lexsup.c (parge_args <-T>): Set previous_script_handle. * ldlang.c (lang_for_each_statement_worker): Handle insert statement. (map_input_to_output_sections, print_statement): Likewise. (lang_size_sections_1, lang_do_assignments_1): Likewise. (insert_os_after): New function, extracted from.. (lang_insert_orphan): ..here. (process_insert_statements): New function. (lang_process): Call it. (lang_add_insert): New function. * ldlang.h (lang_insert_statement_enum): New. (lang_insert_statement_type): New. (lang_statement_union_type): Add insert_statement. (lang_add_insert): Declare. ld/testsuite/ * ld-spu/ovl.lnk: Delete overlay. * ld-spu/ovl1.lnk: New file. * ld-spu/ovl2.lnk: New file. * ld-spu/ovl.d: Update. * ld-spu/ovl2.d: Update.
Diffstat (limited to 'ld/testsuite/ld-spu/ovl.d')
-rw-r--r--ld/testsuite/ld-spu/ovl.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-spu/ovl.d b/ld/testsuite/ld-spu/ovl.d
index 0f3deb20af..c6246594ba 100644
--- a/ld/testsuite/ld-spu/ovl.d
+++ b/ld/testsuite/ld-spu/ovl.d
@@ -1,5 +1,5 @@
#source: ovl.s
-#ld: -N -T ovl.lnk --emit-relocs
+#ld: -N -T ovl1.lnk -T ovl.lnk --emit-relocs
#objdump: -D -r
.*elf32-spu