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