bfd/
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
906e58ca
NC
12008-05-15 Christophe Lyon <christophe.lyon@st.com>
2
3 * emultempl/armelf.em (build_section_lists): New function.
4 (stub_file): Define.
5 (need_laying_out): Define.
6 (group_size): Define.
7 (hook_stub_info): Define.
8 (hook_in_stub): New function.
9 (elf32_arm_add_stub_section): New function.
10 (gldarm_layout_sections_again): New function.
11 (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
12 stubs for long calls if needed.
13 (arm_elf_create_output_section_statements): create stub_file bfd.
14 (arm_for_each_input_file_wrapper): New function.
15 (arm_lang_for_each_input_file): New function.
16 (lang_for_each_input_file): Define.
17 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
18 (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
19 (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
20 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
21 (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
22 * lang.c (print_input_statement): Skip if bfd has
23 BFD_LINKER_CREATED.
24
8944f3c2
AM
252008-05-14 Alan Modra <amodra@bigpond.net.au>
26
27 * Makefile.in: Regenerate.
28
0ead4f8d
KT
292008-05-09 Kai Tietz <kai.tietz@onevision.com>
30
31 ld/PR6502
8944f3c2
AM
32 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
33 of long and change return type to bfd_vma.
0ead4f8d
KT
34 (definfo): Change type of address from long to bfd_vma.
35 (set_pep_value): Replace strtoul to strtoull.
36 (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
8944f3c2
AM
37 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
38 ImageBase.
0ead4f8d
KT
39 (quick_reloc): Change argument address from int to bfd_size_type.
40
e7fc76dd
TT
412008-05-08 Tom Tromey <tromey@redhat.com>
42
43 * ld.texinfo (PowerPC64 ELF64): Fix typo.
44
8374f9d4
AM
452008-05-08 Alan Modra <amodra@bigpond.net.au>
46
47 * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
48 * elf32ppc.sh: If building with spu support, put ".data.spehandle"
49 sections at the start of ".data" and provide a symbol to locate
50 the directory of embedded spe programs.
51
8c0848b5
AM
522008-05-08 Alan Modra <amodra@bigpond.net.au>
53
54 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
55 MAX_K.
56 (fold_binary <SEGMENT_START>): Set expld.result.section to
57 current section. Expand comment. Formatting.
58 (fold_name <DEFINED>): Set expld.result.section to current section.
59
a2cab753
NS
602008-04-28 Nathan Sidwell <nathan@codesourcery.com>
61
62 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
63 non-load sections.
64
bec9537e
MF
652008-04-25 Michael Frysinger <vapier@gentoo.org>
66
67 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
68 and targ_extra_emuls to elf32bfin.
69
6194aaab
L
702008-04-23 Paolo Bonzini <bonzini@gnu.org>
71
72 * aclocal.m4: Regenerate.
73 * configure: Regenerate.
74
da6fa31a
KT
752008-04-03 Kai Tietz <kai.tietz@onevision.com>
76
77 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
78
9be9d352
AM
792008-04-08 Alan Modra <amodra@bigpond.net.au>
80
81 * po/POTFILES.in: Regenerate.
82
9dcc4794
AM
832008-04-08 Alan Modra <amodra@bigpond.net.au>
84
85 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
86 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
87 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
88 (struct tflist, clean_tmp): Move.
89 (new_tmp_file): New function, extracted from..
90 (embedded_spu_file): ..here.
91 (spu_elf_open_overlay_script, spu_elf_relink): New function.
92 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
93 Warn on --auto-overlay and zero local store.
94 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
95 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
96 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
97 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
98 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
99 (PARSE_AND_LIST_OPTIONS): Likewise.
100 (PARSE_AND_LIST_ARGS_CASES): Likewise.
101 (LDEMUL_CHOOSE_TARGET): Define.
102
5f69259e
KT
1032008-04-03 Kai Tietz <kai.tietz@onevision.com>
104
105 PR ld/6026
106 * pe-dll.c (make_head): Fix iat and thunk addend offset.
107
95f0efb9
NC
1082008-03-31 Nick Clifton <nickc@redhat.com>
109
110 * po/fr.po: Updated French translation.
111
f36d5d55
ILT
1122008-03-24 Ian Lance Taylor <iant@google.com>
113
114 The sha1 code is now in libiberty.
115 * sha1.c: Remove.
116 * sha1.h: Remove.
117 * Makefile.am (CFILES): Remove sha1.c.
118 (HFILES): Remove sha1.h.
119 (OFILES): Remove sha1.o.
120 (ld_new_SOURCES): Remove sha1.c.
121 (sha1.o): Remove target.
122 * Makefile.in: Rebuild.
123
c65be8d7
AM
1242008-03-20 Alan Modra <amodra@bigpond.net.au>
125
126 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
127
58c85be7
RW
1282008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
129
130 * aclocal.m4: Regenerate.
131 * configure: Likewise.
132 * Makefile.in: Likewise.
133
771a9c5f
AM
1342008-03-14 Alan Modra <amodra@bigpond.net.au>
135
136 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
137 spu_elf_build_stubs with is_spu_target.
138
50e7d84b
AM
1392008-03-13 Alan Modra <amodra@bigpond.net.au>
140
141 * Makefile.am: Run "make dep-am".
142 * Makefile.in: Regenerate.
143 * configure: Regenerate.
144
9e448631
NC
1452008-03-06 Joseph Myers <joseph@codesourcery.com>
146 Roman Zippel <zippel@linux-m68k.org>
147
148 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
149 (COMMONPAGESIZE): Define.
150
07dfcf38
NC
1512008-02-22 Nick Clifton <nickc@redhat.com>
152
153 PR ld/5785
154 * ldlang.c (lang_size_sections_1): Honour the setting of an
155 lma_region even if there is no vma region set, or the vma region
156 is the same as the lma region.
157
b34c1498
NC
1582008-02-18 Nick Clifton <nickc@redhat.com>
159
160 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
161 relocatable link.
162 * scripttempl/elf32cr16.sc: Likewise.
163 * scripttempl/elf32cr16c.sc: Likewise.
164 * scripttempl/elf32crx.sc: Likewise.
165 * scripttempl/elf32sh-symbian.sc: Likewise.
166 * scripttempl/elf_chaos.sc: Likewise.
167 * scripttempl/elfd10v.sc: Likewise.
168 * scripttempl/elfi370.sc: Likewise.
169 * scripttempl/elfm68hc11.sc: Likewise.
170 * scripttempl/elfm68hc12.sc: Likewise.
171 * scripttempl/ip2k.sc: Likewise.
172 * scripttempl/iq2000.sc: Likewise.
173 * scripttempl/mep.sc: Likewise.
174 * scripttempl/v850.sc: Likewise.
175 * scripttempl/xstormy16.sc: Likewise.
176
819da74e
AM
1772008-02-16 Alan Modra <amodra@bigpond.net.au>
178
179 PR ld/5761
180 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
181 load_base before calling make_abs.
182
5503fea1
AM
1832008-02-15 Alan Modra <amodra@bigpond.net.au>
184
185 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
186 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
187 Likewise.
188 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
189 Likewise.
190 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
191 uses with..
192 (is_ppc_elf): ..this new macro.
193
f13a99db
AM
1942008-02-15 Alan Modra <amodra@bigpond.net.au>
195
196 * ldmain.h (output_bfd): Delete.
197 * ldmain.c (output_bfd): Delete.
198 Replace all occurrences of output_bfd with link_info.output_bfd.
199 * ldcref.c: Likewise.
200 * ldctor.c: Likewise.
201 * ldemul.c: Likewise.
202 * ldexp.c: Likewise.
203 * ldfile.c: Likewise.
204 * ldlang.c: Likewise.
205 * ldmisc.c: Likewise.
206 * ldwrite.c: Likewise.
207 * pe-dll.c: Likewise.
208 * emultempl/aix.em: Likewise.
209 * emultempl/alphaelf.em: Likewise.
210 * emultempl/armcoff.em: Likewise.
211 * emultempl/armelf.em: Likewise.
212 * emultempl/avrelf.em: Likewise.
213 * emultempl/beos.em: Likewise.
214 * emultempl/elf-generic.em: Likewise.
215 * emultempl/elf32.em: Likewise.
216 * emultempl/gld960.em: Likewise.
217 * emultempl/hppaelf.em: Likewise.
218 * emultempl/irix.em: Likewise.
219 * emultempl/linux.em: Likewise.
220 * emultempl/lnk960.em: Likewise.
221 * emultempl/m68hc1xelf.em: Likewise.
222 * emultempl/mmix-elfnmmo.em: Likewise.
223 * emultempl/mmo.em: Likewise.
224 * emultempl/pe.em: Likewise.
225 * emultempl/pep.em: Likewise.
226 * emultempl/ppc32elf.em: Likewise.
227 * emultempl/ppc64elf.em: Likewise.
228 * emultempl/scoreelf.em: Likewise.
229 * emultempl/sh64elf.em: Likewise.
230 * emultempl/spuelf.em: Likewise.
231 * emultempl/sunos.em: Likewise.
232 * emultempl/vanilla.em: Likewise.
233 * emultempl/vxworks.em: Likewise.
234 * emultempl/xtensaelf.em: Likewise.
235 * emultempl/z80.em: Likewise.
236 * ldlang.c (open_output): Don't return output, instead write
237 link_info_output_bfd directly.
238 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
239 with link_info.output_bfd->xvec.
240 * emultempl/hppaelf.em: Likewise.
241 * emultempl/ppc32elf.em: Likewise.
242 * emultempl/ppc64elf.em: Likewise.
243 * emultempl/spuelf.em: Likewise.
244
ff7a0acf
AM
2452008-02-07 Alan Modra <amodra@bigpond.net.au>
246
247 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
248 * ldfile.c (ldfile_add_library_path): Likewise.
249 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
250 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
251 * emultempl/spuelf.em (embedded_spu_file): Likewise.
252
2e444bea
AM
2532008-02-07 Alan Modra <amodra@bigpond.net.au>
254
255 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
256 a "present" bit rather than low bit of .buf. Correct indexing
257 into _ovly_buf_table. Use relative loads and stores to access
258 overlay manager local vars.
259 * emultempl/spu_ovl.o: Regenerate.
260
bb8541b9
L
2612008-02-04 H.J. Lu <hongjiu.lu@intel.com>
262
263 PR 5715
264 * configure: Regenerated.
265
f8a52b59
BW
2662008-01-31 Marc Gauthier <marc@tensilica.com>
267
268 * configure.tgt (xtensa*-*-*): Recognize processor variants.
269
00b2bfc1
NC
2702008-01-28 Fabian Groffen <grobian@gentoo.org>
271
272 * configure.tgt (x86_64-*-solaris2): Add support for this target.
273
6e73d595
NC
2742008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
275
276 PR ld/5652
277 * genscripts.sh: Check for the existence of BASH_LINENO not just
278 the BASH shell before generating line numbers in the emulation
279 file.
280
47f6dab9
AM
2812008-01-28 Alan Modra <amodra@bigpond.net.au>
282
283 * emultempl/spu_ovl.S: Rewrite.
284 * emultempl/spu_ovl.o: Regenerate.
285 * emultempl/spuelf.em (toe): Delete.
286 (spu_place_special_section): Add param to control section placement.
287 Adjust callers.
288 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
289 changes.
290 (spu_before_allocation): Adjust spu_elf_size_stubs call.
291 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
292
29183214
L
2932008-01-25 H.J. Lu <hongjiu.lu@intel.com>
294
295 PR ld/5670
296 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
297 warning.
298
53d25da6
AM
2992008-01-25 Alan Modra <amodra@bigpond.net.au>
300
301 * ld.texinfo (INSERT): Describe.
302 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
303 (INSERT_K, AFTER, BEFORE): Add as tokens.
304 (ifile_p1): Handle INSERT statements.
305 (saved_script_handle, force_make_executable): Move to..
306 * ldmain.c: ..here.
307 (previous_script_handle): New global var.
308 * ldmain.h (saved_script_handle, force_make_executable): Declare.
309 (previous_script_handle): Likewise.
310 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
311 * lexsup.c (parge_args <-T>): Set previous_script_handle.
312 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
313 (map_input_to_output_sections, print_statement): Likewise.
314 (lang_size_sections_1, lang_do_assignments_1): Likewise.
315 (insert_os_after): New function, extracted from..
316 (lang_insert_orphan): ..here.
317 (process_insert_statements): New function.
318 (lang_process): Call it.
319 (lang_add_insert): New function.
320 * ldlang.h (lang_insert_statement_enum): New.
321 (lang_insert_statement_type): New.
322 (lang_statement_union_type): Add insert_statement.
323 (lang_add_insert): Declare.
324
c19f06f2
BW
3252008-01-18 Bob Wilson <bob.wilson@acm.org>
326
327 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
328 changes from elf.sc.
8944f3c2 329
14ac84b4
AM
3302008-01-16 Alan Modra <amodra@bigpond.net.au>
331
332 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
333
3d00b095
AM
3342008-01-16 Alan Modra <amodra@bigpond.net.au>
335
336 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
337 (lang_afile_asection_pair_statement_type): Delete.
338 (lang_statement_union_type): Delete afile_asection_pair_statement.
339 * ldlang.c (lang_insert_orphan): Delete case handling the above.
340 (map_input_to_output_sections, print_statement): Likewise.
341
58da7b1b
KK
3422008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
343
344 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
345 with __data_start.
346 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
347
74f0fb50
AM
3482008-01-15 Alan Modra <amodra@bigpond.net.au>
349
350 PR 5604
351 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
352 syms to _bfd_elf_gc_keep.
353 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
354 ppc64_elf_edit_opd if no_opd_opt.
355
ac69cbc6
TG
3562008-01-11 Tristan Gingold <gingold@adacore.com>
357 Eric Botcazou <ebotcazou@adacore.com>
358
359 * ldlang.c (lang_end): Warns if the entry point is not found when
360 --gc-sections.
361 Emit an error if no root is specified when --gc-sections -r.
362 * ld.texinfo (Options): Document that --gc-sections is compatible
363 with -r and -q.
364 * ldmain.c (main): Do not error out if -r and --gc-sections.
365 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
366
71934f94
NC
3672008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
368
369 PR ld/5533
370 * ldlang.c (lang_end): Issue a warning for a missing start symbol
371 of a shared library if the symbol was specified on the command
372 line.
373
d5465ba2
AM
3742008-01-10 Alan Modra <amodra@bigpond.net.au>
375
376 * ld.texinfo (--gc-sections): Describe linker behaviour.
377
6c7ac64e 378For older changes see ChangeLog-2007
252b5132
RH
379\f
380Local Variables:
381mode: change-log
382left-margin: 8
383fill-column: 74
384version-control: never
385End:
This page took 0.457376 seconds and 4 git commands to generate.