Commit | Line | Data |
---|---|---|
d7b99e76 UW |
1 | 2008-11-17 Ulrich Weigand <uweigand@de.ibm.com> |
2 | ||
3 | * configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'. | |
4 | ||
764c62eb NC |
5 | 2008-11-17 Nick Clifton <nickc@redhat.com> |
6 | ||
7 | * ldver.c: Update copyright year. | |
8 | ||
6cb442d3 KT |
9 | 2008-11-14 Kai Tietz <kai.tietz@onevision.com> |
10 | ||
11 | * emultempl/pep.em (..._before_parse): initialize | |
12 | pei386_runtime_pseudo_reloc by version 2. | |
13 | (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option. | |
14 | (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option. | |
15 | (make_import_fixup): Use relocation size to read addend. | |
16 | * emultempl/pe.em (..._before_parse): initialize | |
17 | pei386_runtime_pseudo_reloc by version 1. | |
18 | (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option. | |
19 | (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option. | |
20 | * pe-dll.c (pe-dll.h): Remove useless include. | |
21 | (make_runtime_pseudo_reloc): Change addend to use bfd_vma. | |
22 | Handle the two variants of pseudo-relocation. | |
23 | (pe_create_import_fixup): Change addend to type bfd_vma. | |
24 | Modify for the two pseudo_relocation variants. | |
25 | (runtime_pseudp_reloc_v2_init): New static variable. | |
26 | * pe-dll.h (pe_create_import_fixup): Change addend argument type | |
27 | to bfd_vma. | |
28 | * pep-dll.h (pep_create_import_fixup): Likewise. | |
29 | * NEWS: Add comment. | |
30 | ||
43b5d01b AM |
31 | 2008-11-14 Alan Modra <amodra@bigpond.net.au> |
32 | ||
33 | * Makefile.am (spu_ovl.o_c): Add missing line continuations. | |
34 | * Makefile.in: Regenerate. | |
35 | ||
8a2a2dbb NC |
36 | 2008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com> |
37 | ||
38 | * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*. | |
39 | ||
1aa89011 | 40 | 2008-11-03 Bob Wilson <bob.wilson@acm.org> |
e78c4c7e BW |
41 | |
42 | * emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set. | |
43 | * scripttempl/elfxtensa.sc (NO_REL_RELOCS, NO_RELA_RELOCS) | |
44 | (NON_ALLOC_DYN): Import changes from elf.sc. | |
45 | ||
fb6cee96 NC |
46 | 2008-10-25 Nick Clifton <nickc@redhat.com> |
47 | ||
48 | PR 6945 | |
49 | * ldlang.c (lang_size_sections_1): Do not update the VMAs of | |
50 | output sections when performing a relocatable link on COFF | |
51 | objects. | |
52 | ||
b8976b05 NC |
53 | 2008-10-22 Nick Clifton <nickc@redhat.com> |
54 | ||
55 | * emultempl/armelf.em (arm_elf_after_open): Move check for using a | |
56 | non-arm output target from here... | |
57 | (arm_elf_create_output_section_statements): ... to here, so that | |
58 | the check is made at the earliest possible opportunity. | |
59 | ||
f407252f AM |
60 | 2008-10-22 Alan Modra <amodra@bigpond.net.au> |
61 | ||
62 | * emulparams/elf32_i960.sh (TEMPLATE_NAME): "generic", not "elf32". | |
63 | (EXTRA_EM_FILE): Define. | |
64 | ||
485cf679 AM |
65 | 2008-10-22 Alan Modra <amodra@bigpond.net.au> |
66 | ||
67 | * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN): | |
68 | Handle these defines. | |
69 | * emulparams/criself.sh, * emulparams/crislinux.sh, | |
70 | * emulparams/elf32am33lin.sh, * emulparams/elf32fr30.sh, | |
71 | * emulparams/elf32_i860.sh, * emulparams/elf32ip2k.sh, | |
72 | * emulparams/elf32mcore.sh, * emulparams/elf32ppccommon.sh, | |
73 | * emulparams/elf32ppcwindiss.sh, * emulparams/elf32_sparc.sh, | |
74 | * emulparams/elf32_spu.sh, * emulparams/elf32vax.sh, | |
75 | * emulparams/elf64alpha.sh, * emulparams/elf64mmix.sh, | |
76 | * emulparams/elf64ppc.sh, * emulparams/elf64_s390.sh, | |
77 | * emulparams/elf64_sparc.sh, * emulparams/elf_s390.sh, | |
78 | * emulparams/elf_x86_64.sh, * emulparams/h8300elf.sh, | |
79 | * emulparams/hppa64linux.sh, * emulparams/hppalinux.sh, | |
80 | * emulparams/m68kelf.sh, * emulparams/mn10200.sh, | |
81 | * emulparams/pjelf.sh, * emulparams/ppclynx.sh, | |
82 | * emulparams/shelf32.sh, * emulparams/shelf_nto.sh, | |
83 | * emulparams/shelf.sh, * emulparams/shelf_vxworks.sh, | |
84 | * emulparams/shlelf32_linux.sh, * emulparams/shlelf_linux.sh, | |
85 | * emulparams/shlelf_nto.sh (NO_REL_RELOCS): Set. | |
86 | * emulparams/arcelf.sh, * emulparams/elf32_i960.sh, | |
87 | * emulparams/elf32openrisc.sh, * emulparams/elf_i386_be.sh, | |
88 | * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386.sh, | |
89 | * emulparams/elf_i386_vxworks.sh, * emulparams/i386lynx.sh, | |
90 | * emulparams/i386moss.sh, * emulparams/i386nto.sh, | |
91 | * emulparams/or32elf.sh, * emulparams/scoreelf.sh (NO_RELA_RELOCS): Set. | |
92 | ||
07890c07 AM |
93 | 2008-10-22 Alan Modra <amodra@bigpond.net.au> |
94 | ||
95 | * ldlang.c (lang_output_section_find_by_flags): Handle non-alloc | |
96 | sections. | |
97 | * emultempl/elf32.em (enum orphan_save_index): Add orphan_nonalloc. | |
98 | (hold): Likewise. | |
99 | (gld${EMULATION_NAME}_place_orphan): Handle non-alloc orphans. | |
100 | ||
4a977a31 AM |
101 | 2008-10-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
102 | ||
103 | * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Correct typo in | |
104 | help text of --be8. | |
105 | ||
c2edb4b8 AM |
106 | 2008-10-20 Alan Modra <amodra@bigpond.net.au> |
107 | ||
108 | * ldemul.h (ldemul_place_orphan): Update prototype. | |
109 | (struct ld_emulation_xfer_struct <place_orphan>): Likewise. | |
110 | * ldemul.c (ldemul_place_orphan): Return pointer to output | |
111 | section statement. | |
112 | * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
113 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
114 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
115 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
116 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
117 | ||
8cc9115f NC |
118 | 2008-10-08 Nick Clifton <nickc@redhat.com> |
119 | ||
120 | * configure.in (ALL_LINGUAS): Add "id". | |
121 | * configure: Regenerate. | |
122 | * po/id.po: New Indonesian translation. | |
123 | ||
f265bc06 AM |
124 | 2008-10-05 Alan Modra <amodra@bigpond.net.au> |
125 | ||
126 | PR 6943 | |
127 | * scripttempl/avr.sc (.bss): Set lma when relocating. | |
128 | (.bss, .noinit): No need to set vma when relocating. | |
129 | (.text, .bss, ,noinit): Set vma to zero when not relocating. | |
130 | ||
8a99a385 AM |
131 | 2008-10-04 Alan Modra <amodra@bigpond.net.au> |
132 | ||
133 | PR 6931 | |
134 | * ldemul.c (ldemul_place_orphan): Add "constraint" param. | |
135 | * ldemul.h (ldemul_place_orphan): Update prototype. | |
136 | (struct ld_emulation_xfer_struct <place_orphan>): Likewise add param. | |
137 | * ldlang.c (unique_section_p): Make static. | |
138 | (lang_output_section_statement_lookup): Optimise creation of SPECIAL | |
139 | sections. | |
140 | (lang_insert_orphan): Add "constraint" param. Pass to | |
141 | lang_enter_output_section_statement. | |
142 | (init_os): Don't use an existing bfd section for SPECIAL sections. | |
143 | (lang_place_orphans): Don't rename unique output sections, instead | |
144 | mark their output section statements SPECIAL. | |
145 | * ldlang.h (lang_insert_orphan): Update prototype. | |
146 | (unique_section_p): Delete. | |
147 | * emultempl/beos.em (place_orphan): Add "constraint" param. | |
148 | * emultempl/elf32.em (place_orphan): Likewise. Don't match existing | |
149 | output sections if set. | |
150 | * emultempl/pe.em (place_orphan): Likewise. | |
151 | * emultempl/pep.em (place_orphan): Likewise. | |
152 | * emultempl/mmo.em (mmo_place_orphan): Update. | |
153 | * emultempl/spuelf.em (spu_place_special_section): Update. | |
154 | ||
bcacc0f5 AM |
155 | 2008-10-03 Alan Modra <amodra@bigpond.net.au> |
156 | ||
e932ca37 | 157 | PR 6931 |
bcacc0f5 AM |
158 | * ldemul.c (ldemul_place_orphan): Add "name" param. |
159 | * ldemul.h (ldemul_place_orphan): Update prototype. | |
160 | (struct ld_emulation_xfer_struct <place_orphan>): Likewise. | |
161 | * ldlang.c (lang_place_orphans): Generate unique section names here.. | |
162 | * emultempl/elf32.em (place_orphan): ..rather than here. Don't | |
163 | directly use an existing output section statement that has no | |
164 | bfd section. | |
165 | * emultempl/pe.em (place_orphan): Likewise. | |
166 | * emultempl/pep.em (place_orphan): Likewise. | |
167 | * emultempl/beos.em (place_orphan): Adjust. | |
168 | * emultempl/spuelf.em (spu_place_special_section): Adjust | |
169 | place_orphan call. | |
170 | * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function. | |
171 | (LDEMUL_AFTER_OPEN): Define. | |
172 | ||
b796d39d JM |
173 | 2008-09-30 Joseph Myers <joseph@codesourcery.com> |
174 | ||
175 | * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd | |
176 | and .rela.branch_lt. | |
177 | ||
782e11fd AM |
178 | 2008-09-30 Alan Modra <amodra@bigpond.net.au> |
179 | ||
180 | * Makefile.am: Run "make dep-am". | |
181 | * Makefile.in: Regenerate. | |
182 | ||
b214d478 SE |
183 | 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com> |
184 | Steve Ellcey <sje@cup.hp.com> | |
185 | ||
186 | * configure: Regenerate for new libtool. | |
187 | * aclocal.m4: Ditto. | |
188 | * Makefile.in: Ditto. | |
189 | ||
b8a48734 KT |
190 | 2008-09-29 Kai Tietz <kai.tietz@onevision.com> |
191 | ||
192 | * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend. | |
193 | ||
afac680a NC |
194 | 2008-09-29 Nick Clifton <nickc@redhat.com> |
195 | ||
196 | * po/vi.po: Updated Vietnamese translation. | |
197 | ||
4ac0c898 AM |
198 | 2008-09-25 Alan Modra <amodra@bigpond.net.au> |
199 | ||
200 | * ldexp.c (fold_binary): Evaluate rhs when lhs not valid. | |
201 | ||
d053aef8 JK |
202 | 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
203 | ||
204 | * configure.in: Call AC_SYS_LARGEFILE. | |
205 | * config.in: Regenerate. | |
206 | * configure: Regenerate. | |
207 | ||
44e36d8a NC |
208 | 2008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change) |
209 | ||
210 | * emultempl/pe.em (pe_find_data_imports): Add trailing newline | |
211 | to warning message. | |
212 | * emultempl/pep.em (pep_find_data_imports): Likewise. | |
213 | ||
25d65034 L |
214 | 2008-09-08 H.J. Lu <hongjiu.lu@intel.com> |
215 | ||
216 | 2008-09-07 Alan Modra <amodra@bigpond.net.au> | |
217 | ||
218 | * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated. | |
219 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise. | |
220 | ||
6e33da12 TG |
221 | 2008-09-08 Tristan Gingold <gingold@adacore.com> |
222 | ||
223 | * NEWS: Add a marker for the 2.19 features. | |
224 | ||
66c103b7 AM |
225 | 2008-09-07 Alan Modra <amodra@bigpond.net.au> |
226 | ||
227 | * ldlang.h (lang_output_section_find): Define. | |
228 | (lang_output_section_statement_lookup): Update prototype. | |
229 | * ldlang.c (lang_output_section_find, | |
230 | lang_output_section_statement_lookup_1): Merge into.. | |
231 | (lang_output_section_statement_lookup): ..here. Update all callers. | |
232 | (process_insert_statements): Set constraint negative | |
233 | for output section statements we might be inserting. Make error | |
234 | fatal on not finding insertion section. | |
235 | (lang_output_section_find): Rather than comparing | |
236 | output_section_statement.constraint against -1, test whether | |
237 | it is postive. | |
238 | (lang_output_section_statement_lookup_1): Likewise. | |
239 | (output_prev_sec_find, strip_excluded_output_sections): Likewise. | |
240 | (lang_record_phdrs): Likewise. | |
241 | * emultempl/elf32.em (output_rel_find): Likewise. | |
242 | * NEWS: Mention INSERT. | |
243 | ||
8716772c NC |
244 | 2008-08-26 Nick Clifton <nickc@redhat.com> |
245 | ||
246 | PR 6727 | |
247 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all | |
248 | input sections in all input bfds and always select the last | |
249 | suitable one, so that interworking stubs are always processed | |
250 | after all other input sections. | |
251 | (arm_elf_before_allocation): Remove redundant use of | |
252 | output_has_begun flag. | |
253 | ||
da594c4a AM |
254 | 2008-08-24 Alan Modra <amodra@bigpond.net.au> |
255 | ||
256 | * configure.in: Update a number of obsolete autoconf macros. | |
257 | * configure: Regenerate. | |
258 | * aclocal.m4: Regenerate. | |
259 | ||
2b60860a JK |
260 | 2008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
261 | ||
262 | PR ld/6833 | |
263 | * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align | |
264 | EXPLD.DATASEG.MIN_BASE. | |
265 | * ldlang.c (lang_size_sections): New variable OLD_BASE. Rename | |
266 | OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'. | |
267 | Use OLD_BASE now for the minimal base check after the base decrease by | |
268 | the maximum alignment found. | |
269 | ||
5c1d2f5f AM |
270 | 2008-08-17 Alan Modra <amodra@bigpond.net.au> |
271 | ||
272 | PR 6478 | |
273 | * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols. | |
274 | Don't free symbol pointer array. | |
275 | (check_refs): Likewise. | |
276 | * ldmain.c (warning_callback): Likewise. | |
277 | * ldmisc.c (vfinfo): Likewise. | |
278 | * pe-dll.c (process_def_file): Likewise. | |
279 | (pe_walk_relocs_of_symbol, generate_reloc): Likewise. | |
280 | * emultempl/pe.em (pe_find_data_imports): Likewise. | |
281 | (gld_${EMULATION_NAME}_after_open): Likewise. | |
282 | * emultempl/pep.em (pep_find_data_imports): Likewise. | |
283 | (gld_${EMULATION_NAME}_after_open): Likewise. | |
284 | * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count, | |
285 | passive_position, closed. | |
286 | * ldlang.c (new_afile): Don't set asymbols and symbol_count. | |
287 | * ldmain.c (add_archive_element): xcalloc lang_input_statement_type. | |
288 | ||
7357c5b6 AM |
289 | 2008-08-15 Alan Modra <amodra@bigpond.net.au> |
290 | ||
291 | PR 6526 | |
292 | * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS. | |
293 | * Makefile.in: Regenerate. | |
294 | * aclocal.m4: Regenerate. | |
295 | * config.in: Regenerate. | |
296 | * configure: Regenerate. | |
297 | ||
a8caa245 AM |
298 | 2008-08-09 Alan Modra <amodra@bigpond.net.au> |
299 | ||
300 | PR 6753 | |
301 | * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete. | |
302 | (main): Don't set_scripts_dir here. | |
303 | * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions, | |
304 | largely based on ldmain.c versions. | |
305 | (ldfile_find_command_file): Set up search in script dir here without | |
306 | affecting library search. | |
307 | * Makefile.am (ldmain.o): No need to define SCRIPTDIR. | |
308 | (ldfile.o): New rule. | |
309 | * Makefile.in: Regenerate. | |
310 | ||
7b21ac3f EW |
311 | 2008-08-08 Anatoly Sokolov <aesok@post.ru> |
312 | ||
313 | * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o, | |
314 | and eavr51.o. | |
315 | Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c. | |
316 | * Makefile.in: Regenerate. | |
317 | * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35 | |
318 | and avr51. | |
319 | * emulparams/avr25.sh: New file. | |
320 | * emulparams/avr31.sh: New file. | |
321 | * emulparams/avr35.sh: New file. | |
322 | * emulparams/avr51.sh: New file. | |
323 | ||
861fb55a DJ |
324 | 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> |
325 | Daniel Jacobowitz <dan@codesourcery.com> | |
326 | ||
327 | * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to... | |
328 | (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these | |
329 | two variables. | |
330 | * emulparams/elf32bmipn32-defs.sh: Likewise. | |
331 | * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h. | |
332 | (is_mips_elf): New macro. | |
333 | (stub_file, stub_bfd): New variables. | |
334 | (hook_stub_info): New structure. | |
335 | (hook_in_stub): New function. | |
336 | (mips_add_stub_section): Likewise. | |
337 | (mips_create_output_section_statements): Likewise. | |
338 | (mips_before_allocation): Likewise. | |
339 | (real_func): New variable. | |
340 | (mips_for_each_input_file_wrapper): New function. | |
341 | (mips_lang_for_each_input_file): Likewise. | |
342 | (lang_for_each_input_file): Define. | |
343 | (LDEMUL_BEFORE_ALLOCATION): Likewise. | |
344 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise. | |
345 | ||
a26cc967 AM |
346 | 2008-08-08 Alan Modra <amodra@bigpond.net.au> |
347 | ||
348 | * ldfile.c (ldfile_open_file_search): Use concat. | |
349 | (try_open): Don't use a fixed size pathname buffer. | |
350 | (ldfile_find_command_file): Likewise. | |
351 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If | |
352 | using EXTRA_SHLIB_EXTENSION, don't open twice. | |
353 | ||
323ee3f4 AM |
354 | 2008-08-04 Alan Modra <amodra@bigpond.net.au> |
355 | ||
356 | * Makefile.am (POTFILES.in): Set LC_ALL=C. | |
357 | * Makefile.in: Regenerate. | |
358 | * po/POTFILES.in: Regenerate. | |
359 | ||
cc9b841c AM |
360 | 2008-08-03 Alan Modra <amodra@bigpond.net.au> |
361 | ||
362 | * Makefile.am (spu_ovl.o): Merge rule into.. | |
363 | (spu_ovl.o_c): ..this one. Only run cpp for spu target. | |
364 | * Makefile.in: Regenerate. | |
365 | ||
4b64c41f JK |
366 | 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
367 | ||
368 | Include the spu_ovl ASCII form in the repository files. | |
369 | * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'. | |
370 | * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'. | |
371 | ($(srcdir)/emultempl/spu_ovl.o_c): New target. | |
372 | ($(srcdir)/emultempl/spu_ovl.o): Rename to... | |
373 | (spu_ovl.o): ...this one. | |
374 | * Makefile.in: Regenerate. | |
375 | * emultempl/spu_ovl.o_c: New file. | |
376 | * emultempl/spu_ovl.o: File removed. | |
377 | ||
49314f87 DS |
378 | 2008-07-31 Takashi Ono <t_ono@hkfreak.net> |
379 | ||
380 | * pe-dll.c (generate_relocs): Don't generate relocs for | |
381 | undefined weak symbols. | |
382 | ||
2f9300ef JK |
383 | 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
384 | ||
385 | * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'. | |
386 | ||
0af1713e AM |
387 | 2008-07-30 Alan Modra <amodra@bigpond.net.au> |
388 | ||
389 | * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings. | |
390 | ||
a9dc9481 JM |
391 | 2008-07-18 Joseph Myers <joseph@codesourcery.com> |
392 | ||
393 | * ld.texinfo (--no-wchar-size-warning): Document new ARM option. | |
394 | * emultempl/armelf.em (no_wchar_size_warning): New. | |
395 | (arm_elf_create_output_section_statements): Pass | |
396 | no_wchar_size_warning to arm_elf_create_output_section_statements. | |
397 | (OPTION_NO_WCHAR_SIZE_WARNING): New. | |
398 | (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning. | |
399 | (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning. | |
400 | (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning. | |
401 | ||
b0a0b978 JZ |
402 | 2008-07-15 Jie Zhang <jie.zhang@analog.com> |
403 | ||
404 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. | |
405 | ||
4474d12b CS |
406 | 2008-07-12 Craig Silverstein <csilvers@google.com> |
407 | ||
6fa08786 | 408 | PR ld/6741 |
4474d12b CS |
409 | * configure.in: Check for, and include, libz.a if it is present. |
410 | * configure: Regenerate. | |
411 | * config.in: Regenerate. | |
412 | ||
1bac266e JZ |
413 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> |
414 | ||
415 | Revert | |
416 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> | |
417 | * Makefile.am (eelf32bfin.c): Depend on bfin.em. | |
418 | (eelf32bfinfd.c): Likewise. | |
419 | * Makefile.in: Regenerate. | |
420 | * gen-doc.texi: Set Blackfin. | |
421 | * ld.texinfo: Document --sep-code and Blackfin specific | |
422 | options. | |
423 | * ldmain.c (main): Initialize link_info.sep_code. | |
424 | * lexsup.c (enum option_values): Add OPTION_SEP_CODE. | |
425 | (ld_options[]): Add --sep-code. | |
426 | (parse_args): Deal with --sep-code. | |
427 | * emulparams/bfin.sh (EXTRA_EM_FILE): Define. | |
428 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. | |
429 | * emultempl/bfin.em: New file. | |
430 | ||
8c684578 JZ |
431 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> |
432 | ||
433 | * Makefile.am (eelf32bfin.c): Depend on bfin.em. | |
434 | (eelf32bfinfd.c): Likewise. | |
435 | * Makefile.in: Regenerate. | |
436 | * gen-doc.texi: Set Blackfin. | |
437 | * ld.texinfo: Document --sep-code and Blackfin specific | |
438 | options. | |
439 | * ldmain.c (main): Initialize link_info.sep_code. | |
440 | * lexsup.c (enum option_values): Add OPTION_SEP_CODE. | |
441 | (ld_options[]): Add --sep-code. | |
442 | (parse_args): Deal with --sep-code. | |
443 | * emulparams/bfin.sh (EXTRA_EM_FILE): Define. | |
444 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. | |
445 | * emultempl/bfin.em: New file. | |
446 | ||
b92216aa DS |
447 | 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net> |
448 | ||
449 | *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols | |
450 | starting with ".". | |
451 | Exclude "_IMPORT_DESCRIPTOR_". | |
452 | (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA". | |
453 | (autofilter_symbollist_generic): Don't check for ".text". | |
454 | Exclude "_NULL_IMPORT_DESCRIPTOR". | |
455 | (autofilter_symbollist_i386): Likewise. | |
456 | ||
9795b468 AM |
457 | 2008-07-07 Alan Modra <amodra@bigpond.net.au> |
458 | ||
459 | * emultempl/armelf.em (elf32_arm_add_stub_section): Use | |
460 | bfd_make_section_with_flags. | |
461 | * emultempl/avrelf.em (avr_elf_create_output_section_statements): | |
462 | Likewise. | |
463 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. | |
464 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. | |
465 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise. | |
466 | * emultempl/m68kelf.em (m68k_elf_after_open): Likewise. | |
467 | * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. | |
468 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation): | |
469 | Likewise. | |
470 | ||
4006703d NS |
471 | 2008-07-06 Nathan Sidwell <nathan@codesourcery.com> |
472 | ||
473 | * ld.texinfo (File Commands): Document that INCLUDE can be used in | |
474 | several different places. | |
475 | * ldgram.y (statement, memory_spec, section): Allow INCLUDE. | |
476 | (memory, memory_spec_list): Simplify BNF | |
477 | (memory_spec_list_opt): New rule. | |
478 | * ldlex.l (INCLUDE): Recognize in EXPRESSION. | |
479 | ||
9f1a3ddf AM |
480 | 2008-06-20 Alan Modra <amodra@bigpond.net.au> |
481 | ||
482 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not | |
483 | build overlay stubs" a fatal error. | |
484 | ||
7a283e07 RW |
485 | 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
486 | ||
487 | * config.in: Regenerate. | |
488 | * configure: Regenerate. | |
489 | ||
99302af9 AM |
490 | 2008-06-17 Alan Modra <amodra@bigpond.net.au> |
491 | ||
492 | * emultempl/spuelf.em (extra_stack_space): New variable. | |
493 | (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma. | |
494 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
495 | PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space. | |
496 | * emultempl/spu_ovl.S: Mask interrupts during dma and update of | |
497 | overlay manager structures. | |
498 | * emultempl/spu_ovl.o: Regenerate. | |
499 | ||
7a2de473 HPN |
500 | 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com> |
501 | ||
502 | * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only | |
503 | mention it as being special for global symbols. | |
504 | ||
5590fba9 NC |
505 | 2008-06-12 Nick Clifton <nickc@redhat.com> |
506 | ||
507 | * ldlang.c (print_output_section_statement): If the output section | |
508 | statement has an update_dot_tree expression, apply it to | |
509 | print_dot. | |
510 | (print_input_section): Do not update print_dot if it would move | |
511 | print_dot backwards. | |
512 | (lang_do_assignments_1): If the output section statement has an | |
513 | update_dot_tree expression apply it to dot. | |
514 | ||
967928e9 AM |
515 | 2008-06-07 Alan Modra <amodra@bigpond.net.au> |
516 | ||
517 | * NEWS: Mention archive:path patterns. | |
518 | * ld.texinfo: Likewise. | |
519 | * ldlang.c: Formatting throughout. | |
520 | (archive_path): Only assume "[A-Za-z]:" is a dos drive. | |
521 | (input_statement_is_archive_path): New function, extracted from.. | |
522 | (walk_wild): ..here. | |
523 | (walk_wild_consider_section): Match archive:path here too. | |
524 | (init_map_userdata, sort_def_symbol): Convert to ISO C. | |
525 | * ldmain.c (main): Set link_info.path_separator. | |
526 | * emultempl/spuelf.em (choose_target): Don't set it here. | |
527 | ||
97407faf AM |
528 | 2008-06-06 Alan Modra <amodra@bigpond.net.au> |
529 | ||
530 | * ldlang.c (name_match): New function. | |
531 | (unique_section_p, walk_wild_consider_section): Use it here. | |
532 | (walk_wild_section_general): And here. | |
533 | (archive_path): New function. | |
534 | (walk_wild): Match archive:path filespecs. | |
535 | (open_input_bfds): Don't load archive:path files. | |
536 | * emultempl/spuelf.em (choose_target): Set path_separator. | |
537 | * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output. | |
538 | ||
a61ca861 NC |
539 | 2008-06-04 Nick Clifton <nickc@redhat.com> |
540 | ||
541 | * ld.texinfo (Orphan Sections): Fix texi typo. | |
542 | ||
0fe58ccd NC |
543 | 2008-06-04 Chris Metcalf <cmetcalf@tilera.com> |
544 | ||
545 | * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL. | |
546 | (ld_options): Add entry for --no-fatal-warnings. | |
547 | (parse_args): Handle OPTION_NO_WARN_FATAL. | |
548 | * ld.texinfo (Options): Document new command line switch. | |
549 | ||
d77ec871 AM |
550 | 2008-06-04 Alan Modra <amodra@bigpond.net.au> |
551 | ||
552 | * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg. | |
553 | ||
476d8a22 NC |
554 | 2008-06-02 Nathan Sidwell <nathan@codesourcery.com> |
555 | ||
556 | * ldlang.c (closest_target_match): Skip generic big and little | |
557 | endian ELF targets. | |
558 | ||
de7dd2bd NC |
559 | 2008-05-31 Evandro Menezes <evandro@yahoo.com> |
560 | ||
561 | PR ld/6430 | |
562 | * ld.h (enum sort_order): New. | |
563 | * ldlang.c (lang_check: Fix comment. | |
564 | (lang_common): Sort commons in ascending or descending order. | |
565 | (lang_one_common): Likewise. | |
566 | * lexsup.c (ld_options): Have --sort-common take an option | |
567 | argument. | |
568 | (parse_args): Handle argument to --sort-common. | |
569 | * ld.texinfo (--sort-common): Document new optional argument. | |
570 | * NEWS: Mention new feature. | |
571 | ||
1a51c1a4 | 572 | 2008-05-28 Christophe Lyon <christophe.lyon@st.com> |
4a977a31 | 573 | |
1a51c1a4 NC |
574 | * ld.texinfo: State that farcalls stubs are supported for ARM-EABI |
575 | only. | |
576 | ||
6ca0987a KT |
577 | 2008-05-27 Kai Tietz <kai.tietz@onevision.com> |
578 | ||
579 | * pe-dll.c (fill_edata): Make sure we calculate vma's in | |
580 | type bfd_vma. | |
581 | (generate_reloc): Likewise. | |
582 | (pe_implied_import_dll): Likewise. | |
583 | ||
45f111cc NC |
584 | 2008-05-21 Nick Clifton <nickc@redhat.com> |
585 | ||
586 | PR ld/6519 | |
587 | * ld.texinfo (Orphan Sections): Mention that the linker will | |
588 | provide start and stop symbols for orphaned sections if their | |
589 | names are valid C identifiers. | |
590 | * NEWS: Add an addendum to the description of the linker feature | |
591 | for providing orphan section start and end symbols. | |
592 | ||
7fb9f789 NC |
593 | 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com> |
594 | ||
595 | * configure.in (--enable-got): New option. Handle it. | |
596 | * configure: Regenerate. | |
597 | * config.in: Regenerate. | |
598 | * emultempl/m68kelf.em: (got_handling_target_default): New shell | |
599 | variable. | |
600 | (GOT_HANDLING_TARGET_DEFAULT): New macro. | |
601 | (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure | |
602 | option if one was given. | |
603 | (got_handling): New static variable. | |
604 | (elf_m68k_create_output_section_statements): New static function | |
605 | implementing hook. | |
606 | (PARSE_AND_LIST_PROLOGUE): Define shell variable. | |
607 | (OPTION_GOT): New macro. | |
608 | (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify | |
609 | --got option. | |
610 | (got): New linker option. | |
611 | (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string | |
612 | for --got option. | |
613 | (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got | |
4a977a31 | 614 | option. |
7fb9f789 NC |
615 | * ld.texinfo: Document --got=<type> option. |
616 | * gen-doc.texi: Add M68K. | |
617 | * NEWS: Mention the new feature. | |
618 | ||
41911f68 NC |
619 | 2008-05-21 Evandro Menezes <evandro@yahoo.com> |
620 | ||
621 | PR ld/6430 | |
622 | * ld.texinfo (--sort-common): Correct documentation to indicate | |
623 | that sorting is performed by alignment, not size, biggest | |
624 | alignment first. | |
625 | ||
726150b7 NC |
626 | 2008-05-21 Christophe Lyon <christophe.lyon@st.com> |
627 | Nick Clifton <nickc@redhat.com> | |
628 | ||
629 | * ld.texinfo (ARM): Document --stub-group-size=N option. | |
630 | Move description of --pic-veneer option into the ARM section. | |
631 | * NEWS: Mention the support for long function calls. | |
632 | ||
906e58ca | 633 | 2008-05-15 Christophe Lyon <christophe.lyon@st.com> |
4a977a31 | 634 | |
906e58ca NC |
635 | * emultempl/armelf.em (build_section_lists): New function. |
636 | (stub_file): Define. | |
637 | (need_laying_out): Define. | |
638 | (group_size): Define. | |
639 | (hook_stub_info): Define. | |
640 | (hook_in_stub): New function. | |
641 | (elf32_arm_add_stub_section): New function. | |
642 | (gldarm_layout_sections_again): New function. | |
643 | (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate | |
644 | stubs for long calls if needed. | |
645 | (arm_elf_create_output_section_statements): create stub_file bfd. | |
646 | (arm_for_each_input_file_wrapper): New function. | |
647 | (arm_lang_for_each_input_file): New function. | |
648 | (lang_for_each_input_file): Define. | |
649 | (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE. | |
650 | (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size. | |
651 | (PARSE_AND_LIST_OPTIONS): Add option stub-group-size. | |
652 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case. | |
653 | (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish. | |
654 | * lang.c (print_input_statement): Skip if bfd has | |
655 | BFD_LINKER_CREATED. | |
656 | ||
8944f3c2 AM |
657 | 2008-05-14 Alan Modra <amodra@bigpond.net.au> |
658 | ||
659 | * Makefile.in: Regenerate. | |
660 | ||
0ead4f8d KT |
661 | 2008-05-09 Kai Tietz <kai.tietz@onevision.com> |
662 | ||
663 | ld/PR6502 | |
8944f3c2 AM |
664 | * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead |
665 | of long and change return type to bfd_vma. | |
0ead4f8d KT |
666 | (definfo): Change type of address from long to bfd_vma. |
667 | (set_pep_value): Replace strtoul to strtoull. | |
668 | (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long.. | |
8944f3c2 AM |
669 | * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print |
670 | ImageBase. | |
0ead4f8d KT |
671 | (quick_reloc): Change argument address from int to bfd_size_type. |
672 | ||
e7fc76dd TT |
673 | 2008-05-08 Tom Tromey <tromey@redhat.com> |
674 | ||
675 | * ld.texinfo (PowerPC64 ELF64): Fix typo. | |
676 | ||
8374f9d4 AM |
677 | 2008-05-08 Alan Modra <amodra@bigpond.net.au> |
678 | ||
679 | * elf32_spu.sh (OTHER_SECTIONS): Add "._ea". | |
680 | * elf32ppc.sh: If building with spu support, put ".data.spehandle" | |
681 | sections at the start of ".data" and provide a symbol to locate | |
682 | the directory of embedded spe programs. | |
683 | ||
8c0848b5 AM |
684 | 2008-05-08 Alan Modra <amodra@bigpond.net.au> |
685 | ||
686 | * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct | |
687 | MAX_K. | |
688 | (fold_binary <SEGMENT_START>): Set expld.result.section to | |
689 | current section. Expand comment. Formatting. | |
690 | (fold_name <DEFINED>): Set expld.result.section to current section. | |
691 | ||
a2cab753 NS |
692 | 2008-04-28 Nathan Sidwell <nathan@codesourcery.com> |
693 | ||
694 | * ldlang.c (lang_size_sections_1): Don't check LMA overflow on | |
695 | non-load sections. | |
696 | ||
bec9537e MF |
697 | 2008-04-25 Michael Frysinger <vapier@gentoo.org> |
698 | ||
699 | * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd | |
700 | and targ_extra_emuls to elf32bfin. | |
701 | ||
6194aaab L |
702 | 2008-04-23 Paolo Bonzini <bonzini@gnu.org> |
703 | ||
704 | * aclocal.m4: Regenerate. | |
705 | * configure: Regenerate. | |
706 | ||
da6fa31a KT |
707 | 2008-04-03 Kai Tietz <kai.tietz@onevision.com> |
708 | ||
709 | * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__. | |
710 | ||
9be9d352 AM |
711 | 2008-04-08 Alan Modra <amodra@bigpond.net.au> |
712 | ||
713 | * po/POTFILES.in: Regenerate. | |
714 | ||
9dcc4794 AM |
715 | 2008-04-08 Alan Modra <amodra@bigpond.net.au> |
716 | ||
717 | * emultempl/spuelf.em (auto_overlay, auto_overlay_file, | |
718 | auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars. | |
719 | (spu_before_allocation): Warn on --auto-overlay and existing overlays. | |
720 | (struct tflist, clean_tmp): Move. | |
721 | (new_tmp_file): New function, extracted from.. | |
722 | (embedded_spu_file): ..here. | |
723 | (spu_elf_open_overlay_script, spu_elf_relink): New function. | |
724 | (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params. | |
725 | Warn on --auto-overlay and zero local store. | |
726 | (gld${EMULATION_NAME}_choose_target): New function to stash argv. | |
727 | (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK, | |
728 | OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE, | |
729 | OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define. | |
730 | (PARSE_AND_LIST_LONGOPTS): Add entries for new options. | |
731 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
732 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
733 | (LDEMUL_CHOOSE_TARGET): Define. | |
734 | ||
5f69259e KT |
735 | 2008-04-03 Kai Tietz <kai.tietz@onevision.com> |
736 | ||
737 | PR ld/6026 | |
738 | * pe-dll.c (make_head): Fix iat and thunk addend offset. | |
739 | ||
95f0efb9 NC |
740 | 2008-03-31 Nick Clifton <nickc@redhat.com> |
741 | ||
742 | * po/fr.po: Updated French translation. | |
743 | ||
f36d5d55 ILT |
744 | 2008-03-24 Ian Lance Taylor <iant@google.com> |
745 | ||
746 | The sha1 code is now in libiberty. | |
747 | * sha1.c: Remove. | |
748 | * sha1.h: Remove. | |
749 | * Makefile.am (CFILES): Remove sha1.c. | |
750 | (HFILES): Remove sha1.h. | |
751 | (OFILES): Remove sha1.o. | |
752 | (ld_new_SOURCES): Remove sha1.c. | |
753 | (sha1.o): Remove target. | |
754 | * Makefile.in: Rebuild. | |
755 | ||
c65be8d7 AM |
756 | 2008-03-20 Alan Modra <amodra@bigpond.net.au> |
757 | ||
758 | * emultempl/spuelf.em: Update calls to elf32-spu.c funcs. | |
759 | ||
58c85be7 RW |
760 | 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
761 | ||
762 | * aclocal.m4: Regenerate. | |
763 | * configure: Likewise. | |
764 | * Makefile.in: Likewise. | |
765 | ||
771a9c5f AM |
766 | 2008-03-14 Alan Modra <amodra@bigpond.net.au> |
767 | ||
768 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect | |
769 | spu_elf_build_stubs with is_spu_target. | |
770 | ||
50e7d84b AM |
771 | 2008-03-13 Alan Modra <amodra@bigpond.net.au> |
772 | ||
773 | * Makefile.am: Run "make dep-am". | |
774 | * Makefile.in: Regenerate. | |
775 | * configure: Regenerate. | |
776 | ||
9e448631 NC |
777 | 2008-03-06 Joseph Myers <joseph@codesourcery.com> |
778 | Roman Zippel <zippel@linux-m68k.org> | |
779 | ||
780 | * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define. | |
781 | (COMMONPAGESIZE): Define. | |
782 | ||
07dfcf38 NC |
783 | 2008-02-22 Nick Clifton <nickc@redhat.com> |
784 | ||
785 | PR ld/5785 | |
786 | * ldlang.c (lang_size_sections_1): Honour the setting of an | |
787 | lma_region even if there is no vma region set, or the vma region | |
788 | is the same as the lma region. | |
789 | ||
b34c1498 NC |
790 | 2008-02-18 Nick Clifton <nickc@redhat.com> |
791 | ||
792 | * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a | |
793 | relocatable link. | |
794 | * scripttempl/elf32cr16.sc: Likewise. | |
795 | * scripttempl/elf32cr16c.sc: Likewise. | |
796 | * scripttempl/elf32crx.sc: Likewise. | |
797 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
798 | * scripttempl/elf_chaos.sc: Likewise. | |
799 | * scripttempl/elfd10v.sc: Likewise. | |
800 | * scripttempl/elfi370.sc: Likewise. | |
801 | * scripttempl/elfm68hc11.sc: Likewise. | |
802 | * scripttempl/elfm68hc12.sc: Likewise. | |
803 | * scripttempl/ip2k.sc: Likewise. | |
804 | * scripttempl/iq2000.sc: Likewise. | |
805 | * scripttempl/mep.sc: Likewise. | |
806 | * scripttempl/v850.sc: Likewise. | |
807 | * scripttempl/xstormy16.sc: Likewise. | |
808 | ||
819da74e AM |
809 | 2008-02-16 Alan Modra <amodra@bigpond.net.au> |
810 | ||
811 | PR ld/5761 | |
812 | * ldexp.c (fold_name <LOADADDR>): Check result of evaluating | |
813 | load_base before calling make_abs. | |
814 | ||
5503fea1 AM |
815 | 2008-02-15 Alan Modra <amodra@bigpond.net.au> |
816 | ||
817 | * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id. | |
818 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
819 | Likewise. | |
820 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): | |
821 | Likewise. | |
822 | * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all | |
823 | uses with.. | |
824 | (is_ppc_elf): ..this new macro. | |
825 | ||
f13a99db AM |
826 | 2008-02-15 Alan Modra <amodra@bigpond.net.au> |
827 | ||
828 | * ldmain.h (output_bfd): Delete. | |
829 | * ldmain.c (output_bfd): Delete. | |
830 | Replace all occurrences of output_bfd with link_info.output_bfd. | |
831 | * ldcref.c: Likewise. | |
832 | * ldctor.c: Likewise. | |
833 | * ldemul.c: Likewise. | |
834 | * ldexp.c: Likewise. | |
835 | * ldfile.c: Likewise. | |
836 | * ldlang.c: Likewise. | |
837 | * ldmisc.c: Likewise. | |
838 | * ldwrite.c: Likewise. | |
839 | * pe-dll.c: Likewise. | |
840 | * emultempl/aix.em: Likewise. | |
841 | * emultempl/alphaelf.em: Likewise. | |
842 | * emultempl/armcoff.em: Likewise. | |
843 | * emultempl/armelf.em: Likewise. | |
844 | * emultempl/avrelf.em: Likewise. | |
845 | * emultempl/beos.em: Likewise. | |
846 | * emultempl/elf-generic.em: Likewise. | |
847 | * emultempl/elf32.em: Likewise. | |
848 | * emultempl/gld960.em: Likewise. | |
849 | * emultempl/hppaelf.em: Likewise. | |
850 | * emultempl/irix.em: Likewise. | |
851 | * emultempl/linux.em: Likewise. | |
852 | * emultempl/lnk960.em: Likewise. | |
853 | * emultempl/m68hc1xelf.em: Likewise. | |
854 | * emultempl/mmix-elfnmmo.em: Likewise. | |
855 | * emultempl/mmo.em: Likewise. | |
856 | * emultempl/pe.em: Likewise. | |
857 | * emultempl/pep.em: Likewise. | |
858 | * emultempl/ppc32elf.em: Likewise. | |
859 | * emultempl/ppc64elf.em: Likewise. | |
860 | * emultempl/scoreelf.em: Likewise. | |
861 | * emultempl/sh64elf.em: Likewise. | |
862 | * emultempl/spuelf.em: Likewise. | |
863 | * emultempl/sunos.em: Likewise. | |
864 | * emultempl/vanilla.em: Likewise. | |
865 | * emultempl/vxworks.em: Likewise. | |
866 | * emultempl/xtensaelf.em: Likewise. | |
867 | * emultempl/z80.em: Likewise. | |
868 | * ldlang.c (open_output): Don't return output, instead write | |
869 | link_info_output_bfd directly. | |
870 | * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator | |
871 | with link_info.output_bfd->xvec. | |
872 | * emultempl/hppaelf.em: Likewise. | |
873 | * emultempl/ppc32elf.em: Likewise. | |
874 | * emultempl/ppc64elf.em: Likewise. | |
875 | * emultempl/spuelf.em: Likewise. | |
876 | ||
ff7a0acf AM |
877 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
878 | ||
879 | * ldlang.c (new_afile): Don't pass unadorned NULL to concat. | |
880 | * ldfile.c (ldfile_add_library_path): Likewise. | |
881 | * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise. | |
882 | * emultempl/lnk960.em (lnk960_before_parse): Likewise. | |
883 | * emultempl/spuelf.em (embedded_spu_file): Likewise. | |
884 | ||
2e444bea AM |
885 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
886 | ||
887 | * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as | |
888 | a "present" bit rather than low bit of .buf. Correct indexing | |
889 | into _ovly_buf_table. Use relative loads and stores to access | |
890 | overlay manager local vars. | |
891 | * emultempl/spu_ovl.o: Regenerate. | |
892 | ||
bb8541b9 L |
893 | 2008-02-04 H.J. Lu <hongjiu.lu@intel.com> |
894 | ||
895 | PR 5715 | |
896 | * configure: Regenerated. | |
897 | ||
f8a52b59 BW |
898 | 2008-01-31 Marc Gauthier <marc@tensilica.com> |
899 | ||
900 | * configure.tgt (xtensa*-*-*): Recognize processor variants. | |
901 | ||
00b2bfc1 NC |
902 | 2008-01-28 Fabian Groffen <grobian@gentoo.org> |
903 | ||
904 | * configure.tgt (x86_64-*-solaris2): Add support for this target. | |
905 | ||
6e73d595 NC |
906 | 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr> |
907 | ||
908 | PR ld/5652 | |
909 | * genscripts.sh: Check for the existence of BASH_LINENO not just | |
910 | the BASH shell before generating line numbers in the emulation | |
911 | file. | |
912 | ||
47f6dab9 AM |
913 | 2008-01-28 Alan Modra <amodra@bigpond.net.au> |
914 | ||
915 | * emultempl/spu_ovl.S: Rewrite. | |
916 | * emultempl/spu_ovl.o: Regenerate. | |
917 | * emultempl/spuelf.em (toe): Delete. | |
918 | (spu_place_special_section): Add param to control section placement. | |
919 | Adjust callers. | |
920 | (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data | |
921 | changes. | |
922 | (spu_before_allocation): Adjust spu_elf_size_stubs call. | |
923 | (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call. | |
924 | ||
29183214 L |
925 | 2008-01-25 H.J. Lu <hongjiu.lu@intel.com> |
926 | ||
927 | PR ld/5670 | |
928 | * ldlang.c (process_insert_statements): Silence gcc 4.1 alias | |
929 | warning. | |
930 | ||
53d25da6 AM |
931 | 2008-01-25 Alan Modra <amodra@bigpond.net.au> |
932 | ||
933 | * ld.texinfo (INSERT): Describe. | |
934 | * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete. | |
935 | (INSERT_K, AFTER, BEFORE): Add as tokens. | |
936 | (ifile_p1): Handle INSERT statements. | |
937 | (saved_script_handle, force_make_executable): Move to.. | |
938 | * ldmain.c: ..here. | |
939 | (previous_script_handle): New global var. | |
940 | * ldmain.h (saved_script_handle, force_make_executable): Declare. | |
941 | (previous_script_handle): Likewise. | |
942 | * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens. | |
943 | * lexsup.c (parge_args <-T>): Set previous_script_handle. | |
944 | * ldlang.c (lang_for_each_statement_worker): Handle insert statement. | |
945 | (map_input_to_output_sections, print_statement): Likewise. | |
946 | (lang_size_sections_1, lang_do_assignments_1): Likewise. | |
947 | (insert_os_after): New function, extracted from.. | |
948 | (lang_insert_orphan): ..here. | |
949 | (process_insert_statements): New function. | |
950 | (lang_process): Call it. | |
951 | (lang_add_insert): New function. | |
952 | * ldlang.h (lang_insert_statement_enum): New. | |
953 | (lang_insert_statement_type): New. | |
954 | (lang_statement_union_type): Add insert_statement. | |
955 | (lang_add_insert): Declare. | |
956 | ||
c19f06f2 BW |
957 | 2008-01-18 Bob Wilson <bob.wilson@acm.org> |
958 | ||
959 | * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id | |
960 | changes from elf.sc. | |
8944f3c2 | 961 | |
14ac84b4 AM |
962 | 2008-01-16 Alan Modra <amodra@bigpond.net.au> |
963 | ||
964 | * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test. | |
965 | ||
3d00b095 AM |
966 | 2008-01-16 Alan Modra <amodra@bigpond.net.au> |
967 | ||
968 | * ldlang.h (lang_afile_asection_pair_statement_enum): Delete. | |
969 | (lang_afile_asection_pair_statement_type): Delete. | |
970 | (lang_statement_union_type): Delete afile_asection_pair_statement. | |
971 | * ldlang.c (lang_insert_orphan): Delete case handling the above. | |
972 | (map_input_to_output_sections, print_statement): Likewise. | |
973 | ||
58da7b1b KK |
974 | 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
975 | ||
976 | * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE | |
977 | with __data_start. | |
978 | * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise. | |
979 | ||
74f0fb50 AM |
980 | 2008-01-15 Alan Modra <amodra@bigpond.net.au> |
981 | ||
982 | PR 5604 | |
983 | * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry | |
984 | syms to _bfd_elf_gc_keep. | |
985 | * emultempl/ppc64elf.em (ppc_before_allocation): Don't call | |
986 | ppc64_elf_edit_opd if no_opd_opt. | |
987 | ||
ac69cbc6 TG |
988 | 2008-01-11 Tristan Gingold <gingold@adacore.com> |
989 | Eric Botcazou <ebotcazou@adacore.com> | |
990 | ||
991 | * ldlang.c (lang_end): Warns if the entry point is not found when | |
992 | --gc-sections. | |
993 | Emit an error if no root is specified when --gc-sections -r. | |
994 | * ld.texinfo (Options): Document that --gc-sections is compatible | |
995 | with -r and -q. | |
996 | * ldmain.c (main): Do not error out if -r and --gc-sections. | |
997 | * scripttempl/elf.sc: Emit ENTRY command only if relocating. | |
998 | ||
71934f94 NC |
999 | 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com> |
1000 | ||
1001 | PR ld/5533 | |
1002 | * ldlang.c (lang_end): Issue a warning for a missing start symbol | |
1003 | of a shared library if the symbol was specified on the command | |
1004 | line. | |
1005 | ||
d5465ba2 AM |
1006 | 2008-01-10 Alan Modra <amodra@bigpond.net.au> |
1007 | ||
1008 | * ld.texinfo (--gc-sections): Describe linker behaviour. | |
1009 | ||
6c7ac64e | 1010 | For older changes see ChangeLog-2007 |
252b5132 RH |
1011 | \f |
1012 | Local Variables: | |
1013 | mode: change-log | |
1014 | left-margin: 8 | |
1015 | fill-column: 74 | |
1016 | version-control: never | |
1017 | End: |