include/
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2008-02-15 Alan Modra <amodra@bigpond.net.au>
2
3 * ldmain.h (output_bfd): Delete.
4 * ldmain.c (output_bfd): Delete.
5 Replace all occurrences of output_bfd with link_info.output_bfd.
6 * ldcref.c: Likewise.
7 * ldctor.c: Likewise.
8 * ldemul.c: Likewise.
9 * ldexp.c: Likewise.
10 * ldfile.c: Likewise.
11 * ldlang.c: Likewise.
12 * ldmisc.c: Likewise.
13 * ldwrite.c: Likewise.
14 * pe-dll.c: Likewise.
15 * emultempl/aix.em: Likewise.
16 * emultempl/alphaelf.em: Likewise.
17 * emultempl/armcoff.em: Likewise.
18 * emultempl/armelf.em: Likewise.
19 * emultempl/avrelf.em: Likewise.
20 * emultempl/beos.em: Likewise.
21 * emultempl/elf-generic.em: Likewise.
22 * emultempl/elf32.em: Likewise.
23 * emultempl/gld960.em: Likewise.
24 * emultempl/hppaelf.em: Likewise.
25 * emultempl/irix.em: Likewise.
26 * emultempl/linux.em: Likewise.
27 * emultempl/lnk960.em: Likewise.
28 * emultempl/m68hc1xelf.em: Likewise.
29 * emultempl/mmix-elfnmmo.em: Likewise.
30 * emultempl/mmo.em: Likewise.
31 * emultempl/pe.em: Likewise.
32 * emultempl/pep.em: Likewise.
33 * emultempl/ppc32elf.em: Likewise.
34 * emultempl/ppc64elf.em: Likewise.
35 * emultempl/scoreelf.em: Likewise.
36 * emultempl/sh64elf.em: Likewise.
37 * emultempl/spuelf.em: Likewise.
38 * emultempl/sunos.em: Likewise.
39 * emultempl/vanilla.em: Likewise.
40 * emultempl/vxworks.em: Likewise.
41 * emultempl/xtensaelf.em: Likewise.
42 * emultempl/z80.em: Likewise.
43 * ldlang.c (open_output): Don't return output, instead write
44 link_info_output_bfd directly.
45 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
46 with link_info.output_bfd->xvec.
47 * emultempl/hppaelf.em: Likewise.
48 * emultempl/ppc32elf.em: Likewise.
49 * emultempl/ppc64elf.em: Likewise.
50 * emultempl/spuelf.em: Likewise.
51
52 2008-02-07 Alan Modra <amodra@bigpond.net.au>
53
54 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
55 * ldfile.c (ldfile_add_library_path): Likewise.
56 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
57 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
58 * emultempl/spuelf.em (embedded_spu_file): Likewise.
59
60 2008-02-07 Alan Modra <amodra@bigpond.net.au>
61
62 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
63 a "present" bit rather than low bit of .buf. Correct indexing
64 into _ovly_buf_table. Use relative loads and stores to access
65 overlay manager local vars.
66 * emultempl/spu_ovl.o: Regenerate.
67
68 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
69
70 PR 5715
71 * configure: Regenerated.
72
73 2008-01-31 Marc Gauthier <marc@tensilica.com>
74
75 * configure.tgt (xtensa*-*-*): Recognize processor variants.
76
77 2008-01-28 Fabian Groffen <grobian@gentoo.org>
78
79 * configure.tgt (x86_64-*-solaris2): Add support for this target.
80
81 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
82
83 PR ld/5652
84 * genscripts.sh: Check for the existence of BASH_LINENO not just
85 the BASH shell before generating line numbers in the emulation
86 file.
87
88 2008-01-28 Alan Modra <amodra@bigpond.net.au>
89
90 * emultempl/spu_ovl.S: Rewrite.
91 * emultempl/spu_ovl.o: Regenerate.
92 * emultempl/spuelf.em (toe): Delete.
93 (spu_place_special_section): Add param to control section placement.
94 Adjust callers.
95 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
96 changes.
97 (spu_before_allocation): Adjust spu_elf_size_stubs call.
98 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
99
100 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
101
102 PR ld/5670
103 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
104 warning.
105
106 2008-01-25 Alan Modra <amodra@bigpond.net.au>
107
108 * ld.texinfo (INSERT): Describe.
109 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
110 (INSERT_K, AFTER, BEFORE): Add as tokens.
111 (ifile_p1): Handle INSERT statements.
112 (saved_script_handle, force_make_executable): Move to..
113 * ldmain.c: ..here.
114 (previous_script_handle): New global var.
115 * ldmain.h (saved_script_handle, force_make_executable): Declare.
116 (previous_script_handle): Likewise.
117 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
118 * lexsup.c (parge_args <-T>): Set previous_script_handle.
119 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
120 (map_input_to_output_sections, print_statement): Likewise.
121 (lang_size_sections_1, lang_do_assignments_1): Likewise.
122 (insert_os_after): New function, extracted from..
123 (lang_insert_orphan): ..here.
124 (process_insert_statements): New function.
125 (lang_process): Call it.
126 (lang_add_insert): New function.
127 * ldlang.h (lang_insert_statement_enum): New.
128 (lang_insert_statement_type): New.
129 (lang_statement_union_type): Add insert_statement.
130 (lang_add_insert): Declare.
131
132 2008-01-18 Bob Wilson <bob.wilson@acm.org>
133
134 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
135 changes from elf.sc.
136
137 2008-01-16 Alan Modra <amodra@bigpond.net.au>
138
139 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
140
141 2008-01-16 Alan Modra <amodra@bigpond.net.au>
142
143 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
144 (lang_afile_asection_pair_statement_type): Delete.
145 (lang_statement_union_type): Delete afile_asection_pair_statement.
146 * ldlang.c (lang_insert_orphan): Delete case handling the above.
147 (map_input_to_output_sections, print_statement): Likewise.
148
149 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
150
151 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
152 with __data_start.
153 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
154
155 2008-01-15 Alan Modra <amodra@bigpond.net.au>
156
157 PR 5604
158 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
159 syms to _bfd_elf_gc_keep.
160 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
161 ppc64_elf_edit_opd if no_opd_opt.
162
163 2008-01-11 Tristan Gingold <gingold@adacore.com>
164 Eric Botcazou <ebotcazou@adacore.com>
165
166 * ldlang.c (lang_end): Warns if the entry point is not found when
167 --gc-sections.
168 Emit an error if no root is specified when --gc-sections -r.
169 * ld.texinfo (Options): Document that --gc-sections is compatible
170 with -r and -q.
171 * ldmain.c (main): Do not error out if -r and --gc-sections.
172 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
173
174 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
175
176 PR ld/5533
177 * ldlang.c (lang_end): Issue a warning for a missing start symbol
178 of a shared library if the symbol was specified on the command
179 line.
180
181 2008-01-10 Alan Modra <amodra@bigpond.net.au>
182
183 * ld.texinfo (--gc-sections): Describe linker behaviour.
184
185 For older changes see ChangeLog-2007
186 \f
187 Local Variables:
188 mode: change-log
189 left-margin: 8
190 fill-column: 74
191 version-control: never
192 End:
This page took 0.033786 seconds and 4 git commands to generate.