2008-04-25 Michael Frysinger <vapier@gentoo.org>
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2008-04-25 Michael Frysinger <vapier@gentoo.org>
2
3 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
4 and targ_extra_emuls to elf32bfin.
5
6 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7
8 * aclocal.m4: Regenerate.
9 * configure: Regenerate.
10
11 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
12
13 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
14
15 2008-04-08 Alan Modra <amodra@bigpond.net.au>
16
17 * po/POTFILES.in: Regenerate.
18
19 2008-04-08 Alan Modra <amodra@bigpond.net.au>
20
21 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
22 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
23 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
24 (struct tflist, clean_tmp): Move.
25 (new_tmp_file): New function, extracted from..
26 (embedded_spu_file): ..here.
27 (spu_elf_open_overlay_script, spu_elf_relink): New function.
28 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
29 Warn on --auto-overlay and zero local store.
30 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
31 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
32 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
33 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
34 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
35 (PARSE_AND_LIST_OPTIONS): Likewise.
36 (PARSE_AND_LIST_ARGS_CASES): Likewise.
37 (LDEMUL_CHOOSE_TARGET): Define.
38
39 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
40
41 PR ld/6026
42 * pe-dll.c (make_head): Fix iat and thunk addend offset.
43
44 2008-03-31 Nick Clifton <nickc@redhat.com>
45
46 * po/fr.po: Updated French translation.
47
48 2008-03-24 Ian Lance Taylor <iant@google.com>
49
50 The sha1 code is now in libiberty.
51 * sha1.c: Remove.
52 * sha1.h: Remove.
53 * Makefile.am (CFILES): Remove sha1.c.
54 (HFILES): Remove sha1.h.
55 (OFILES): Remove sha1.o.
56 (ld_new_SOURCES): Remove sha1.c.
57 (sha1.o): Remove target.
58 * Makefile.in: Rebuild.
59
60 2008-03-20 Alan Modra <amodra@bigpond.net.au>
61
62 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
63
64 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
65
66 * aclocal.m4: Regenerate.
67 * configure: Likewise.
68 * Makefile.in: Likewise.
69
70 2008-03-14 Alan Modra <amodra@bigpond.net.au>
71
72 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
73 spu_elf_build_stubs with is_spu_target.
74
75 2008-03-13 Alan Modra <amodra@bigpond.net.au>
76
77 * Makefile.am: Run "make dep-am".
78 * Makefile.in: Regenerate.
79 * configure: Regenerate.
80
81 2008-03-06 Joseph Myers <joseph@codesourcery.com>
82 Roman Zippel <zippel@linux-m68k.org>
83
84 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
85 (COMMONPAGESIZE): Define.
86
87 2008-02-22 Nick Clifton <nickc@redhat.com>
88
89 PR ld/5785
90 * ldlang.c (lang_size_sections_1): Honour the setting of an
91 lma_region even if there is no vma region set, or the vma region
92 is the same as the lma region.
93
94 2008-02-18 Nick Clifton <nickc@redhat.com>
95
96 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
97 relocatable link.
98 * scripttempl/elf32cr16.sc: Likewise.
99 * scripttempl/elf32cr16c.sc: Likewise.
100 * scripttempl/elf32crx.sc: Likewise.
101 * scripttempl/elf32sh-symbian.sc: Likewise.
102 * scripttempl/elf_chaos.sc: Likewise.
103 * scripttempl/elfd10v.sc: Likewise.
104 * scripttempl/elfi370.sc: Likewise.
105 * scripttempl/elfm68hc11.sc: Likewise.
106 * scripttempl/elfm68hc12.sc: Likewise.
107 * scripttempl/ip2k.sc: Likewise.
108 * scripttempl/iq2000.sc: Likewise.
109 * scripttempl/mep.sc: Likewise.
110 * scripttempl/v850.sc: Likewise.
111 * scripttempl/xstormy16.sc: Likewise.
112
113 2008-02-16 Alan Modra <amodra@bigpond.net.au>
114
115 PR ld/5761
116 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
117 load_base before calling make_abs.
118
119 2008-02-15 Alan Modra <amodra@bigpond.net.au>
120
121 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
122 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
123 Likewise.
124 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
125 Likewise.
126 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
127 uses with..
128 (is_ppc_elf): ..this new macro.
129
130 2008-02-15 Alan Modra <amodra@bigpond.net.au>
131
132 * ldmain.h (output_bfd): Delete.
133 * ldmain.c (output_bfd): Delete.
134 Replace all occurrences of output_bfd with link_info.output_bfd.
135 * ldcref.c: Likewise.
136 * ldctor.c: Likewise.
137 * ldemul.c: Likewise.
138 * ldexp.c: Likewise.
139 * ldfile.c: Likewise.
140 * ldlang.c: Likewise.
141 * ldmisc.c: Likewise.
142 * ldwrite.c: Likewise.
143 * pe-dll.c: Likewise.
144 * emultempl/aix.em: Likewise.
145 * emultempl/alphaelf.em: Likewise.
146 * emultempl/armcoff.em: Likewise.
147 * emultempl/armelf.em: Likewise.
148 * emultempl/avrelf.em: Likewise.
149 * emultempl/beos.em: Likewise.
150 * emultempl/elf-generic.em: Likewise.
151 * emultempl/elf32.em: Likewise.
152 * emultempl/gld960.em: Likewise.
153 * emultempl/hppaelf.em: Likewise.
154 * emultempl/irix.em: Likewise.
155 * emultempl/linux.em: Likewise.
156 * emultempl/lnk960.em: Likewise.
157 * emultempl/m68hc1xelf.em: Likewise.
158 * emultempl/mmix-elfnmmo.em: Likewise.
159 * emultempl/mmo.em: Likewise.
160 * emultempl/pe.em: Likewise.
161 * emultempl/pep.em: Likewise.
162 * emultempl/ppc32elf.em: Likewise.
163 * emultempl/ppc64elf.em: Likewise.
164 * emultempl/scoreelf.em: Likewise.
165 * emultempl/sh64elf.em: Likewise.
166 * emultempl/spuelf.em: Likewise.
167 * emultempl/sunos.em: Likewise.
168 * emultempl/vanilla.em: Likewise.
169 * emultempl/vxworks.em: Likewise.
170 * emultempl/xtensaelf.em: Likewise.
171 * emultempl/z80.em: Likewise.
172 * ldlang.c (open_output): Don't return output, instead write
173 link_info_output_bfd directly.
174 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
175 with link_info.output_bfd->xvec.
176 * emultempl/hppaelf.em: Likewise.
177 * emultempl/ppc32elf.em: Likewise.
178 * emultempl/ppc64elf.em: Likewise.
179 * emultempl/spuelf.em: Likewise.
180
181 2008-02-07 Alan Modra <amodra@bigpond.net.au>
182
183 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
184 * ldfile.c (ldfile_add_library_path): Likewise.
185 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
186 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
187 * emultempl/spuelf.em (embedded_spu_file): Likewise.
188
189 2008-02-07 Alan Modra <amodra@bigpond.net.au>
190
191 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
192 a "present" bit rather than low bit of .buf. Correct indexing
193 into _ovly_buf_table. Use relative loads and stores to access
194 overlay manager local vars.
195 * emultempl/spu_ovl.o: Regenerate.
196
197 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
198
199 PR 5715
200 * configure: Regenerated.
201
202 2008-01-31 Marc Gauthier <marc@tensilica.com>
203
204 * configure.tgt (xtensa*-*-*): Recognize processor variants.
205
206 2008-01-28 Fabian Groffen <grobian@gentoo.org>
207
208 * configure.tgt (x86_64-*-solaris2): Add support for this target.
209
210 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
211
212 PR ld/5652
213 * genscripts.sh: Check for the existence of BASH_LINENO not just
214 the BASH shell before generating line numbers in the emulation
215 file.
216
217 2008-01-28 Alan Modra <amodra@bigpond.net.au>
218
219 * emultempl/spu_ovl.S: Rewrite.
220 * emultempl/spu_ovl.o: Regenerate.
221 * emultempl/spuelf.em (toe): Delete.
222 (spu_place_special_section): Add param to control section placement.
223 Adjust callers.
224 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
225 changes.
226 (spu_before_allocation): Adjust spu_elf_size_stubs call.
227 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
228
229 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
230
231 PR ld/5670
232 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
233 warning.
234
235 2008-01-25 Alan Modra <amodra@bigpond.net.au>
236
237 * ld.texinfo (INSERT): Describe.
238 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
239 (INSERT_K, AFTER, BEFORE): Add as tokens.
240 (ifile_p1): Handle INSERT statements.
241 (saved_script_handle, force_make_executable): Move to..
242 * ldmain.c: ..here.
243 (previous_script_handle): New global var.
244 * ldmain.h (saved_script_handle, force_make_executable): Declare.
245 (previous_script_handle): Likewise.
246 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
247 * lexsup.c (parge_args <-T>): Set previous_script_handle.
248 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
249 (map_input_to_output_sections, print_statement): Likewise.
250 (lang_size_sections_1, lang_do_assignments_1): Likewise.
251 (insert_os_after): New function, extracted from..
252 (lang_insert_orphan): ..here.
253 (process_insert_statements): New function.
254 (lang_process): Call it.
255 (lang_add_insert): New function.
256 * ldlang.h (lang_insert_statement_enum): New.
257 (lang_insert_statement_type): New.
258 (lang_statement_union_type): Add insert_statement.
259 (lang_add_insert): Declare.
260
261 2008-01-18 Bob Wilson <bob.wilson@acm.org>
262
263 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
264 changes from elf.sc.
265
266 2008-01-16 Alan Modra <amodra@bigpond.net.au>
267
268 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
269
270 2008-01-16 Alan Modra <amodra@bigpond.net.au>
271
272 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
273 (lang_afile_asection_pair_statement_type): Delete.
274 (lang_statement_union_type): Delete afile_asection_pair_statement.
275 * ldlang.c (lang_insert_orphan): Delete case handling the above.
276 (map_input_to_output_sections, print_statement): Likewise.
277
278 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
279
280 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
281 with __data_start.
282 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
283
284 2008-01-15 Alan Modra <amodra@bigpond.net.au>
285
286 PR 5604
287 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
288 syms to _bfd_elf_gc_keep.
289 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
290 ppc64_elf_edit_opd if no_opd_opt.
291
292 2008-01-11 Tristan Gingold <gingold@adacore.com>
293 Eric Botcazou <ebotcazou@adacore.com>
294
295 * ldlang.c (lang_end): Warns if the entry point is not found when
296 --gc-sections.
297 Emit an error if no root is specified when --gc-sections -r.
298 * ld.texinfo (Options): Document that --gc-sections is compatible
299 with -r and -q.
300 * ldmain.c (main): Do not error out if -r and --gc-sections.
301 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
302
303 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
304
305 PR ld/5533
306 * ldlang.c (lang_end): Issue a warning for a missing start symbol
307 of a shared library if the symbol was specified on the command
308 line.
309
310 2008-01-10 Alan Modra <amodra@bigpond.net.au>
311
312 * ld.texinfo (--gc-sections): Describe linker behaviour.
313
314 For older changes see ChangeLog-2007
315 \f
316 Local Variables:
317 mode: change-log
318 left-margin: 8
319 fill-column: 74
320 version-control: never
321 End:
This page took 0.045205 seconds and 5 git commands to generate.