* config.bfd (x86_64-*-solaris2): Add support for this target.
[binutils-gdb.git] / ld / ChangeLog
1 2008-01-28 Fabian Groffen <grobian@gentoo.org>
2
3 * configure.tgt (x86_64-*-solaris2): Add support for this target.
4
5 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
6
7 PR ld/5652
8 * genscripts.sh: Check for the existence of BASH_LINENO not just
9 the BASH shell before generating line numbers in the emulation
10 file.
11
12 2008-01-28 Alan Modra <amodra@bigpond.net.au>
13
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.
18 Adjust callers.
19 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
20 changes.
21 (spu_before_allocation): Adjust spu_elf_size_stubs call.
22 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
23
24 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR ld/5670
27 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
28 warning.
29
30 2008-01-25 Alan Modra <amodra@bigpond.net.au>
31
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..
37 * ldmain.c: ..here.
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.
55
56 2008-01-18 Bob Wilson <bob.wilson@acm.org>
57
58 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
59 changes from elf.sc.
60
61 2008-01-16 Alan Modra <amodra@bigpond.net.au>
62
63 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
64
65 2008-01-16 Alan Modra <amodra@bigpond.net.au>
66
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.
72
73 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
74
75 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
76 with __data_start.
77 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
78
79 2008-01-15 Alan Modra <amodra@bigpond.net.au>
80
81 PR 5604
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.
86
87 2008-01-11 Tristan Gingold <gingold@adacore.com>
88 Eric Botcazou <ebotcazou@adacore.com>
89
90 * ldlang.c (lang_end): Warns if the entry point is not found when
91 --gc-sections.
92 Emit an error if no root is specified when --gc-sections -r.
93 * ld.texinfo (Options): Document that --gc-sections is compatible
94 with -r and -q.
95 * ldmain.c (main): Do not error out if -r and --gc-sections.
96 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
97
98 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
99
100 PR ld/5533
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
103 line.
104
105 2008-01-10 Alan Modra <amodra@bigpond.net.au>
106
107 * ld.texinfo (--gc-sections): Describe linker behaviour.
108
109 For older changes see ChangeLog-2007
110 \f
111 Local Variables:
112 mode: change-log
113 left-margin: 8
114 fill-column: 74
115 version-control: never
116 End: