1 2008-01-28 Alan Modra <amodra@bigpond.net.au>
3 * emultempl/spu_ovl.S: Rewrite.
4 * emultempl/spu_ovl.o: Regenerate.
5 * emultempl/spuelf.em (toe): Delete.
6 (spu_place_special_section): Add param to control section placement.
8 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
10 (spu_before_allocation): Adjust spu_elf_size_stubs call.
11 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
13 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
16 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
19 2008-01-25 Alan Modra <amodra@bigpond.net.au>
21 * ld.texinfo (INSERT): Describe.
22 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
23 (INSERT_K, AFTER, BEFORE): Add as tokens.
24 (ifile_p1): Handle INSERT statements.
25 (saved_script_handle, force_make_executable): Move to..
27 (previous_script_handle): New global var.
28 * ldmain.h (saved_script_handle, force_make_executable): Declare.
29 (previous_script_handle): Likewise.
30 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
31 * lexsup.c (parge_args <-T>): Set previous_script_handle.
32 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
33 (map_input_to_output_sections, print_statement): Likewise.
34 (lang_size_sections_1, lang_do_assignments_1): Likewise.
35 (insert_os_after): New function, extracted from..
36 (lang_insert_orphan): ..here.
37 (process_insert_statements): New function.
38 (lang_process): Call it.
39 (lang_add_insert): New function.
40 * ldlang.h (lang_insert_statement_enum): New.
41 (lang_insert_statement_type): New.
42 (lang_statement_union_type): Add insert_statement.
43 (lang_add_insert): Declare.
45 2008-01-18 Bob Wilson <bob.wilson@acm.org>
47 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
50 2008-01-16 Alan Modra <amodra@bigpond.net.au>
52 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
54 2008-01-16 Alan Modra <amodra@bigpond.net.au>
56 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
57 (lang_afile_asection_pair_statement_type): Delete.
58 (lang_statement_union_type): Delete afile_asection_pair_statement.
59 * ldlang.c (lang_insert_orphan): Delete case handling the above.
60 (map_input_to_output_sections, print_statement): Likewise.
62 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
66 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
68 2008-01-15 Alan Modra <amodra@bigpond.net.au>
71 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
72 syms to _bfd_elf_gc_keep.
73 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
74 ppc64_elf_edit_opd if no_opd_opt.
76 2008-01-11 Tristan Gingold <gingold@adacore.com>
77 Eric Botcazou <ebotcazou@adacore.com>
79 * ldlang.c (lang_end): Warns if the entry point is not found when
81 Emit an error if no root is specified when --gc-sections -r.
82 * ld.texinfo (Options): Document that --gc-sections is compatible
84 * ldmain.c (main): Do not error out if -r and --gc-sections.
85 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
87 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
90 * ldlang.c (lang_end): Issue a warning for a missing start symbol
91 of a shared library if the symbol was specified on the command
94 2008-01-10 Alan Modra <amodra@bigpond.net.au>
96 * ld.texinfo (--gc-sections): Describe linker behaviour.
98 For older changes see ChangeLog-2007
104 version-control: never