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