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