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