]>
Commit | Line | Data |
---|---|---|
4970f871 NS |
1 | 2005-12-12 Nathan Sidwell <[email protected]> |
2 | ||
3 | * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. | |
4 | (eelf32mt.c): Update target name and dependencies. | |
5 | * Makefile.in: Rebuilt. | |
6 | * configure.tgt: Replace ms1 arch with mt arch. | |
7 | * emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update | |
8 | comment. | |
9 | ||
bd6791bc HPN |
10 | 2005-12-11 Bernhard Fischer <[email protected]> |
11 | ||
12 | * scripttempl/armbpabi.sc: Fix typo in comment for .ctors. | |
13 | * scripttempl/elf.sc: Ditto. | |
14 | * scripttempl/elf32sh-symbian.sc: Ditto. | |
15 | * scripttempl/elf_chaos.sc: Ditto. | |
16 | * scripttempl/elfd10v.sc: Ditto. | |
17 | * scripttempl/elfd30v.sc: Ditto. | |
18 | * scripttempl/elfxtensa.sc: Ditto. | |
19 | * scripttempl/iq2000.sc: Ditto. | |
20 | * scripttempl/xstormy16.sc: Ditto. | |
21 | ||
0ba07910 AM |
22 | 2005-12-08 Alan Modra <[email protected]> |
23 | ||
24 | * emultempl/ppc32elf.em (emit_stub_syms): New var. | |
25 | (ppc_after_open): Pass it to ppc_elf_select_plt_layout. | |
26 | (PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define. | |
27 | (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. | |
28 | (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms. | |
29 | (PARSE_AND_LIST_OPTIONS): Handle it. | |
30 | ||
36230712 AM |
31 | 2005-12-08 Alan Modra <[email protected]> |
32 | ||
33 | * pe-dll.c (build_filler_bfd): Conform error message to standard. | |
34 | (pe_dll_generate_implib): Use %E in error message. | |
35 | (add_bfd_to_link): Likewise. | |
36 | (pe_implied_import_dll): Likewise. | |
37 | ||
fe21a8fc L |
38 | 2005-12-07 Thiemo Seufer <[email protected]> |
39 | H.J. Lu <[email protected]> | |
40 | ||
41 | PR ld/1932 | |
42 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): | |
43 | Adjust bfd_elf_record_link_assignment call. | |
44 | ||
45 | * ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol. | |
46 | ||
b251bf6f JB |
47 | 2005-11-25 Jan Beulich <[email protected]> |
48 | ||
49 | * Makefile.am: Make configdoc.texi writeable before trying | |
50 | to write to it. | |
51 | * Makefile.in: Refresh. | |
52 | ||
390fbbf1 AM |
53 | 2005-11-24 Alan Modra <[email protected]> |
54 | ||
55 | * ldlang.c (lang_output_section_find_by_flags): Add match_type param. | |
56 | Run two passes, first using match_type, second without. | |
57 | * ldlang.h (lang_match_sec_type_func): New typedef. | |
58 | (lang_output_section_find_by_flags): Update prototype. | |
59 | bfd_match_sections_by_type and lang_output_section_find_by_flags. | |
60 | * emultempl/pe.em (place_orphan): Likewise. | |
61 | ||
be529132 AM |
62 | 2005-11-24 Alan Modra <[email protected]> |
63 | ||
64 | * ldlang.c (lang_insert_orphan): Skip first assignment to dot | |
65 | in script when looking for place to insert orphan statements. | |
66 | ||
e87deb82 AM |
67 | 2005-11-18 Alan Modra <[email protected]> |
68 | ||
69 | * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme. | |
70 | (.got, .toc1, .opd): Likewise. | |
71 | ||
94b50910 AM |
72 | 2005-11-18 Alan Modra <[email protected]> |
73 | ||
74 | * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional | |
75 | changes to section alignment. | |
76 | * ldmisc.c (vfinfo): Handle %ld and %lu. | |
77 | ||
dff70155 MM |
78 | 2005-11-16 Mark Mitchell <[email protected]> |
79 | ||
80 | * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi.. | |
81 | * Makefile.in: Regenerated. | |
82 | * ld.texinfo: Include configdoc.texi and ldver.texi in man pages. | |
83 | Add @file documentation. | |
be529132 | 84 | |
7b986e99 AM |
85 | 2005-11-17 Alan Modra <[email protected]> |
86 | ||
87 | * ldlang.h (lang_input_section_type): Remove "ifile" field. | |
88 | (lang_insert_orphan, lang_add_section): Update prototypes. | |
89 | * ldlang.c (lang_insert_orphan): Remove "file" param. | |
90 | (lang_add_section): Likewise. Update all callers. | |
91 | (wild_sort): Get an input section's bfd via "section->owner". | |
92 | (size_input_section): Access just_syms_flag via bfd usrdata. | |
93 | (lang_place_orphans): Update ldemul_place_orphan call. | |
94 | * ldemul.h (ldemul_place_orphan): Remove input_statement param. | |
95 | (struct ld_emulation_xfer_struct <place_orphan>): Likewise. | |
96 | * ldemul.c (ldemul_place_orphan): Likewise. | |
97 | * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata. | |
98 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. | |
99 | * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner. | |
100 | (sort_sections): Likewise. | |
101 | (place_orphan): Remove "file" param. Adjust lang_add_section call. | |
102 | * emultempl/elf32.em (place_orphan): Remove "file" param. Adjust | |
103 | lang_add_section and lang_insert_orphan calls. | |
104 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust | |
105 | lang_add_section call. | |
106 | (build_section_lists): Access just_syms_flag via bfd usrdata. | |
107 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust | |
108 | lang_add_section call. | |
109 | * emultempl/mmo.em (mmo_place_orphan): Remove "file" param. Adjust | |
110 | lang_add_section and lang_insert_orphan calls. | |
111 | * emultempl/pe.em (place_orphan): Likewise. Access bfd via section | |
112 | owner. | |
113 | * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust | |
114 | lang_add_section call. | |
115 | (build_toc_list): Access just_syms_flag via bfd usrdata. | |
116 | (build_section_lists): Likewise. | |
117 | * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file" | |
118 | param. Adjust place_orphan call. | |
119 | (ld_build_required_section_dependence): Access bfd via section owner. | |
120 | ||
bd4d42c1 AM |
121 | 2005-11-16 Alan Modra <[email protected]> |
122 | ||
123 | * ldlang.h (lang_output_section_statement_type): Add prev. | |
124 | * ldlang.c (new_afile): Always init header.type. | |
125 | (output_statement_newfunc): Set os.prev. | |
126 | (output_prev_sec_find): Use os.prev. | |
127 | (lang_enter_output_section_statement): Formatting. | |
128 | (lang_final, lang_add_target, lang_add_fill): Likewise. | |
129 | (lang_add_data, lang_add_reloc): Likewise. | |
130 | (lang_add_attribute): Only alloc the header. | |
131 | ||
7270c5ed AM |
132 | 2005-11-16 Alan Modra <[email protected]> |
133 | ||
134 | * ld.texinfo (Forced Output Alignment): Specify that this is an | |
135 | alignment increase, not an override. | |
136 | * ldlang.c (init_os): Set output section alignment here.. | |
137 | (lang_add_section): ..rather than here. | |
138 | (lang_size_sections_1): Consolidate alignment code. Warn if section | |
139 | alignment affects start address when explicit address given. | |
140 | ||
a541e3ce SE |
141 | 2005-11-07 Steve Ellcey <[email protected]> |
142 | ||
143 | * configure: Regenerate after modifying bfd/warning.m4. | |
144 | ||
70487fb2 AM |
145 | 2005-11-07 Olaf Hering <[email protected]> |
146 | ||
147 | * ldmain.c (main): Add \n to error message. | |
148 | ||
384a9dda AM |
149 | 2005-11-04 Alan Modra <[email protected]> |
150 | ||
151 | * ldlang.c (struct output_statement_hash_entry): Don't indirect to os. | |
152 | (output_statement_newfunc): Rewrite. | |
153 | (lang_output_section_find_1): Merge into.. | |
154 | (lang_output_section_find): ..here. | |
155 | (lang_output_section_statement_lookup_1): Rewrite to handle | |
156 | multiple sections with the same name. | |
157 | (output_statement_table_init): Commonise error message. | |
158 | (lang_init, open_output): Likewise. | |
159 | ||
6f2942ed PB |
160 | 2005-11-03 Paul Brook <[email protected]> |
161 | ||
162 | * scripttempl/elf.sc: Add .init_array.* and .fini_array.*. | |
163 | * scripttempl/armbpabi.sc: Make init/fini array consistent with | |
164 | elf.sc. | |
165 | * scripttempl/elf32sh-symbian.sc: Ditto. | |
166 | * scripttempl/elfxtensa.sc: Ditto. | |
167 | ||
7fabd029 AM |
168 | 2005-11-03 Alan Modra <[email protected]> |
169 | ||
170 | * ldlang.h (lang_output_section_statement_type): Rearrange. Remove | |
171 | memspec. Make "processed" a bitfield. | |
172 | (lang_data_statement_type, lang_reloc_statement_type): Rename | |
173 | output_vma to output_offset. | |
174 | * ldlang.c (lang_output_section_statement_lookup_1): Init | |
175 | all_input_readonly. Don't init memspec. | |
176 | (init_os): Remove incorrect comment. | |
177 | (print_data_statement, print_reloc_statement): Adjust for | |
178 | lang_data_statement_type and lang_reloc_statement_type change. | |
179 | (lang_size_sections_1, lang_add_reloc): Likewise. | |
180 | * ldwrite.c (build_link_order): Likewise. | |
181 | ||
a55ff675 MM |
182 | 2005-10-30 Mark Mitchell <[email protected]> |
183 | ||
184 | * lexsup.c (help): Document "@FILE". | |
185 | ||
9e5169a8 L |
186 | 2005-10-30 H.J. Lu <[email protected]> |
187 | ||
188 | * Makefile.am: Run "make dep-am". | |
189 | * Makefile.in: Regenerated. | |
190 | ||
191 | * dep-in.sed: Replace " ./" with " ". | |
192 | ||
3c9b82ba NC |
193 | 2005-10-25 Arnold Metselaar <[email protected]> |
194 | ||
195 | * Makefile.am: Add support for Z80 | |
196 | * Makefile.in: Regenerated | |
197 | * configure.tgt: Add z80-*-coff | |
198 | * emulparams/z80.sh: New file. | |
199 | * emultempl/z80.em: New file. | |
200 | * scripttempl/z80.sc New file. | |
201 | * NEWS: Mention this new support. | |
202 | ||
3caac5b8 AM |
203 | 2005-10-25 Alan Modra <[email protected]> |
204 | ||
205 | * po/ld.pot: Regenerate. | |
206 | ||
4f9c04f7 AM |
207 | 2005-10-25 Chris Metcalf <[email protected]> |
208 | ||
209 | * ld.texinfo (--reduce-memory-overheads): Fix typo. | |
210 | ||
ccd2ec6a L |
211 | 2005-10-23 H.J. Lu <[email protected]> |
212 | ||
213 | PR ld/1487 | |
214 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call | |
215 | bfd_match_sections_by_type to match section types. | |
216 | ||
217 | * ldlang.c (init_os): Take the input section. Call | |
218 | bfd_init_private_section_data if the input section isn't NULL. | |
219 | (exp_init_os): Pass NULL to init_os. | |
220 | (map_input_to_output_sections): Likewise. | |
221 | (lang_add_section): Pass the input section to init_os. | |
222 | ||
3242b11e PB |
223 | 2005-10-19 Paul Brook <[email protected]> |
224 | ||
225 | * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS. | |
226 | ||
ecca9871 L |
227 | 2005-10-15 H.J. Lu <[email protected]> |
228 | ||
229 | PR ld/1467 | |
230 | * emultempl/elf32.em: Include "elf-bfd.h". | |
231 | (gld${EMULATION_NAME}_place_orphan): Check section type and | |
232 | don't use section name for ELF input sections. | |
233 | ||
234 | * ld.texinfo: Document orphan section processing. | |
235 | ||
236 | * ldlang.c (lang_output_section_find_by_flags): Match section | |
237 | types by calling bfd_match_sections_by_type. | |
238 | ||
86043bbb MM |
239 | 2005-10-13 Mark Mitchell <[email protected]> |
240 | ||
241 | * ld.texino: Describe double-quoted string syntax for version | |
242 | nodes. | |
243 | * ldlang.h (lang_new_vers_pattern): Add literal_p parameter. | |
244 | * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER. | |
245 | Adjust calls to lang_new_vers_pattern to pass literal_p argument. | |
246 | * ldlang.c (lang_vers_match): Fix indentation. Do not glob-match | |
247 | version nodes without a pattern. | |
248 | (lang_new_vers_pattern): Add literal_p parameter. | |
249 | (lang_do_version_exports_section): Pass it. | |
250 | ||
3e8a519c MM |
251 | 2005-10-12 Mark Mitchell <[email protected]> |
252 | ||
253 | * NEWS: Mention @file. | |
254 | ||
f0e0fb23 L |
255 | 2005-10-05 H.J. Lu <[email protected]> |
256 | ||
257 | PR ld/1396 | |
258 | * ldcref.c (check_refs): Accept bfd_boolean. | |
259 | (check_local_sym_xref): Pass FALSE to check_refs. | |
260 | (check_nocrossref): Pass TRUE to check_refs. | |
261 | (check_refs_info): Add bfd_boolean. | |
262 | (check_refs): Add bfd_boolean to check_refs_info. | |
263 | (check_reloc_refs): Match relocations with proper symbols. | |
264 | ||
265 | * ldmisc.c (vfinfo): Don't add extra ":\n". | |
266 | ||
e60cc415 DS |
267 | 2005-10-05 Danny Smith <[email protected]> |
268 | ||
269 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set | |
270 | default entry symbol to ENTRY here. | |
271 | * scripttempl/pe.sc: Not here. | |
272 | ||
4520f868 JW |
273 | 2005-09-30 James E Wilson <[email protected]> |
274 | ||
275 | * ldlang.c (lang_startup): Add missing ": " to einfo call. | |
276 | ||
b898a385 L |
277 | 2005-09-30 H.J. Lu <[email protected]> |
278 | ||
279 | * Makefile.am: Run "make dep-am". | |
280 | * Makefile.in: Regenerated. | |
281 | * aclocal.m4: Likewise. | |
282 | ||
750877ba L |
283 | 2005-09-30 H.J. Lu <[email protected]> |
284 | ||
285 | * ldlang.c (output_statement_hash_entry): New type. | |
286 | (output_statement_table): New variable for hash table. | |
287 | (output_statement_newfunc): New function. | |
288 | (output_statement_table_init): Likewise. | |
289 | (output_statement_table_free): Likewise. | |
290 | (lang_init): Call output_statement_table_init. | |
291 | (lang_finish): Renamed to ... | |
292 | (lang_end): This. | |
293 | (lang_process): Updated. | |
294 | (lang_finish): New function. | |
295 | (lang_output_section_find_1): Use hash table. | |
296 | (lang_output_section_statement_lookup_1): Likewise. | |
297 | ||
298 | * ldlang.h (lang_finish): New. | |
299 | ||
300 | * ldmain.c (main): Call lang_finish. | |
301 | ||
869b9d07 MM |
302 | 2005-09-30 Mark Mitchell <[email protected]> |
303 | ||
304 | * ldmain.c (main): Use expandargv. | |
305 | ||
95f4309b | 306 | 2005-09-30 Catherine Moore <[email protected]> |
384a9dda | 307 | |
95f4309b CM |
308 | * Makefile.am: Bfin support. |
309 | * Makefile.in: Regenerated. | |
310 | * aclocal.m4: Regenerated. | |
311 | * configure.tgt: Bfin support. | |
312 | * emulparams/bfin.sh: New file. | |
313 | * emultempl/bfin.em: New file. | |
314 | ||
a70c2403 NC |
315 | 2005-09-30 Matthias Kurz <[email protected]> |
316 | ||
317 | * ld.h: Prevent the inclusion of <libintl.h> from the Solaris | |
318 | version of <locale.h> when ENABLE_NLS is not defined. | |
319 | ||
bbf115d3 L |
320 | 2005-09-27 H.J. Lu <[email protected]> |
321 | ||
322 | * ld.texinfo (ALIGN): Document it as forcing output section | |
323 | alignment. | |
324 | ||
325 | * ldgram.y (ALIGN): Support it for forcing output section | |
326 | alignment. | |
327 | ||
a5df8c84 AM |
328 | 2005-09-20 Alan Modra <[email protected]> |
329 | ||
f68d3f78 AM |
330 | * ldlang.h (lang_output_section_statement_struct): Change type of |
331 | "processed" to bfd_boolean. | |
332 | * ldexp.c (fold_name): Update references to os->processed. | |
333 | * ldlang.c (lang_output_section_statement_lookup_1): Likewise. | |
334 | (lang_size_sections_1): Likewise. | |
335 | (lang_reset_memory_regions): Likewise. | |
336 | ||
a5df8c84 AM |
337 | PR ld/1353 |
338 | * ldlang.c (lang_size_sections_1): Process addr_tree earlier, | |
339 | so that unused output section statements affect dot. | |
340 | ||
6aa29e7b JJ |
341 | 2005-09-08 Jakub Jelinek <[email protected]> |
342 | ||
343 | * ld.texinfo: Document -z {no,}execstack, -z {no,}relro | |
344 | and --eh-frame-hdr options. | |
345 | ||
5397b1fe AM |
346 | 2005-09-07 Alan Modra <[email protected]> |
347 | ||
348 | * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section. | |
349 | (exp_fold_tree_1): Print assert message only in final stage of | |
350 | linking. Trigger assertion failure if expression cannot be | |
351 | evaluated. | |
352 | ||
12b9ff6c L |
353 | 2005-09-06 H.J. Lu <[email protected]> |
354 | ||
355 | PR ld/1263 | |
356 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check | |
357 | --just-symbols on DSO. | |
358 | ||
2caf1300 AM |
359 | 2005-08-18 Alan Modra <[email protected]> |
360 | ||
361 | * scripttempl/elf.sc: Remove commented out defines. | |
362 | ||
c17ae8a2 AM |
363 | 2005-08-18 Alan Modra <[email protected]> |
364 | ||
848cf006 AM |
365 | * emulparams/a29k.sh: Delete. |
366 | * emulparams/ebmon29k.sh: Delete. | |
367 | * emulparams/sa29200.sh: Delete. | |
c17ae8a2 AM |
368 | * Makefile.am: Remove a29k support. |
369 | * configure.tgt: Likewise. | |
370 | * ld.texinfo: Likewise. | |
371 | * Makefile.in: Regenerate. | |
372 | ||
96f8ade5 JJ |
373 | 2005-08-17 Jakub Jelinek <[email protected]> |
374 | ||
375 | * ldgram.y (vers_defns): Don't lose pattern list before | |
376 | extern NAME {}. Handle global, local and extern symbol names. | |
377 | ||
24dc748d KK |
378 | 2005-08-17 Kaz Kojima <[email protected]> |
379 | ||
380 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): | |
381 | Don't increment rel_count of .cranges here. Set rawsize of .cranges. | |
382 | ||
38975f9e NC |
383 | 2005-08-10 Nick Clifton <[email protected]> |
384 | ||
385 | * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions | |
386 | before lang_size_sections. | |
387 | ||
66bcaf1f AM |
388 | 2005-08-09 Alan Modra <[email protected]> |
389 | ||
390 | * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss. | |
391 | ||
392 | 2005-08-08 Eric Doenges <[email protected]> | |
44c86e8c NC |
393 | |
394 | * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants. | |
395 | Add rules to build these emulations. | |
396 | * Makefile.in: Regenerate. | |
397 | * configure.tgt (msp430): Add the new variants to the | |
398 | targ_extra_emuls list. | |
399 | * emulparams/msp430all.sh: Add entries for the msp430x21xx | |
400 | variants. | |
401 | ||
7af8e998 L |
402 | 2005-08-05 H.J. Lu <[email protected]> |
403 | ||
404 | * ld.texinfo: Document PROVIDE_HIDDEN. | |
405 | ||
406 | * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked. | |
407 | (exp_provide): Add and set hidden. | |
408 | ||
409 | * ldexp.h (etree_type): Add hidden to assign. | |
410 | ||
411 | * ldgram.y (PROVIDE_HIDDEN): New. | |
412 | * ldlex.l (PROVIDE_HIDDEN): Likewise. | |
413 | ||
414 | * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound | |
415 | symbols. | |
416 | ||
9599dfb1 AM |
417 | 2005-08-05 Alan Modra <[email protected]> |
418 | ||
419 | * emulparams/elf_x86_64.sh: Revert last change. | |
420 | * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here. | |
421 | ||
827a1c67 AM |
422 | 2005-08-05 Alan Modra <[email protected]> |
423 | ||
424 | * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from | |
425 | OTHER_END_SYMBOLS. | |
426 | * emulparams/armelf_linux.sh: Likewise. | |
427 | * emulparams/armnto.sh: Likewise. | |
428 | * emulparams/criself.sh: Likewise. | |
429 | * emulparams/elf32mcore.sh: Likewise. | |
430 | * emulparams/criself.sh (OTHER_SYMBOLS): Define. | |
431 | * emulparams/crislinux.sh (OTHER_SYMBOLS): Define. | |
432 | (OTHER_END_SYMBOLS): Don't define. | |
433 | * emulparams/elf32fr30.sh: Likewise. | |
434 | * emulparams/elf64mmix.sh: Likewise. | |
435 | * emulparams/hppa64linux.sh: Likewise. | |
436 | * emulparams/m32relf.sh: Likewise. | |
437 | * emulparams/vxworks.sh: Likewise. | |
438 | * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete. | |
439 | (OTHER_BSS_END_SYMBOLS): Add. | |
440 | (OTHER_END_SYMBOLS): Move before current end sym definitions. | |
441 | (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script. | |
442 | * scripttempl/elf.sc: Likewise. | |
443 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
444 | * scripttempl/elf_chaos.sc: Likewise. | |
445 | * scripttempl/elfxtensa.sc: Likewise. | |
446 | * scripttempl/iq2000.sc: Likewise. | |
447 | * scripttempl/xstormy16.sc: Likewise. | |
448 | ||
449 | * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete. | |
450 | (REL_LDATA, REL_LBSS, REL_LRODATA): Delete. | |
451 | (REL_LARGE, LARGE_SECTIONS): Add. | |
452 | * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text. | |
453 | (REL_LARGE): Define. | |
454 | * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. | |
455 | (LARGE_SECTIONS): Define. | |
456 | * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. | |
457 | (LARGE_SECTIONS): Define. | |
458 | ||
046183de AM |
459 | 2005-08-04 Alan Modra <[email protected]> |
460 | ||
461 | * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete. | |
462 | * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete. | |
463 | (struct ld_emulation_xfer_struct): Remove do_assignments field. | |
464 | * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments. | |
465 | * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New. | |
466 | (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New. | |
467 | * emultempl/aix.em (ld_*_emulation): Delete do_assignments init. | |
468 | * emultempl/armcoff.em: Likewise. | |
469 | * emultempl/beos.em: Likewise. | |
470 | * emultempl/generic.em: Likewise. | |
471 | * emultempl/gld960.em: Likewise. | |
472 | * emultempl/gld960c.em: Likewise. | |
473 | * emultempl/linux.em: Likewise. | |
474 | * emultempl/lnk960.em: Likewise. | |
475 | * emultempl/m68kcoff.em: Likewise. | |
476 | * emultempl/pe.em: Likewise. | |
477 | * emultempl/sunos.em: Likewise. | |
478 | * emultempl/ticoff.em: Likewise. | |
479 | * emultempl/vanilla.em: Likewise. | |
480 | * emultempl/elf32.em: Likewise. | |
481 | (gld*_provide_bound_symbols): Delete. | |
482 | (gld*_provide_init_fini_syms): Delete. | |
483 | (gld*_before_allocation): Don't call ldemul_do_assignments. | |
484 | * emultempl/ppc32elf.em (ppc_do_assignments): Delete. | |
485 | (LDEMUL_DO_ASSIGNMENTS): Delete. | |
486 | * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS, | |
487 | SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS. | |
488 | ||
fa498e09 AM |
489 | 2005-08-04 Alan Modra <[email protected]> |
490 | ||
491 | * Makefile.am (eelf32m32c.c): Fix dependencies. | |
492 | * Makefile.in: Regenerate. | |
493 | ||
1e035701 AM |
494 | 2005-08-04 Alan Modra <[email protected]> |
495 | ||
496 | * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally. | |
497 | (finish_default): New function. | |
498 | * ldemul.h (finish_default): Declare. | |
499 | * emultempl/aix.em (gld*_before_allocation): Call | |
500 | before_allocation_default rather than strip_excluded_output_sections. | |
501 | (ld_*_emulation): Init finish field to finish_default. | |
502 | * emultempl/armcoff.em: Likewise. | |
503 | * emultempl/beos.em: Likewise. | |
504 | * emultempl/elf32.em: Likewise. | |
505 | * emultempl/generic.em: Likewise. | |
506 | * emultempl/gld960.em: Likewise. | |
507 | * emultempl/gld960c.em: Likewise. | |
508 | * emultempl/hppaelf.em: Likewise. | |
509 | * emultempl/linux.em: Likewise. | |
510 | * emultempl/lnk960.em: Likewise. | |
511 | * emultempl/m68kcoff.em: Likewise. | |
512 | * emultempl/mmo.em: Likewise. | |
513 | * emultempl/pe.em: Likewise. | |
514 | * emultempl/ppc64elf.em: Likewise. | |
515 | * emultempl/sunos.em: Likewise. | |
516 | * emultempl/ticoff.em: Likewise. | |
517 | * emultempl/vanilla.em: Likewise. | |
518 | ||
9f4fb502 AM |
519 | 2005-08-03 Alan Modra <[email protected]> |
520 | ||
521 | * ldlang.c (exp_init_os): Handle etree_provide. | |
522 | * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from.. | |
523 | (OTHER_BSS_END_SYMBOLS): ..this. | |
524 | * emulparams/armelf_linux.sh: Likewise. | |
525 | * emulparams/armnto.sh: Likewise. | |
526 | * emulparams/criself.sh: Likewise. | |
527 | * emulparams/crislinux.sh: Likewise. | |
528 | * emulparams/elf32frv.sh: Likewise. | |
529 | * emulparams/elf32mcore.sh: Likewise. | |
530 | * emulparams/elf32ppc.sh: Likewise. | |
531 | * emulparams/elf32ppclinux.sh: Likewise. | |
532 | * emulparams/hppa64linux.sh: Likewise. | |
533 | * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not | |
534 | $OTHER_BSS_END_SYMBOLS. | |
535 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
536 | * scripttempl/elf_chaos.sc: Likewise. | |
537 | * scripttempl/iq2000.sc: Likewise. | |
538 | * scripttempl/xstormy16.sc: Likewise. | |
539 | * scripttempl/elf.sc: Likewise. Delete __bss_start comment. | |
540 | * scripttempl/elfxtensa.sc: Likewise. | |
541 | ||
e9156f74 NC |
542 | 2005-07-29 Nick Clifton <[email protected]> |
543 | ||
544 | * ldmain.c (main): Allow -shared and -static to be used together. | |
545 | * ld.texinfo (-static): Mention that it is allowed with -shared. | |
546 | ||
89806866 DD |
547 | 2005-07-28 DJ Delorie <[email protected]> |
548 | ||
549 | * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a | |
550 | unary & address operator, as that breaks GCC's strict aliasing | |
551 | rules. | |
552 | ||
3b22753a L |
553 | 2005-07-25 Jan Hubicka <[email protected]> |
554 | H.J. Lu <[email protected]> | |
555 | ||
556 | * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New. | |
557 | ||
558 | * scripttempl/elf.sc: Updated for large section support. | |
559 | ||
9f971fcb NC |
560 | 2005-07-21 Ralf Corsepius <[email protected]> |
561 | ||
562 | * configure.tgt: Remove i[3-7]86-*-rtemself*. | |
563 | Remove sparc-*-rtemself*. | |
564 | ||
71f51525 BE |
565 | 2005-07-21 Ben Elliston <[email protected]> |
566 | ||
567 | * ldgram.y (ldgram_want_filename): Remove unused static. | |
568 | ||
fe773494 DD |
569 | 2005-07-20 DJ Delorie <[email protected]> |
570 | ||
571 | * emulparams/elf32m32c.sh (TEMPLATE_NAME): New. | |
572 | (EXTRA_EM_FILE): New. | |
573 | ||
0e1b44ba L |
574 | 2005-07-19 H.J. Lu <[email protected]> |
575 | ||
576 | * ldmain.c (main): Reindent. | |
577 | ||
a3540342 PB |
578 | 2005-07-19 Paul Brook <[email protected]> |
579 | ||
580 | * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose | |
581 | to determine dynamic linker name. | |
582 | ||
85da3a56 NC |
583 | 2005-07-18 Nick Clifton <[email protected]> |
584 | ||
585 | * configure.tgt: Restore alpha ordering to list of arches. | |
586 | ||
42fa7765 AM |
587 | 2005-07-16 Alan Modra <[email protected]> |
588 | ||
589 | * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype. | |
590 | (gld*_before_allocation): Call ldemul_do_assignments rather than | |
591 | gld*_provide_init_fini_syms directly. | |
592 | * emultempl/ppc32elf.em (gld*_after_allocation): Delete. | |
593 | (ppc_do_assignments): New function. | |
594 | (LDEMUL_AFTER_ALLOCATION): Don't define. | |
595 | (LDEMUL_DO_ASSIGNMENTS): Define. | |
596 | ||
0f82ff91 AM |
597 | 2005-07-16 Alan Modra <[email protected]> |
598 | ||
599 | * Makefile.am: Run "make dep-am". | |
600 | (emipsidt.c, emipsidtl.c): Depend on generic.em. | |
601 | * Makefile.in: Regenerate. | |
602 | ||
5e797c2c AM |
603 | 2005-07-15 Alan Modra <[email protected]> |
604 | ||
605 | * ldemul.c (ldemul_do_assignments): New function. | |
606 | (do_assignments_default): New function. | |
607 | * ldemul.h (ldemul_do_assignments): Declare. | |
608 | (do_assignments_default): Declare. | |
609 | (struct ld_emulation_xfer_struct): Add do_assignments. | |
610 | * ldlang.c (lang_do_assignments) Call ldemul_do_assignments. | |
611 | * emultempl/aix.em (ld_*_emulation): Init do_assignments field. | |
612 | * emultempl/armcoff.em: Likewise. | |
613 | * emultempl/beos.em: Likewise. | |
614 | * emultempl/generic.em: Likewise. | |
615 | * emultempl/gld960.em: Likewise. | |
616 | * emultempl/gld960c.em: Likewise. | |
617 | * emultempl/linux.em: Likewise. | |
618 | * emultempl/lnk960.em: Likewise. | |
619 | * emultempl/m68kcoff.em: Likewise. | |
620 | * emultempl/pe.em: Likewise. | |
621 | * emultempl/sunos.em: Likewise. | |
622 | * emultempl/ticoff.em: Likewise. | |
623 | * emultempl/vanilla.em: Likewise. | |
624 | * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms. | |
625 | (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call. | |
626 | ||
49f58d10 JB |
627 | 2005-07-14 Jim Blandy <[email protected]> |
628 | ||
629 | Add support for the Renesas M32C and M16C. | |
630 | * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o. | |
631 | (eelf32m32c.c): New target. | |
632 | * Makefile.in: Regenerated. | |
633 | * configure.tgt: Add case for m32c-*-elf. | |
634 | * emulparams/elf32m32c.sh: New file. | |
635 | ||
a3c2b96a AM |
636 | 2005-07-14 Alan Modra <[email protected]> |
637 | ||
638 | * ldlang.c (strip_excluded_output_sections): Don't call | |
639 | bfd_gc_sections. | |
640 | * emultempl/elf32.em (gld*_provide_bound_symbols): Move. | |
641 | (gld*_provide_init_fini_syms): Move. | |
642 | (gld*_before_allocation): Call the above from here.. | |
643 | (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms. | |
644 | * emultempl/hppaelf.em (hppaelf_finish): Likewise. | |
645 | * emultempl/ppc64elf.em (ppc_finish): Likewise. | |
646 | ||
438361cd NC |
647 | 2005-07-10 Ralf Corsepius <[email protected]> |
648 | ||
649 | * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*, | |
650 | i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*, | |
651 | powerpcle-*-rtems*. | |
652 | ||
2c7fd14a CF |
653 | 2005-07-09 Christopher Faylor <[email protected]> |
654 | ||
655 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime | |
656 | relocation by default. | |
657 | (compute_dll_image_base): Avoid linking into cygwin dll address space. | |
658 | ||
32124d5b AM |
659 | 2005-07-08 Alan Modra <[email protected]> |
660 | ||
661 | * ldlang.c (wild_sort): Formatting. | |
662 | (strip_excluded_output_sections): Strip zero size sections here. | |
663 | * emultempl/elf32.em (gld*_strip_empty_sections): Delete. | |
664 | (gld*_finish): Don't call the above. | |
665 | * emultempl/hppaelf.em (hppaelf_finish): Likewise. | |
666 | * emultempl/ppc64elf.em (ppc_finish): Likewise. | |
667 | ||
4cd5aacc | 668 | 2005-07-05 Paul Brook <[email protected]> |
9d8504b1 PB |
669 | |
670 | * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o. | |
671 | (eelf32ppcvxworks.o): Add dependencies. | |
672 | * Makefile.in: Regenerate. | |
673 | * configure.tgt: Add entry for powerpc-vxworks. | |
674 | * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment. | |
675 | * emulparams/elf32ppcvxworks.sh: New file. | |
676 | * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare. | |
677 | (is_ppc_elf32_vec): New function. | |
678 | (ppc_after_open, ppc_before_allocation, | |
679 | gld${EMULATION_NAME}_after_allocation): Use it. | |
680 | ||
35eb9fb6 NC |
681 | 2005-07-05 Peter S. Mazinger" <[email protected]> |
682 | ||
683 | * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes". | |
684 | * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes". | |
685 | ||
5b5a4ec7 NC |
686 | 2005-07-04 Mike Frysinger <[email protected]> |
687 | ||
688 | * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in | |
689 | name. | |
690 | ||
80447b21 NC |
691 | 2005-07-04 Kazuhiro Inaoka <[email protected]> |
692 | ||
693 | * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
694 | ||
711c0baa AM |
695 | 2005-07-04 Aurelien Jarno <[email protected]> |
696 | ||
697 | * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*. | |
698 | ||
c8c9c297 AM |
699 | 2005-07-01 Alan Modra <[email protected]> |
700 | ||
701 | * scripttempl/elf.sc (.gcc_except_table): Don't KEEP. | |
702 | ||
b753922c BE |
703 | 2005-06-30 Ben Elliston <[email protected]> |
704 | ||
705 | * Makefile.am (check-DEJAGNU): Don't search for expect. | |
706 | * Makefile.in: Regenerate. | |
707 | ||
c3298874 BE |
708 | 2005-06-30 Ben Elliston <[email protected]> |
709 | ||
710 | * Makefile.am (EXPECT): Set to expect. | |
711 | (RUNTEST): Likewise, set to runtest. | |
712 | * Makefile.in: Regenerate. | |
713 | ||
a82644e2 NC |
714 | 2005-06-16 Alexander Klimov <[email protected]> |
715 | ||
716 | * emultempl/armelf.em: Add quotes to avoid a null test | |
717 | expression. | |
718 | ||
e185dd51 DJ |
719 | 2005-06-12 Daniel Jacobowitz <[email protected]> |
720 | ||
721 | * ld.texinfo (Command Line Options): Add @item for --hash-size. | |
722 | ||
9d12f64c AM |
723 | 2005-06-10 Alan Modra <[email protected]> |
724 | ||
725 | * scripttempt/elf.sc (.bss): Align tail in a way that allows | |
726 | empty section pruning. | |
727 | ||
502bdb00 JW |
728 | 2005-06-09 Steve Ellcey <[email protected]> |
729 | ||
730 | * configure.in (AM_BINUTILS_WARNINGS): Add. | |
731 | (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS. | |
732 | * config.in: Regenerate. | |
733 | * configure: Regenerate. | |
734 | * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_* | |
735 | * ldmain.c: Ditto. | |
736 | ||
dea2f0a8 AM |
737 | 2005-06-09 Alan Modra <[email protected]> |
738 | ||
739 | * ldexp.c (fold_unary <ALIGN_K>): Revert last change. | |
740 | ||
e9ee469a AM |
741 | 2005-06-09 Alan Modra <[email protected]> |
742 | ||
743 | * ld.h (lang_phase_type): Move to.. | |
744 | * ldexp.h: ..here. Add lang_mark_phase_enum. | |
745 | (node_type): Remove etree_undef and etree_unspec. | |
746 | (exp_data_seg): Delete. | |
747 | (struct ldexp_control, expld): New. | |
748 | (invalid, exp_mark_used_section): Delete. | |
749 | (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill, | |
750 | exp_get_abs_int): Update prototypes. | |
751 | * ldexp.c (assigning_to_dot): Delete. | |
752 | (expld): Define. | |
753 | (make_abs): Operate directly on expld.result. Update all callers. | |
754 | (new_abs): Likewise. Return void. | |
755 | (new_rel_from_abs): Rename from new_rel_from_section. | |
756 | (new_rel, new_rel_from_abs): Operate on expld.result and return void. | |
757 | Update all callers. | |
758 | (fold_unary): Operate on expld.result and return void. Remove | |
759 | "current_section", "allocation_done", "dot", "dotp" and "mark_used" | |
760 | params. Update all callers. | |
761 | (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise. | |
762 | (fold_unary <ALIGN_K>): Ensure alignment is absolute. | |
763 | (fold_unary <ABSOLUTE>): Use make_abs. | |
764 | (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for | |
765 | allocating_phase. | |
766 | (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto. | |
767 | (fold_binary <'%','/'>): Don't error if marking. | |
768 | (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when | |
769 | marking. | |
770 | (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't | |
771 | error when marking. | |
772 | (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP. | |
773 | (exp_fold_tree_1): Don't error when marking. | |
774 | (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first. | |
775 | (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL | |
776 | current section, instead check for NULL dotp. | |
777 | (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment | |
778 | source unless the symbol is referenced and undefined. | |
779 | (exp_fold_tree): Remove "allocation_done" and "dot" params. Save | |
780 | params to expld. | |
781 | (exp_fold_tree_no_dot): Remove "current_section", "allocation_done | |
782 | and "mark_used" params. Save params to expld. Update all callers. | |
783 | (exp_assop): Do without temp var. | |
784 | (exp_print_tree <etree_undef>): Delete code. | |
785 | (exp_get_vma): Remove "allocation_done" param. Correct error return. | |
786 | (exp_get_fill, exp_get_abs_int): Likewise. | |
787 | (exp_get_value_int): Remove "allocation_done" param. | |
788 | (exp_mark_used_section): Delete. | |
789 | * ldgram.y (fill_exp): Update exp_get_fill call. | |
790 | (origin_spec, length_spec): Update exp_get_vma call. | |
791 | * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration. | |
792 | (lang_mark_used_section_1, lang_mark_used_section): Delete. | |
793 | (strip_excluded_output_sections): Call one_lang_size_sections_pass in | |
794 | marking mode. Merge old lang_mark_used_section code. Correct handling | |
795 | of output sections with excluded input sections and data statements. | |
796 | Don't drop non-zero sized sections. Don't zap os->bfd_section. | |
797 | Do set SEC_EXCLUDE when appropriate. | |
798 | (print_output_section_statement): Update for changed ldexp.c | |
799 | interface. | |
800 | (print_assignment, lang_size_sections_1): Likewise. | |
801 | (lang_do_assignments_1, lang_enter_output_section_statement): Likewise. | |
802 | (lang_new_phdr, lang_record_phdrs): Likewise. | |
803 | (lang_size_sections): Likewise. | |
804 | (insert_pad): Use following statement if it is a pad, rather than | |
805 | creating a new one. | |
806 | (lang_size_sections_1 <lang_output_section_statement_enum>): Do | |
807 | process ignored output section to set vma and lma, but don't | |
808 | update dot for these sections. Don't error if marking. | |
809 | (lang_size_sections_1 <lang_assignment_statement_enum>): Don't | |
810 | update dot for ignored sections. | |
811 | (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute | |
812 | section with SEC_ALLOC. | |
813 | (one_lang_size_sections_pass): New function. | |
814 | (lang_size_sections): Remove first five params. Set expld.phase on | |
815 | entry and exit. Use one_lang_size_sections_pass. | |
816 | (lang_do_assignments): Remove all params. Update all callers. | |
817 | (lang_reset_memory_regions): Clear os->processed for all output | |
818 | section statements. | |
819 | * ldlang.h (lang_do_assignments): Update prototype. | |
820 | (lang_size_sections): Likewise. | |
821 | (one_lang_size_sections_pass): Declare. | |
822 | * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update | |
823 | lang_size_sections and lang_do_assignments calls. | |
824 | * emultempl/elf32.em (layout_sections_again): Likewise. | |
825 | * emultempl/ppc64elf.em (ppc_before_allocation): Use | |
826 | one_lang_size_sections_pass. | |
827 | ||
b2be2013 AH |
828 | 2005-06-08 Aldy Hernandez <[email protected]> |
829 | ||
830 | * emulparams/elf32ms1.sh: New. | |
831 | ||
a34e3ecb EC |
832 | 2005-06-07 Eric Christopher <[email protected]> |
833 | ||
834 | * Makefile.am (eelf32ms1.c): Use tab. | |
835 | * Makefile.in: Regenerate. | |
836 | ||
9e1f170f AH |
837 | 2005-06-07 Aldy Hernandez <[email protected]> |
838 | Michael Snyder <[email protected]> | |
839 | Stan Cox <[email protected]> | |
840 | ||
841 | * configure.tgt: Same. | |
842 | ||
843 | * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o. | |
844 | (eelf32ms1.c): Add eelf32ms1.c rule. | |
845 | ||
846 | * Makefile.in: Regenerate. | |
847 | ||
b4f4e59f AM |
848 | 2005-06-06 Alan Modra <[email protected]> |
849 | ||
850 | * emultempl/ppc64elf.em (ppc_before_allocation): Always run | |
851 | ppc64_elf_edit_opd. | |
852 | ||
18b79829 L |
853 | 2005-06-05 H.J. Lu <[email protected]> |
854 | ||
855 | * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current | |
856 | section only if the symbol will be defined. | |
857 | ||
079f985c L |
858 | 2005-06-04 H.J. Lu <[email protected]> |
859 | ||
860 | PR 992 | |
861 | * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current | |
862 | section for etree_assign, etree_provide and etree_provided. | |
863 | Call fold_binary on etree_binary. | |
864 | ||
865 | * ldlang.c (lang_mark_used_section_1): Handle load base. | |
866 | ||
e1fffbe6 AM |
867 | 2005-06-03 Alan Modra <[email protected]> |
868 | ||
869 | * ldmain.c (link_callbacks): Add einfo. | |
870 | (add_archive_element): Use passed info, not link_info. | |
871 | (constructor_callback): Likewise. | |
872 | (reloc_overflow): Don't handle null bfd specially. | |
873 | (reloc_dangerous, unattached_reloc): Likewise. | |
874 | * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd. | |
875 | (vfinfo <C, D, G>): Handle null bfd. Wrap comments. | |
876 | ||
408082ec AM |
877 | 2005-06-02 Alan Modra <[email protected]> |
878 | ||
879 | * ldexp.h (etree_value_type): Use "asection *" in place of | |
880 | "struct lang_output_section_statement_struct *" for "section". | |
881 | (exp_fold_tree): Likewise. | |
882 | (exp_mark_used_section): Likewise. | |
883 | * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary, | |
884 | fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree, | |
885 | exp_mark_used_section): Likewise for "current_section" param. | |
886 | (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill, | |
887 | exp_get_abs_int): Adjust for above changes. | |
888 | * ldlang.c (lang_mark_used_section_1, print_assignment, | |
889 | lang_size_sections_1, lang_do_assignments_1): Likewise. | |
890 | * ldexp.c (fold_name): Init entire result struct. | |
891 | ||
d0d3b2e8 MR |
892 | 2005-06-01 Maciej W. Rozycki <[email protected]> |
893 | ||
894 | * emulparams/elf32btsmip.sh: Unset DATA_ADDR. | |
895 | ||
a359509e ZW |
896 | 2005-05-31 Zack Weinberg <[email protected]> |
897 | ||
898 | * ldlang.c (entry_symbol_default): New file-scope global. | |
899 | (lang_finish): Use it, not a hardwired "start". | |
900 | (lang_default_entry): Set it. | |
901 | * ldlang.h: Declare lang_default_entry. | |
902 | * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry, | |
903 | not lang_add_entry, to override default entry point symbol. | |
904 | ||
8d6d53d4 RH |
905 | 2005-05-29 Richard Henderson <[email protected]> |
906 | ||
907 | * emulparams/elf64alpha.sh (PLT): New. | |
908 | (TEXT_PLT): New. | |
909 | * emultempl/alphaelf.em (disable_relaxation): New. | |
910 | (limit_32bit): Rename from elf64alpha_32bit; update all users. | |
911 | (elf64_alpha_use_secureplt): Declare. | |
912 | (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare. | |
913 | (alpha_after_open): New. | |
914 | (alpha_before_allocation): New. | |
915 | (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New. | |
916 | (PARSE_AND_LIST_LONGOPTS): Include them. | |
917 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
918 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
919 | (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New. | |
920 | * scripttempl/elf.sc (TEXT_PLT): New. | |
921 | (PLT): Use it. | |
922 | ||
f93e81d6 AS |
923 | 2005-05-27 Andreas Schwab <[email protected]> |
924 | ||
925 | * configure.host (HOSTING_LIBS): Add libunwind.a if it exists. | |
926 | ||
61f8ebf2 AM |
927 | 2005-05-24 Alan Modra <[email protected]> |
928 | ||
929 | * emultempl/ppc32elf.em (after_allocation): Don't call | |
930 | ppc_elf_set_sdata_syms when relocatable. | |
931 | ||
8b803601 L |
932 | 2005-05-21 H.J. Lu <[email protected]> |
933 | ||
934 | * Makefile.am (ld.1): Revert the last 2 changes. | |
935 | (info-recursive): Depend on ld.1. | |
936 | * Makefile.in: Regenerated. | |
937 | ||
e366efef L |
938 | 2005-05-21 H.J. Lu <[email protected]> |
939 | ||
940 | * Makefile.am (ld.1): Depend on "info" instead of | |
941 | "configdoc.texi ldver.texi". | |
942 | * Makefile.in: Regenerated. | |
943 | ||
abf32a89 L |
944 | 2005-05-21 H.J. Lu <[email protected]> |
945 | ||
946 | * Makefile.am (ld.1): Depend on "info". | |
947 | * Makefile.in: Regenerated. | |
948 | ||
e3e71e27 ZW |
949 | 2005-05-19 Zack Weinberg <[email protected]> |
950 | ||
951 | * Makefile.am: Have 'all' depend on 'info' and 'ld.1'. | |
952 | * Makefile.in: Regenerate. | |
953 | ||
c19d1205 ZW |
954 | 2005-05-17 Zack Weinberg <[email protected]> |
955 | ||
956 | * ld-arm/mixed-app.d: Adjust expected disassembly a little. | |
957 | ||
970c3dbc DJ |
958 | 2005-05-17 Daniel Jacobowitz <[email protected]> |
959 | ||
960 | * Makefile.am (ldver.texi): Don't use $<. | |
961 | * Makefile.in: Regenerated. | |
962 | ||
6e1b59d2 DJ |
963 | 2005-05-17 Daniel Jacobowitz <[email protected]> |
964 | ||
965 | * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include | |
966 | $(srcdir) before $(BFDDIR)/doc. | |
967 | * Makefile.in: Regenerated. | |
968 | ||
75ff4589 L |
969 | 2005-05-17 H.J. Lu <[email protected]> |
970 | ||
971 | PR 797 | |
972 | * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and | |
973 | take take a bfd_boolean, mark_used. Ignore assert failure if | |
974 | mark_used is TRUE. | |
975 | (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE. | |
976 | (exp_fold_tree_no_dot): Updated to take a bfd_boolean, | |
977 | mark_used and pass down. | |
978 | (fold_unary): Likewise. | |
979 | (fold_binary): Likewise. | |
980 | (fold_trinary): Likewise. | |
981 | (exp_binop): Add FALSE to call to exp_fold_tree_no_dot. | |
982 | (exp_trinop): Likewise. | |
983 | (exp_unop): Likewise. | |
984 | (exp_nameop): Likewise. | |
985 | (exp_get_vma): Likewise. | |
986 | (exp_get_fill): Likewise. | |
987 | (exp_get_abs_int): Likewise. | |
988 | (fold_name): Likewise. Set SEC_KEEP in output section flags. | |
989 | (exp_mark_used_section): New. | |
990 | ||
991 | * ldexp.h (exp_mark_used_section): New. | |
992 | ||
993 | * ldlang.c (lang_output_section_statement_lookup_1): Set the | |
994 | ignored field to FALSE. | |
995 | (lang_mark_used_section_1): New. | |
996 | (lang_mark_used_section): Call lang_mark_used_section_1. | |
997 | (strip_excluded_output_sections): Call lang_mark_used_section | |
998 | and check for unused sections. | |
999 | (lang_size_sections_1): Skip an output section if it should | |
1000 | be ignored. | |
1001 | (lang_do_assignments_1): Likewise. | |
1002 | (lang_process): Don't call lang_mark_used_section here. | |
1003 | ||
1004 | * ldlang.h (lang_output_section_statement_type): Change | |
1005 | all_input_readonly to bitfield. Add ignored. | |
1006 | ||
25ba8e7b NC |
1007 | 2005-05-17 Lennert Buytenhek <[email protected]> |
1008 | Peter S. Mazinger" <[email protected]> | |
1009 | ||
c19d1205 ZW |
1010 | * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes". |
1011 | * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes". | |
25ba8e7b | 1012 | |
10dbd1f3 NC |
1013 | 2005-05-17 Julian Brown <[email protected]> |
1014 | ||
1015 | * ldlang.c (print_assignment): Do not rely upon a valid result | |
1016 | having a section associated with it. | |
1017 | ||
3b83e13a NC |
1018 | 2005-05-17 Nick Clifton <[email protected]> |
1019 | ||
1020 | * ldlang.c (Scan_for_self_assignment): Check an assignment tree to | |
1021 | see if the same value is being used on the rhs as on the lhs. | |
1022 | (print_assignment): Call scan_for_self_assignment and if it | |
1023 | returns true, do no display the result of the computation but | |
1024 | instead just the final value of the symbol on the lhs. | |
1025 | * ld.texinfo: Document this behaviour and provide an example of | |
1026 | when it will happen. | |
1027 | ||
42ecbf5e DJ |
1028 | 2005-05-15 Daniel Jacobowitz <[email protected]> |
1029 | ||
1030 | * Makefile.am (AM_MAKEINFOFLAGS): Define. | |
1031 | (TEXI2DVI): Define. | |
1032 | (ldver.texi): Depend on distributed files instead of built files. | |
1033 | (ld.info): Include $(srcdir) in the rule target. Remove actions. | |
1034 | (ld.dvi): Remove actions. | |
1035 | (MAINTAINERCLEANFILES): Add configdoc.texi. | |
1036 | (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. | |
1037 | (install-data-local): Renamed from install. | |
1038 | (Makefile): Remove explicit dependency. | |
1039 | * acinclude.m4: Remove obsolete code. | |
1040 | * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. | |
1041 | * Makefile.in, aclocal.m4, config.in, configure: Regenerated. | |
1042 | ||
be2c2e39 BW |
1043 | 2005-05-11 Bob Wilson <[email protected]> |
1044 | ||
1045 | * scripttempl/elfxtensa.sc: Sync up with elf.sc. | |
1046 | * emulparams/elf32xtensa.sh (PLT, GOT): Define. | |
1047 | ||
0cf7d72c AM |
1048 | 2005-05-11 Alan Modra <[email protected]> |
1049 | ||
1050 | * ldgram.y: Add SPECIAL token. | |
1051 | (sect_constraint): Handle SPECIAL. | |
1052 | * ldlang.c (lang_output_section_find_1): Don't match SPECIAL. | |
1053 | (map_input_to_output_sections): Likewise. | |
1054 | * ldlex.l (SPECIAL): Define. | |
1055 | * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT, | |
1056 | GOT, PLT, GOTPLT): Define. | |
1057 | * emultempl/ppc32elf.em (old_plt, old_got): New static vars. | |
1058 | (ppc_after_open): New function. | |
1059 | (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT. | |
1060 | (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got". | |
1061 | (PARSE_AND_LIST_OPTIONS): Document them. | |
1062 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
1063 | (LDEMUL_AFTER_OPEN): Define. | |
1064 | * scripttempl/elf.sc (PLT): Don't override existing define. | |
1065 | (DATA_GOT, SDATA_GOT): Define and use to enable alternate got | |
1066 | placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW. | |
1067 | ||
4ca02259 AM |
1068 | 2005-05-10 Alan Modra <[email protected]> |
1069 | ||
1070 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete. | |
1071 | (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value. | |
1072 | (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after | |
1073 | DATA_SEGMENT_RELRO_END in script. | |
1074 | ||
baf6e97f L |
1075 | 2005-05-09 H.J. Lu <[email protected]> |
1076 | ||
1077 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): | |
1078 | Don't use a removed section. | |
1079 | ||
a6e1b90f L |
1080 | 2005-05-09 H.J. Lu <[email protected]> |
1081 | ||
1082 | * ldmain.c (reloc_overflow): Use output_bfd if the symbol | |
1083 | is defined in the ABS section. | |
1084 | ||
c18bae34 L |
1085 | 2005-05-06 H.J. Lu <[email protected]> |
1086 | ||
1087 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): | |
1088 | Put back !link_info.relocatable. | |
1089 | ||
4ef24a2e L |
1090 | 2005-05-06 H.J. Lu <[email protected]> |
1091 | ||
3f693ed5 | 1092 | PR 878 |
4ef24a2e L |
1093 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): |
1094 | Just check link_info.executable. | |
1095 | ||
e06fb9c3 NC |
1096 | 2005-05-06 Nick Clifton <[email protected]> |
1097 | ||
1098 | * Update the address and phone number of the FSF organization in | |
1099 | the GPL notices in the following files: | |
1100 | aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c, | |
1101 | ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c, | |
1102 | ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h, | |
1103 | ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h, | |
1104 | ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h, | |
1105 | sysdep.h, emultempl/aix.em, emultempl/alphaelf.em, | |
1106 | emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em, | |
1107 | emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em, | |
1108 | emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em, | |
1109 | emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em, | |
1110 | emultempl/lnk960.em, emultempl/m68hc1xelf.em, | |
1111 | emultempl/m68kcoff.em, emultempl/m68kelf.em, | |
1112 | emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em, | |
1113 | emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em, | |
1114 | emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em, | |
1115 | emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em, | |
1116 | emultempl/vanilla.em, emultempl/xtensaelf.em | |
1117 | ||
01d9ad14 L |
1118 | 2005-05-05 H.J. Lu <[email protected]> |
1119 | ||
1120 | * scripttempl/elf.sc: Document the usage of __bss_start. | |
1121 | ||
eac338cf PB |
1122 | 2005-05-05 Paul Brook <[email protected]> |
1123 | ||
1124 | * Makefile.am: Add eelf_i386_vxworks. | |
1125 | * Makefile.in: Regenerate. | |
1126 | * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks. | |
1127 | * emulparams/elf_i386_vxworks.sh: New file. | |
1128 | * emulparams/vxworks.sh: New file. | |
1129 | * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME. | |
1130 | ||
f652615e L |
1131 | 2005-05-04 H.J. Lu <[email protected]> |
1132 | ||
1133 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): | |
1134 | Call _bfd_elf_provide_section_bound_symbols. | |
1135 | ||
8423293d AM |
1136 | 2005-05-04 Alan Modra <[email protected]> |
1137 | ||
1138 | * ldemul.c: Include bfdlink.h. | |
1139 | (ldemul_before_allocation): Assume before_allocation is non-zero. | |
1140 | (before_allocation_default): Call strip_excluded_output_sections. | |
1141 | * ldlang.c (stripped_excluded_sections): New variable. | |
1142 | (lang_add_section): Build input section list for each output | |
1143 | section, attached via map_head and map_tail pointers. | |
1144 | (strip_excluded_output_sections): Make global. Traverse the | |
1145 | input section lists to find which output sections can go. Clear | |
1146 | link_order pointers and set stripped_excluded_sections. | |
1147 | (lang_process): Call strip_excluded_output_sections. | |
1148 | * ldlang.h (strip_excluded_output_sections): Declare. | |
1149 | * ldwrite.c: Update throuhout for link_order_head -> map_head change. | |
1150 | * emultempl/aix.em (before_allocation): Call | |
1151 | strip_excluded_output_sections. | |
1152 | * emultempl/armcoff.em (before_allocation): Likewise. | |
1153 | * emultempl/beos.em (before_allocation): Likewise. | |
1154 | * emultempl/linux.em (before_allocation): Likewise. | |
1155 | * emultempl/pe.em (before_allocation): Likewise. | |
1156 | * emultempl/sunos.em (before_allocation): Likewise. | |
1157 | * emultempl/elf32.em (before_allocation): Likewise. Call | |
1158 | bfd_elf_size_dynsym_hash_dynstr too. | |
1159 | * emultempl/lnk960.em (lnk960_before_allocation): Delete. | |
1160 | (ld_lnk960): Use before_allocation_default. | |
1161 | ||
5daa8fe7 L |
1162 | 2005-05-02 H.J. Lu <[email protected]> |
1163 | ||
1164 | * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section): | |
1165 | Updated for bfd_section_list_remove change. | |
1166 | * ldlang.c (lang_insert_orphan): Likewise. | |
1167 | (strip_excluded_output_sections): Likewise. | |
1168 | (sort_sections_by_lma): New. | |
1169 | (lang_check_section_addresses): Sort the sections before | |
1170 | checking addresses. | |
1171 | ||
009b6a7a DJ |
1172 | 2005-04-29 Ralf Corsepius <[email protected]> |
1173 | ||
1174 | * configure.tgt: Add h8300*-*-rtemscoff. | |
1175 | Switch h8300*-*-rtems* to elf. | |
1176 | ||
279e75dc BE |
1177 | 2005-04-29 Ben Elliston <[email protected]> |
1178 | ||
1179 | * ldgram.y (lang_memory_region_type): Make static. | |
1180 | (ldgram_want_filename): Likewise. | |
1181 | * ldemul.c (ld_emulation): Make static. | |
1182 | * ldfile.h (ldfile_find_command_file): Remove extern. | |
1183 | * ldfile.c (ldfile_find_command_file): Make static. | |
1184 | * ldlang.h (unique_section_list): Remove extern declaration. | |
1185 | * ldlang.c (unique_section_list): Make static. | |
1186 | * mri.h (symbol_truncate): Remove extern declaration. | |
1187 | * mri.c (symbol_truncate): Make static. | |
1188 | (order, only_load, address, alias): Likewise. | |
1189 | (alignment, subalignment): Likewise. | |
1190 | ||
4a2afbc1 L |
1191 | 2005-04-27 H.J. Lu <[email protected]> |
1192 | ||
1193 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): | |
1194 | Use the first SEC_ALLOC section which isn't SEC_READONLY or the | |
1195 | last SEC_ALLOC section if such a section doesn't exist. | |
1196 | ||
fd9719b1 MK |
1197 | 2005-04-24 Mark Kettenis <[email protected]> |
1198 | ||
1199 | * configure.host: Add *-*-openbsd support. | |
1200 | ||
33bfe774 JB |
1201 | 2005-04-15 Julian Brown <[email protected]> |
1202 | ||
1203 | * ld.texinfo: Document --use-blx. | |
1204 | * emultempl/armelf.em (use_blx): New variable. | |
1205 | (arm_elf_create_output_section_statements): Communicate value of | |
1206 | use_blx to bfd. | |
1207 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX. | |
1208 | (PARSE_AND_LIST_OPTIONS): Add --use-blx option. | |
1209 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case. | |
1210 | ||
9e9b66a9 AM |
1211 | 2005-04-14 Alan Modra <[email protected]> |
1212 | ||
1213 | * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. | |
1214 | * configure.in: Include ../bfd/warning.m4 contents. | |
1215 | * Makefile.in: Regenerate. | |
1216 | * configure: Regenerate. | |
1217 | ||
ceae3e33 AM |
1218 | 2005-04-12 Alan Modra <[email protected]> |
1219 | ||
1220 | * Makefile.am: Run "make dep-am". | |
1221 | (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command. | |
1222 | * Makefile.in: Regenerate. | |
1223 | * config.in: Regenerate. | |
1224 | ||
7cedef86 AM |
1225 | 2005-04-11 Alan Modra <[email protected]> |
1226 | ||
1227 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore | |
1228 | as_needed libs that were not needed. | |
1229 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
1230 | ||
187ffe95 NC |
1231 | 2005-04-07 Nick Clifton <[email protected]> |
1232 | ||
1233 | * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that | |
0cf7d72c | 1234 | ldfile.h can use the lang_input_statement type. |
187ffe95 | 1235 | |
72223188 JJ |
1236 | 2005-04-06 Jakub Jelinek <[email protected]> |
1237 | ||
1238 | * ldlang.c: Formatting. | |
1239 | (walk_wild_consider_section): Remember return value from wildcardp. | |
1240 | (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen. | |
1241 | (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen. | |
1242 | ||
1243 | 2005-04-06 Robert O'Callahan <[email protected]> | |
1244 | ||
1245 | * ld.h (lean_section_userdata_type): Remove. | |
1246 | (fat_section_userdata_type): Remove file field. | |
1247 | (SECTION_USERDATA_SIZE): Remove. | |
1248 | * ldlang.c (init_os): Eliminate initialization of unused | |
1249 | lean_section_userdata_type. | |
1250 | ||
1251 | * ldlang.h (callback_t, walk_wild_section_handler_t): New | |
1252 | typedefs. | |
1253 | (struct lang_wild_statement_struct): Add walk_wild_section_handler | |
1254 | and handler_data fields. | |
1255 | * ldlang.c (callback_t): Removed. | |
1256 | (walk_wild_consider_section, walk_wild_section_general, | |
1257 | section_iterator_callback, find_section, is_simple_wild, | |
1258 | match_simple_wild, walk_wild_section_specs1_wild0, | |
1259 | walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1, | |
1260 | walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2, | |
1261 | wild_spec_can_overlap, analyze_walk_wild_section_handler): New | |
1262 | functions. | |
1263 | (lang_add_wild): Call analyze_walk_wild_section_handler. | |
1264 | (walk_wild_section): Renamed to walk_wild_section_general and | |
1265 | created a wrapper function. | |
1266 | (section_iterator_callback_data): New typedef. | |
1267 | ||
34875e64 NC |
1268 | 2005-04-04 Nick Clifton <[email protected]> |
1269 | ||
1270 | * configure.in: Add a check for <unistd.h> providing a prototype | |
1271 | for getopt() which is compatible with the one in | |
1272 | include/getopt.h. If so then define HAVE_DECL_GETOPT. | |
1273 | * configure: Regenerate. | |
1274 | * config.in (HAVE_DECL_GETOPT): Add. | |
1275 | * ldemul.c: Include config.h | |
1276 | * lexsup.c: Likewise. | |
1277 | * emultempl/elf32.sc: Likewise. | |
1278 | ||
deb04cdb AM |
1279 | 2005-03-29 Alan Modra <[email protected]> |
1280 | ||
1281 | * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again): | |
1282 | New function, extracted from static void gld${EMULATION_NAME}_finish. | |
1283 | (gld${EMULATION_NAME}_strip_empty_sections): Likewise. | |
1284 | (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise. | |
1285 | * emultempl/ppc64elf.em: Revert last change. | |
1286 | (ppc_layout_sections_again): Use | |
1287 | gld${EMULATION_NAME}_layout_sections_again. | |
1288 | (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call | |
1289 | gld${EMULATION_NAME}_strip_empty_sections and | |
1290 | gld${EMULATION_NAME}_provide_init_fini_syms. | |
1291 | * emultempl/hppaelf.em: Similarly. | |
1292 | ||
8b4e5e28 AM |
1293 | 2005-03-29 Alan Modra <[email protected]> |
1294 | ||
1295 | * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs. | |
1296 | (ppc_finish): Don't call bfd_elf_discard_info. | |
1297 | * emultempl/hppaelf.em: Similarly. | |
1298 | ||
510a939b NC |
1299 | 2005-03-24 Nick Clifton <[email protected]> |
1300 | ||
1301 | * po/fr.po: Updated French translation. | |
1302 | ||
ed84e695 NC |
1303 | 2005-03-23 Mike Frysinger <[email protected]> |
1304 | Nick Clifton <[email protected]> | |
1305 | ||
1306 | * configure.host: Accept any C library to accompany a GNU Linux | |
1307 | implementation, not just the GNU C library. | |
1308 | * configure.tgt: Likewise. | |
1309 | * emultempl/elf32.em: Likewise. | |
deb04cdb | 1310 | |
81e1b023 L |
1311 | 2005-03-22 H.J. Lu <[email protected]> |
1312 | ||
1313 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New | |
1314 | (gld${EMULATION_NAME}_finish): Call | |
1315 | gld${EMULATION_NAME}_provide_bound_symbols to provide | |
1316 | __preinit_array_start, __preinit_array_end, __init_array_start, | |
1317 | __init_array_end, __fini_array_start and __fini_array_end. | |
1318 | ||
1319 | * scripttempl/elf.sc: Don't provide __preinit_array_start, | |
1320 | __preinit_array_end, __init_array_start, __init_array_end, | |
1321 | __fini_array_start nor __fini_array_end. | |
1322 | ||
11d2f718 AM |
1323 | 2005-03-23 Alan Modra <[email protected]> |
1324 | ||
1325 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set | |
1326 | SEC_EXCLUDE on .gnu.warning sections. | |
1327 | ||
644285ef AM |
1328 | 2005-03-22 Alan Modra <[email protected]> |
1329 | ||
1330 | * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms. | |
1331 | ||
c9a2f333 AM |
1332 | 2005-03-21 Alan Modra <[email protected]> |
1333 | ||
1334 | * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New | |
1335 | function. | |
1336 | (LDEMUL_AFTER_ALLOCATION): Define. | |
1337 | ||
b1ab9777 AM |
1338 | 2005-03-21 Alan Modra <[email protected]> |
1339 | ||
1340 | * emultempl/ppc64elf.em (ppc_finish): Rename from | |
1341 | gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. | |
1342 | (LDEMUL_FINISH): Update. | |
1343 | * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. | |
1344 | * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. | |
1345 | ||
2a2a7c94 JB |
1346 | 2005-03-18 Julian Brown <[email protected]> |
1347 | ||
1348 | * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array, | |
1349 | .rel.fini_array. | |
1350 | (.rela.dyn): Add .rela.init_array, .rela.fini_array. | |
1351 | (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs. | |
1352 | ||
98720c64 L |
1353 | 2005-03-18 H.J. Lu <[email protected]> |
1354 | ||
1355 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set | |
1356 | bfd_section when removing unused empty output sections for | |
1357 | non-relocatable link. | |
1358 | ||
41c7ba7c AM |
1359 | 2005-03-19 Alan Modra <[email protected]> |
1360 | ||
1361 | * ldlang.c (lang_insert_orphan): Use old section_tail rather than | |
1362 | traversing the bfd section list to find pointer to new section. | |
1363 | ||
0fb53118 AM |
1364 | 2005-03-18 Alan Modra <[email protected]> |
1365 | ||
1366 | * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2 | |
1367 | input sections into .sdata and .sbss output respectively. | |
1368 | ||
de7f8cc8 BW |
1369 | 2005-03-16 David Heine <[email protected]> |
1370 | Bob Wilson <[email protected]> | |
1371 | ||
1372 | * ldlang.c (IGNORE_SECTION): Remove check for zero size. | |
1373 | (lang_check_section_addresses): Ignore zero size sections here. | |
1374 | ||
57316bff L |
1375 | 2005-03-16 H.J. Lu <[email protected]> |
1376 | ||
1377 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove | |
1378 | unused empty output sections for non-relocatable link. | |
1379 | ||
1380 | * ld.h (args_type): Remove gc_sections. | |
1381 | ||
1382 | * ldlang.c (lang_mark_used_section): New. | |
1383 | (lang_gc_sections): Use link_info.gc_sections instead of | |
1384 | command_line.gc_sections. | |
1385 | * ldmain.c (main): Likewise. | |
1386 | * lexsup.c (parse_args): Likewise. | |
1387 | * ldlang.c (lang_process): Call lang_mark_used_section. | |
1388 | ||
1389 | * ldmain.c (main): Initialize link_info.gc_sections to FALSE. | |
1390 | ||
1ad12f97 NC |
1391 | 2005-03-16 Nick Clifton <[email protected]> |
1392 | Ben Elliston <[email protected]> | |
1393 | ||
569acd2c | 1394 | * configure.in (werror): New switch: Add -Werror to the |
1ad12f97 | 1395 | compiler command line. Enabled by default. Disable via |
569acd2c | 1396 | --disable-werror. |
1ad12f97 NC |
1397 | * configure: Regenerate. |
1398 | ||
cb2d1ef2 AM |
1399 | 2005-03-16 Alan Modra <[email protected]> |
1400 | ||
1401 | * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete. | |
1402 | (OTHER_RELRO_SECTIONS): Set this instead. | |
1403 | ||
957d91c1 NC |
1404 | 2005-03-15 Nick Clifton <[email protected]> |
1405 | ||
1406 | * NEWS: Add cutoff for changes in 2.16 release. | |
1407 | ||
34723071 NC |
1408 | 2005-03-15 Mikkel Krautz <[email protected]> |
1409 | ||
1410 | * configure.tgt (x86_64-elf): Add target. | |
1411 | ||
729ae8d2 AM |
1412 | 2005-03-15 Alan Modra <[email protected]> |
1413 | ||
1414 | * po/es.po: Commit new Spanish translation. | |
1415 | ||
8b3d8fa8 AM |
1416 | 2005-03-14 Alan Modra <[email protected]> |
1417 | ||
1418 | * ldexp.c (exp_fold_tree): Ensure return value is initialized. | |
1419 | Tidy etree_assert case. | |
1420 | ||
882cb63e AM |
1421 | 2005-03-14 Alan Modra <[email protected]> |
1422 | ||
1423 | * po/tr.po: Commit new Turkish translation. | |
1424 | ||
61c84b48 DJ |
1425 | 2005-03-11 Daniel Jacobowitz <[email protected]> |
1426 | ||
1427 | * Makefile.am: Remove references to em68klynx.o and esparclynx.o. | |
1428 | * Makefile.in: Regenerated. | |
1429 | * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove. | |
1430 | ||
41c9e29d NC |
1431 | 2005-03-07 Nick Clifton <[email protected]> |
1432 | ||
1433 | * po/fr.po: Updated translation. | |
1434 | ||
06647dfd AM |
1435 | 2005-03-05 Alan Modra <[email protected]> |
1436 | ||
1437 | * po/ld.pot: Regenerate. | |
1438 | ||
bb14f524 JB |
1439 | 2005-03-02 Jan Beulich <[email protected]> |
1440 | ||
1441 | * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. | |
1442 | * pe-dll.c (pe_dll_generate_implib): Likewise. | |
1443 | ||
0ef622cb BE |
1444 | 2005-02-24 Ben Elliston <[email protected]> |
1445 | ||
1446 | * ldfile.c: Remove GNU960 conditional code. | |
1447 | * emultempl/gld960.em: Likewise. | |
1448 | * emultempl/gld960c.em: Likewise. | |
1449 | * emultempl/lnk960.em: Likewise. | |
1450 | ||
f3f4bcca NC |
1451 | 2005-02-24 Nick Clifton <[email protected]> |
1452 | ||
1453 | * emultempl/lnk960.em (lnk960_before_parse): Remove redundant | |
1454 | empty string from calls to concat. | |
1455 | ||
1456 | 2005-02-23 Nick Clifton <[email protected]> | |
1457 | ||
1458 | * emultempl/lnk960.em (lnk960_before_parse): Terminate list of | |
1459 | arguments passed to concat() with a NULL. | |
1460 | ||
1461 | * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they | |
1462 | define types needed by ldfile.h | |
1463 | ||
47639182 AM |
1464 | 2005-02-23 Alan Modra <[email protected]> |
1465 | ||
1466 | * pe-dll.c: Warning fixes. | |
1467 | * emultempl/sunos.em: Likewise. | |
1468 | ||
ace66bb2 DJ |
1469 | 2005-02-22 Daniel Jacobowitz <[email protected]> |
1470 | ||
1471 | * ldlang.c (section_already_linked): Don't call | |
1472 | bfd_section_already_linked for dynamic objects. | |
1473 | ||
5718918d AM |
1474 | 2005-02-22 Alan Modra <[email protected]> |
1475 | ||
1476 | * ldexp.c: Warning fixes. | |
1477 | * ldwrite.c: Likewise. | |
1478 | * emultempl/elf32.em: Likewise. | |
1479 | ||
ebe372c1 L |
1480 | 2005-02-21 H.J. Lu <[email protected]> |
1481 | ||
1482 | * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI | |
1483 | tic54x input only. | |
1484 | (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF | |
1485 | and ECOFF output only. | |
1486 | ||
0ca2f5d5 AM |
1487 | 2005-02-21 Alan Modra <[email protected]> |
1488 | ||
1489 | * config.in: Regenerate. | |
1490 | * configure: Regenerate. | |
1491 | ||
fbbb9ac5 ZW |
1492 | 2005-02-17 Zack Weinberg <[email protected]> |
1493 | ||
1494 | * ldexp.c (assigning_to_dot): New global flag. | |
1495 | (fold_name): If assigning_to_dot is true, object immediately to | |
1496 | an undefined symbol. | |
1497 | (exp_fold_tree): Set and clear assigning_to_dot around the | |
1498 | recursive call to exp_fold_tree to process the right-hand side | |
1499 | of an assignment to the location counter. | |
1500 | ||
c68dac40 PB |
1501 | 2005-02-17 Paul Brook <[email protected]> |
1502 | ||
1503 | * scripttempl/armbpabi.sc: Add dummy name to version block. | |
1504 | ||
20c2cbe3 AM |
1505 | 2005-02-17 Alan Modra <[email protected]> |
1506 | ||
1507 | * ldexp.c (new_abs): Init new.str. | |
1508 | ||
0b48acfe MM |
1509 | 2005-02-15 Mark Mitchell <[email protected]> |
1510 | ||
1511 | * configure.in (AC_CHECK_FUNCS): Add glob. | |
1512 | * configure: Regenerated. | |
1513 | * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is | |
1514 | not defined. | |
1515 | (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob | |
1516 | if HAVE_GLOB is not defined. | |
fbbb9ac5 | 1517 | |
ff925e69 KK |
1518 | 2005-02-16 Kaz Kojima <[email protected]> |
1519 | ||
1520 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define | |
1521 | lib_path if NATIVE is yes. | |
1522 | ||
92b7a70f AM |
1523 | 2005-02-16 Alan Modra <[email protected]> |
1524 | ||
1525 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make | |
1526 | an error creating fake bfd fatal. | |
1527 | (ppc_before_allocation): Continue on after errors. | |
1528 | (gld${EMULATION_NAME}_finish): Likewise. | |
1529 | ||
297ba367 NC |
1530 | 2005-02-15 Nick Clifton <[email protected]> |
1531 | ||
1532 | * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is | |
1533 | not declared. It is not used and its presence causes a compile | |
1534 | time warning. | |
fbbb9ac5 | 1535 | |
9eabd475 ZW |
1536 | 2005-02-11 Zack Weinberg <[email protected]> |
1537 | ||
1538 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): | |
1539 | If st.st_ino is zero, do not treat the library as a duplicate. | |
1540 | ||
d457dcf6 JJ |
1541 | 2005-02-10 Jakub Jelinek <[email protected]> |
1542 | ||
1543 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
1544 | Set BFD_LINKER_CREATED on the stubs bfd. | |
1545 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): | |
1546 | Likewise. | |
1547 | ||
4e5db43b MM |
1548 | 2005-02-08 Mark Mitchell <[email protected]> |
1549 | ||
1550 | * scripttempl/armbpabi.sc (VERSION): Make special section symbols | |
9eabd475 | 1551 | local. |
4e5db43b MM |
1552 | (Image$$ER_RO$$Base): Define whenever RELOCATING. |
1553 | (Image$$ER_RO$$Limit): Likewise. | |
1554 | (SHT$$INIT_ARRAY$$Base): Likewise. | |
1555 | (SHT$$INIT_ARRAY$$Limit): Likeise. | |
1556 | ||
4297f9f1 BE |
1557 | 2005-02-10 Ben Elliston <[email protected]> |
1558 | ||
1559 | * emultempl/beos.em: Remove #if 0 and #if 1 blocks. | |
1560 | ||
1c7c5e5b RS |
1561 | 2005-02-08 Richard Sandiford <[email protected]> |
1562 | ||
1563 | * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath | |
1564 | to include o32 and n64 emulations. | |
1565 | (mips64*-*-linux-gnu*): Likewise. | |
1566 | ||
300475fe HPN |
1567 | 2005-02-08 Hans-Peter Nilsson <[email protected]> |
1568 | ||
1569 | * ldmain.c (warning_callback, warning_find_reloc): Prepend | |
1570 | "warning: " to warning messages. | |
1571 | ||
4ea42fb7 AM |
1572 | 2005-02-04 Alan Modra <[email protected]> |
1573 | ||
1574 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't | |
1575 | look up symbol for etree_provide here. | |
1576 | ||
161f49a3 DJ |
1577 | 2005-02-02 Daniel Jacobowitz <[email protected]> |
1578 | ||
1579 | * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set. | |
1580 | ||
73ae6183 NC |
1581 | 2005-02-01 Edward Welbourne <[email protected]> |
1582 | Nick Clifton <[email protected]> | |
1583 | ||
1584 | * ld.texinfo (Source Code Reference): New node describing how to | |
1585 | access linker script defined variables from source code. | |
1586 | ||
77cfaee6 AM |
1587 | 2005-02-01 Alan Modra <[email protected]> |
1588 | ||
1589 | * ld.texinfo: Clarify --as-needed operation. | |
1590 | ||
c46f8c51 AC |
1591 | 2005-01-31 Andrew Cagney <[email protected]> |
1592 | ||
1593 | * configure: Regenerate to track ../gettext.m4. | |
1594 | ||
d342277e NC |
1595 | 2005-01-31 Nick Clifton <[email protected]> |
1596 | ||
1597 | * ldver.c (ldversion): Bump reported copyright date to 2005. | |
1598 | ||
d6486796 NC |
1599 | 2005-01-31 Nick Clifton <[email protected]> |
1600 | ||
1601 | * configure.tgt: Remove obsolete targets m68k-lynxos and | |
1602 | sparc-lynxos. | |
1603 | ||
319850b4 JB |
1604 | 2005-01-28 Julian Brown <[email protected]> |
1605 | ||
1606 | * emultempl/armelf.em (fix_v4bx): New variable. | |
1607 | (arm_elf_create_output_section_statements): Communicate fix_v4bx flag | |
1608 | value to bfd. | |
1609 | (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX. | |
1610 | (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx. | |
1611 | (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx. | |
9eabd475 | 1612 | (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX. |
319850b4 JB |
1613 | * NEWS: Mention --fix-v4bx. |
1614 | * ld.texinfo: Document --fix-v4bx. | |
1615 | ||
dc4c9c19 MM |
1616 | 2005-01-25 Mark Mitchell <[email protected]> |
1617 | ||
1618 | * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so | |
1619 | as to include .ARM.exidx$${Base,Limit}. | |
1620 | * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment. | |
1621 | Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}. | |
1622 | Put .init_array, .fini_array, etc. into the read-only data | |
9eabd475 ZW |
1623 | segment. |
1624 | ||
7e9f0867 AM |
1625 | 2005-01-25 Alan Modra <[email protected]> |
1626 | ||
1627 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting. | |
1628 | (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were | |
1629 | only needed by an as-needed lib that didn't get linked. | |
1630 | ||
7e69709c AM |
1631 | 2005-01-23 Alan Modra <[email protected]> |
1632 | ||
1633 | * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct | |
1634 | __DTOR_LIST__ description. | |
1635 | ||
b5666f2f AM |
1636 | 2005-01-23 Alan Modra <[email protected]> |
1637 | ||
1638 | * ld.texinfo (Location Counter <dot outside sections>): Document | |
1639 | effects of orphan section placement, and ". = ." workaround. | |
1640 | * Makefile.in: Regenerate. | |
1641 | ||
4e25343c RS |
1642 | 2005-01-22 Richard Sandiford <[email protected]> |
1643 | ||
1644 | * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;". | |
1645 | * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise. | |
1646 | ||
b717d30e JJ |
1647 | 2005-01-21 Jakub Jelinek <[email protected]> |
1648 | ||
1649 | * ldgram.y (AS_NEEDED): New token. | |
1650 | (input_list): Handle AS_NEEDED ( input_list ). | |
1651 | * ldlex.l (AS_NEEDED): Add. | |
1652 | * ld.texinfo: Document AS_NEEDED (). | |
1653 | * NEWS: Mention AS_NEEDED (). | |
1654 | ||
7a64f7b8 BE |
1655 | 2005-01-21 Ben Elliston <[email protected]> |
1656 | ||
1657 | * ldlang.c (lang_reasonable_defaults): Remove. | |
1658 | (lang_process): Don't call lang_reasonable_defaults. | |
1659 | ||
1660 | * ldexp.c (exp_assop): Remove #if 0'd code. | |
1661 | (exp_print_tree): Likewise. | |
1662 | * ldlang.c (lang_memory_region_lookup): Likewise. | |
1663 | (open_output): Likewise. | |
1664 | (lang_do_assignments_1): Likewise. | |
1665 | (lang_place_orphans): Likewise. | |
1666 | (lang_enter_output_section_statement): Likewise. | |
1667 | (lang_reasonable_defaults): Likewise. | |
1668 | * ldlang.h (struct lang_input_statement_struct): Likewise. | |
1669 | * mri.c (mri_draw_tree): Likewise. | |
1670 | (mri_load): Likewise. | |
1671 | * pe-dll.c (generate_reloc): Likewise. | |
1672 | (make_import_fixup_entry): Likewise. | |
1673 | (pe_as16): Likewise. | |
1674 | * emultempl/beos.em (set_pe_subsystem): Likewise. | |
1675 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. | |
1676 | * emultempl/pe.em: Likewise. | |
1677 | * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. | |
1678 | ||
a154a8ad MM |
1679 | 2005-01-20 Daniel Jacobowitz <[email protected]> |
1680 | ||
1681 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. | |
1682 | (earmelfb_linux_eabi.c): New target. | |
1683 | * Makefile.in: Regenerated. | |
1684 | * configure.tgt (arm*b-*-linux-gnueabi): New target. | |
1685 | * emulparams/armelfb_linux_eabi.sh: New file. | |
1686 | ||
9c183183 AM |
1687 | 2005-01-20 Nick Hudson <[email protected]> |
1688 | ||
1689 | PR ld/676 | |
1690 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
1691 | Handle bfd_elf32_hppa_nbsd_vec. | |
1692 | ||
e2243057 RS |
1693 | 2005-01-19 Richard Sandiford <[email protected]> |
1694 | ||
1695 | * ldmain.h (ld_sysroot): Change type to a constant string. | |
1696 | * ldmain.c (ld_sysroot): Likewise. | |
1697 | (get_relative_sysroot, get_sysroot): New functions, adding command-line | |
1698 | support for changing the sysroot. | |
1699 | (main): Call the new functions. | |
1700 | * lexsup.c (OPTION_SYSROOT): New. | |
1701 | (ld_options): Add --sysroot. | |
1702 | (parse_args): Add a dummy handler for it. | |
1703 | * ld.texinfo (--sysroot): Document. | |
1704 | * NEWS: Mention the new --sysroot option. | |
1705 | ||
1449d79b AM |
1706 | 2005-01-18 Alan Modra <[email protected]> |
1707 | ||
1708 | * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. | |
1709 | (lang_place_orphans): Don't abort on just_syms_flag, instead call | |
1710 | bfd_link_just_syms. | |
1711 | ||
a880c748 DS |
1712 | 2005-01-16 Danny Smith <[email protected]> |
1713 | ||
1714 | * defilep.y (def_name, def_library): Combine into... | |
1715 | (def_image_name): New function. Strip name to basename, | |
1716 | with warning. | |
1717 | ||
07baa8ee MK |
1718 | 2005-01-12 Mark Kettenis <[email protected]> |
1719 | ||
1720 | * configure.in: Be sure to invoke config.sub using the shell. | |
1721 | * configure: Regenerate. | |
1722 | ||
e9b181b8 AM |
1723 | 2005-01-11 Alan Modra <[email protected]> |
1724 | ||
1725 | * configure.host: Correct sed patterns for last change. | |
1726 | ||
59ef2528 NC |
1727 | 2005-01-10 Nick Clifton <[email protected]> |
1728 | ||
1729 | PR binutils/609 | |
1730 | * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this | |
1731 | to determine whether config.make_executable should be set to FALSE in | |
1732 | conjunction with config.fatal_warnings. | |
1733 | (info_msg, minfo, lfinof): Pass FALSE as the extra argument. | |
1734 | (einfo): Pass TRUE as the extra argument. | |
1735 | ||
71a2d53a NC |
1736 | 2005-01-10 Greg Schaffer <[email protected]> |
1737 | ||
1738 | * configure.host (linux targets): Use "${CC} -dumpspecs" instead | |
1739 | of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. | |
1740 | (ia64-*-aix): Delete - this target is obsolete, and would be | |
1741 | broken by this patch. | |
1742 | ||
d6d0b336 EB |
1743 | 2005-01-06 Eric Botcazou <[email protected]> |
1744 | ||
1745 | * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. | |
1746 | (sparc64-sun-solaris2*): New host. | |
1747 | ||
4e7fd91e PB |
1748 | 2005-01-06 Paul Brook <[email protected]> |
1749 | ||
1750 | * Makefie.am: Add earmelf_vxworks. | |
1751 | * Makefile.in: Regenerate. | |
1752 | * configure.tgt: Make arm-*-vxworks a separate case. | |
1753 | * emulparams/armelf_vxworks.sh: New function. | |
1754 | ||
4c52953f AM |
1755 | 2005-01-06 Alan Modra <[email protected]> |
1756 | ||
1757 | * emultempl/ppc64elf.em (no_multi_toc): New var. | |
1758 | (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. | |
1759 | (OPTION_NO_MULTI_TOC): Define. | |
1760 | (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. | |
1761 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. | |
1762 | ||
98d87ee7 NC |
1763 | 2005-01-05 Nick Clifton <[email protected]> |
1764 | ||
1765 | PR binutils/614 | |
1766 | * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding | |
4c52953f | 1767 | Standard's specification for parsable error messages. |
98d87ee7 | 1768 | |
5f81b918 PB |
1769 | 2005-01-04 Paul Brook <[email protected]> |
1770 | ||
1771 | * Makefile.am: Correct dependency for earmsymbian.c. | |
1772 | * Makefile.in: Regenerate. | |
1773 | ||
2af59bab DS |
1774 | 2004-12-28 Danny Smith <[email protected]> |
1775 | ||
1776 | * emultempl/pe.em (set_pe_subsystem): Change second arg to | |
1777 | lang_add_entry to FALSE. | |
1778 | ||
c38f024c NC |
1779 | 2004-12-23 Nick Clifton <[email protected]> |
1780 | ||
1781 | PR 600 | |
1782 | * emulparams/shelf.sh (.stack): Increase stack start address to | |
1783 | 0x300000. | |
1784 | ||
550bdea6 NC |
1785 | 2004-12-20 Nick Clifton <[email protected]> |
1786 | ||
1787 | * ldmain.c (main): Issue an error message if -static and -shared | |
1788 | are used together. | |
1789 | ||
e3070fef JJ |
1790 | 2004-12-17 Jakub Jelinek <[email protected]> |
1791 | ||
1792 | * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields. | |
1793 | * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them. | |
1794 | * ldlang.c (lang_size_sections): Use them to avoid wasting virtual | |
1795 | address space at DATA_SEGMENT_ALIGN. Fix computation of expected | |
1796 | PT_GNU_RELRO segment end. | |
1797 | ||
2fbd2a87 NC |
1798 | 2004-12-14 P.J. Darcy <[email protected]> |
1799 | ||
1800 | * configure.tgt: Add s390x-ibm-tpf support. | |
1801 | ||
f2763b01 NC |
1802 | 2004-12-16 Martin Kögler <[email protected]> |
1803 | ||
1804 | * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL | |
1805 | BFD. | |
1806 | ||
cb9faf63 BE |
1807 | 2004-12-07 Ben Elliston <[email protected]> |
1808 | ||
1809 | * ldemul.h: Forward declare struct option. | |
1810 | ||
02f80eef DS |
1811 | 2004-12-01 Danny Smith <[email protected]> |
1812 | ||
1813 | * scripttempl/pe.sc (.data): Add .jcr subsection. | |
1814 | ||
dea514f5 PB |
1815 | 2004-11-30 Paul Brook <[email protected]> |
1816 | ||
1817 | * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge. | |
1818 | ||
32118081 NC |
1819 | 2004-11-30 Tero Niemela <[email protected]> |
1820 | ||
1821 | * Makefile.am: Change LOCALEDIR to $(datadir)/share. | |
1822 | * Makefile.in: Regenerate. | |
1823 | ||
33f362e1 NC |
1824 | 2004-11-26 Melissa Mears <[email protected]> |
1825 | ||
1826 | * emultempl/pe.em: Add --subsystem:xbox as well as | |
1827 | --subsystem:%d. | |
1828 | * ld.texinfo: (ld_options): Document acceptance of subsystem xbox | |
1829 | and numeric subsystems. | |
1830 | ||
3eda52aa AM |
1831 | 2004-11-24 Alan Modra <[email protected]> |
1832 | ||
1833 | * ldexp.c (fold_name): Correct PR 338 fix. | |
1834 | ||
6b3221b4 MM |
1835 | 2004-11-19 Mark Mitchell <[email protected]> |
1836 | ||
1837 | * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. | |
1838 | (earmelf_linux_eabi.c): New target. | |
1839 | * configure.tgt (arm*-*-linux-gnueabi): Handle it. | |
1840 | * emulparams/armelf_linux_eabi.sh: New file. | |
1841 | * Makefile.in: Regenerated. | |
1842 | ||
9cd6d51a NC |
1843 | 2004-11-19 Nick Clifton <[email protected]> |
1844 | ||
1845 | PR 518 | |
1846 | * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and | |
1847 | LENGTH fields in the MEMORY command, to explicitly state that | |
1848 | symbols cannot be used in their expressions. | |
1849 | ||
3ec57632 NC |
1850 | 2004-11-19 Jon Beniston <[email protected]> |
1851 | ||
1852 | * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION. | |
1853 | * ld/ldgram.y: Add ORIGIN and LENGTH expressions. | |
4c52953f | 1854 | * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions |
3ec57632 NC |
1855 | which return the length and origin of a memory. |
1856 | * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions. | |
1857 | * NEWS: Mention support for ORIGIN and LENGTH operators. | |
1858 | ||
b7693d02 DJ |
1859 | 2004-11-17 Daniel Jacobowitz <[email protected]> |
1860 | ||
1861 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use | |
1862 | a dynamic object for stubs. | |
1863 | ||
fc0e6df6 PB |
1864 | 2004-11-04 Paul Brook <[email protected]> |
1865 | ||
1866 | * ld.texinfo: Document --default-imported-symver. | |
1867 | * ldmain.c (main): Set link_info.default_imported_symver. | |
1868 | * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. | |
1869 | (ld_options): Add --default-imported-symver. | |
1870 | (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER. | |
1871 | ||
7499d566 NC |
1872 | 2004-11-08 Inderpreet Singh <[email protected]> |
1873 | Vineet Sharma <[email protected]> | |
1874 | ||
1875 | * Makefile.am: Add entries for new maxq-coff target. | |
1876 | * Makefile.in: Regenerate. | |
1877 | * configure.tgt: Add support for maxq. | |
1878 | * emulparams/maxqcoff.sh: New File. | |
1879 | * scripttempl/maxqcoff.sc: New linker script for target maxq. | |
1880 | * NEWS: Mention the new target. | |
1881 | ||
7f266840 DJ |
1882 | 2004-11-04 Daniel Jacobowitz <[email protected]> |
1883 | ||
1884 | * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. | |
1885 | (earmelf_oabi.c): Remove rule. | |
1886 | * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. | |
1887 | * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. | |
1888 | * Makefile.in: Regenerated. | |
1889 | ||
a0055007 HPN |
1890 | 2004-11-04 Hans-Peter Nilsson <[email protected]> |
1891 | ||
1892 | * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout. | |
1893 | * emulparams/criself.sh (INIT_START): Remove emitted "push srp". | |
1894 | (FINI_START): Ditto. | |
1895 | (INIT_END): Remove emitted "jump [sp+]". | |
1896 | (FINI_END): Ditto. | |
1897 | ||
c5614fa4 AM |
1898 | 2004-11-04 Alan Modra <[email protected]> |
1899 | ||
1900 | * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt. | |
1901 | (no_opd_opt, no_toc_opt): New static vars. | |
1902 | (ppc_before_allocation): Don't edit opt if no_opd_opt. Call | |
1903 | ppc64_elf_edit_toc. | |
1904 | (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define. | |
1905 | (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize. | |
1906 | (PARSE_AND_LIST_OPTIONS): Describe new options. | |
1907 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
1908 | ||
7a5df8d0 NC |
1909 | 2004-10-27 Nick Clifton <[email protected]> |
1910 | ||
1911 | * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, | |
1912 | parameter to invocation of lang_section_start. | |
1913 | * emultempl/aix.em (_handle_option): Likewise. | |
c5614fa4 | 1914 | |
7a5df8d0 NC |
1915 | * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, |
1916 | eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. | |
1917 | * Makefile.in: Regenerate. | |
1918 | ||
6f372e19 MM |
1919 | 2004-10-26 Mark Mitchell <[email protected]> |
1920 | ||
1921 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit | |
1922 | __exidx_{start,end} when not relocating. | |
1923 | ||
ba916c8a MM |
1924 | 2004-10-25 Mark Mitchell <[email protected]> |
1925 | ||
1926 | * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc. | |
1927 | * ldexp.h (segment_type): New type. | |
1928 | (segments): New variable. | |
1929 | * ldexp.c (segments): New variable. | |
1930 | (exp_print_token): Handle SEGMENT_START. | |
1931 | (fold_binary): Likewise. | |
1932 | * ldgram.y (SEGMENT_START): Declare it as a token. | |
1933 | (exp): Handle SEGMENT_START. | |
1934 | * ldlang.h (lang_address_statement_type): Add segment field. | |
1935 | (lang_section_start): Change prototype. | |
1936 | * ldlang.c (map_input_to_output_sections): Do not process section | |
1937 | assignments if a corresponding SEGMENT_START has already been | |
1938 | seen. | |
1939 | (lang_section_start): Add segment parameter. | |
1940 | * ldlex.l (SEGMENT_START): Add it. | |
1941 | * lexsup.c (seg_segment_start): New function. | |
1942 | (parse_args): Use it for -Tbss, -Tdata, and -Ttext. | |
1943 | * ld.texinfo (SEGMENT_START): Document it. | |
1944 | * emulparams/armsymbian.sh (EMBEDDED): Set it. | |
1945 | * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment | |
1946 | base addresses. Do not map relocations. | |
1947 | * NEWS: Mention SEGMENT_START. | |
1948 | ||
3e3b46e5 PB |
1949 | 2004-10-26 Paul Brook <[email protected]> |
1950 | ||
1951 | * ld.texinfo: Document --default-symver. | |
1952 | * ldmain.c (main): Set link_info.create_default_symver. | |
1953 | * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. | |
1954 | (ld_options): Add default-symver. | |
1955 | (parse_args): Handle OPTION_DEFAULT_SYMVER. | |
1956 | ||
7b0eaa22 DS |
1957 | 2004-10-24 Danny Smith <[email protected]> |
1958 | ||
1959 | * pe-dll.c (process_def_file): Don't export all symbols by default if | |
1960 | building a position-independent executable. | |
1961 | ||
dfeffb9f L |
1962 | 2004-10-21 H.J. Lu <[email protected]> |
1963 | ||
1964 | PR 463 | |
1965 | * ldmain.c (reloc_overflow): Accept a pointer to struct | |
1966 | bfd_link_hash_entry. Report symbol location for relocation | |
1967 | overflow. | |
1968 | ||
dc4f76f8 L |
1969 | 2004-10-21 H.J. Lu <[email protected]> |
1970 | ||
1971 | * genscripts.sh (libpath.exp): Really generate for first | |
1972 | emulation only. | |
1973 | ||
2a08daf3 DS |
1974 | 2004-10-19 Danny Smith <[email protected]> |
1975 | ||
1976 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify | |
1977 | comparison and replacement of filenames. | |
1978 | ||
532345f2 L |
1979 | 2004-10-19 H.J. Lu <[email protected]> |
1980 | ||
1981 | PR 459 | |
1982 | * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic | |
1983 | option on linker script as the one for linker script. | |
1984 | ||
b58f81ae DJ |
1985 | 2004-10-16 Daniel Jacobowitz <[email protected]> |
1986 | ||
1987 | * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) | |
1988 | (check_excluded_libs): New. | |
1989 | (load_symbols): Call check_excluded_libs. | |
1990 | * ldlang.h (add_excluded_libs): New prototype. | |
1991 | * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. | |
1992 | (gld${EMULATION_NAME}_add_options): Add --exclude-libs. | |
1993 | (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. | |
1994 | * ld.texinfo (Command Line Variables): Document --exclude-libs. | |
1995 | (Options Specific to i386 PE Targets): Remove --exclude-libs. | |
1996 | ||
95c148b4 AM |
1997 | 2004-10-15 Alan Modra <[email protected]> |
1998 | ||
c468c8bc AM |
1999 | * ldexp.c (exp_fold_tree): Don't immediately exit ld on a |
2000 | failing link script assert. | |
2001 | ||
95c148b4 AM |
2002 | * ldctor.c (ldctor_add_set_entry): Fix comment typo. |
2003 | ||
951e9133 L |
2004 | 2004-10-14 H.J. Lu <[email protected]> |
2005 | ||
2006 | PR 445 | |
2007 | * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. | |
2008 | (SMALL_DATA_DTOR): Set. | |
2009 | * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. | |
2010 | (SMALL_DATA_DTOR): Unset. | |
2011 | * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors | |
2012 | after .data. If SMALL_DATA_DTOR is set, move .dtors after | |
2013 | .data. | |
2014 | ||
afd7a018 AM |
2015 | 2004-10-14 Alan Modra <[email protected]> |
2016 | ||
2017 | PR 63 | |
2018 | * ldlang.h (lang_output_section_statement_type): Make "next" a | |
2019 | struct lang_output_section_statement_struct *. | |
2020 | (struct orphan_save): Move from elf32.em. Add "name" and "flags". | |
2021 | (lang_output_section_find_by_flags, lang_insert_orphan): Declare. | |
2022 | * ldlang.c (lang_output_section_find_1): Adjust for changed | |
2023 | output_section_statement "next". | |
2024 | (strip_excluded_output_sections): Likewise. | |
2025 | (lang_record_phdrs): Likewise. | |
2026 | (lang_output_section_find_by_flags): New function. | |
2027 | (output_prev_sec_find): Move from pe.em. Adjust iterator. | |
2028 | (lang_insert_orphan): New function. Tail end of elf32.em's | |
2029 | place_orphan merged with that from pe.em. Allow bfd_section to | |
2030 | be placed first. New heuristic for placing new output section | |
2031 | statement in existing script, and accompanying split of __start | |
2032 | symbol alignment into a separate assignment to dot. | |
2033 | (lang_add_section): Consistently use output->bfd_section rather than | |
2034 | an alias, section->output_section. | |
2035 | (map_input_to_output_sections): Rename overly long arg. Move | |
2036 | initialization of data_statement output section to here.. | |
2037 | (lang_check_section_addresses): ..from here. | |
2038 | (print_assignment): Correct printing of etree_assert. | |
2039 | (print_all_symbols): Don't bomb if userdata is NULL. | |
2040 | (IGNORE_SECTION): Rearrange. | |
2041 | * emultempl/elf32.em (output_rel_find): Adjust interator. | |
2042 | (output_prev_sec_find): Delete. | |
2043 | (struct orphan_save): Delete. | |
2044 | (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section | |
2045 | flags without creating a duplicate output section statement. | |
2046 | Revise code holding history of various orphan section placements. | |
2047 | Allow orphan sections to place before script specified output | |
2048 | sections. Call lang_output_section_find_by_flags when placement | |
2049 | by name fails. Use lang_insert_orphan. | |
2050 | * emultempl/mmo.em (output_prev_sec_find): Delete. | |
2051 | (struct orphan_save): Delete. | |
2052 | (mmo_place_orphan): Revise code holding history of orphan placement. | |
2053 | Allow orphans to place before existing output sections. Use | |
2054 | lang_insert_orphan. | |
2055 | * emultempl/pe.em (output_prev_sec_find): Delete. | |
2056 | (struct orphan_save): Delete. | |
2057 | (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of | |
2058 | lang_insert_orphan. | |
2059 | ||
c0042f5d MM |
2060 | 2004-10-13 Mark Mitchell <[email protected]> |
2061 | ||
2062 | * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a | |
2063 | loadable segment. | |
2064 | ||
1af699f4 AM |
2065 | 2004-10-13 Alan Modra <[email protected]> |
2066 | ||
2067 | PR 44 | |
09c112da AM |
2068 | * ldcref.c (check_section_sym_xref): Delete. |
2069 | (check_local_sym_xref): New function. | |
2070 | (check_nocrossrefs): Adjust call. | |
1af699f4 AM |
2071 | * emultempl/pe.em (struct orphan_save): Add os_tail. |
2072 | (place_orphan): Backport assorted fixes from elf32.em. | |
2073 | ||
7fa3d080 BW |
2074 | 2004-10-12 Bob Wilson <[email protected]> |
2075 | ||
2076 | * emultempl/xtensaelf.em: Use ISO C90 formatting. | |
2077 | ||
d3989512 JJ |
2078 | 2004-10-11 Jakub Jelinek <[email protected]> |
2079 | ||
563f4125 JJ |
2080 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid |
2081 | getline for portability. | |
2082 | ||
d3989512 JJ |
2083 | * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. |
2084 | (gld${EMULATION_NAME}_parse_ld_so_conf, | |
2085 | gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. | |
2086 | (gld${EMULATION_NAME}_check_ld_so_conf): Use them. | |
2087 | ||
6c0c5b1e AM |
2088 | 2004-10-11 Alan Modra <[email protected]> |
2089 | ||
2090 | PR 423 | |
2091 | * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are | |
2092 | rejected when linking statically. | |
2093 | ||
d2b2c203 DJ |
2094 | 2004-10-08 Daniel Jacobowitz <[email protected]> |
2095 | ||
2096 | * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. | |
2097 | ||
43cd72b9 BW |
2098 | 2004-10-07 Bob Wilson <[email protected]> |
2099 | ||
2100 | * ld.texinfo (Xtensa): Describe new linker relaxation to optimize | |
2101 | assembler-generated longcall sequences. Describe new --size-opt | |
2102 | option. | |
2103 | * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. | |
2104 | * emultempl/xtensaelf.em (remove_section, | |
2105 | replace_insn_sec_with_prop_sec, replace_instruction_table_sections, | |
2106 | elf_xtensa_after_open): New. | |
2107 | (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, | |
2108 | OPTION_NO_LITERAL_MOVEMENT): Define. | |
2109 | (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. | |
2110 | (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. | |
2111 | (PARSE_AND_LIST_OPTIONS): Add --size-opt. | |
2112 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, | |
2113 | OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. | |
2114 | (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. | |
2115 | * scripttempl/elfxtensa.sc: Update with changes from elf.sc. | |
2116 | * Makefile.am (eelf32xtensa.c): Update dependencies. | |
2117 | * Makefile.in: Regenerate. | |
2118 | ||
8fdd7217 | 2119 | 2004-10-07 Jeff Baker <[email protected]> |
6c0c5b1e | 2120 | |
8fdd7217 NC |
2121 | * lexsup.c: Handle --warn-shared-textrel option. |
2122 | (ld_options): Restore alpha sorting of options. | |
2123 | * ldmain.c (main): Initialise warn_shared_info field to FALSE. | |
2124 | * ld.texinfo: Add documentation for --warn-shared-textrel. | |
2125 | * NEWS: Added mention of --warn-shared-textrel option. | |
2126 | ||
339207f8 | 2127 | 2004-10-05 Tomer Levi <[email protected]> |
6c0c5b1e | 2128 | |
339207f8 | 2129 | * emultempl/crxelf.em (disable_relaxation): Add. |
6c0c5b1e | 2130 | (crxelf_before_allocation): Enable --relax option by default. |
339207f8 TL |
2131 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. |
2132 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. | |
2133 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. | |
2134 | ||
bcaa7b3e L |
2135 | 2004-10-04 H.J. Lu <[email protected]> |
2136 | ||
2137 | * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
2138 | --sort-section name|alignment. | |
2139 | ||
2140 | * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
2141 | --sort-section name|alignment. | |
2142 | ||
2143 | * ld.h (sort_type): New enum. | |
2144 | (wildcard_spec): Change the type of `sorted' to sort_type. | |
2145 | ||
2146 | * ldgram.y (SORT): Removed. | |
2147 | (SORT_BY_NAME): Added. | |
2148 | (SORT_BY_ALIGNMENT): Added. | |
2149 | (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and | |
2150 | SORT_BY_ALIGNMENT. | |
2151 | (input_section_spec_no_keep): Updated `sorted'. | |
2152 | (statement): Replace SORT with SORT_BY_NAME. | |
2153 | ||
2154 | * ldlang.c (compare_section): New function to compare 2 | |
2155 | sections with different sorting schemes. | |
2156 | (wild_sort): Updated. Use compare_section. | |
2157 | (update_wild_statements): New function. | |
2158 | (lang_process): Call update_wild_statements before | |
2159 | map_input_to_output_sections. | |
2160 | ||
2161 | * ldlex.l (SORT_BY_NAME): New. | |
2162 | (SORT_BY_ALIGNMENT): New. | |
2163 | (SORT): Return SORT_BY_NAME. | |
2164 | ||
2165 | * ldmain.c (sort_section): New. Defined. | |
2166 | (main): Initialize it to none. | |
2167 | ||
2168 | * lexsup.c (option_values): Add OPTION_SORT_SECTION. | |
2169 | (ld_options): Add an entry for OPTION_SORT_SECTION. | |
2170 | (parse_args): Handle OPTION_SORT_SECTION. | |
2171 | ||
2172 | * mri.c (mri_draw_tree): Updated `sorted'. | |
2173 | ||
a4f5ad88 JJ |
2174 | 2004-10-04 Jakub Jelinek <[email protected]> |
2175 | ||
2176 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. | |
2177 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first | |
2178 | argument. | |
2179 | (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first | |
2180 | and . as second argument. | |
2181 | (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. | |
2182 | * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. | |
2183 | (fold_binary): Add it here. Insert padding to make relro_end | |
2184 | COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in | |
2185 | exp_dataseg_relro_adjust phase just use previously computed | |
2186 | exp_data_seg.base. | |
2187 | * ldlang.c (lang_size_sections): Set exp_data_seg.base for | |
2188 | relro_adjust here. Call lang_size_sections_1 once more if there | |
2189 | was too big padding at DATA_SEGMENT_RELRO_END. | |
2190 | * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. | |
2191 | ||
40a18ebd NC |
2192 | 2004-10-01 Paul Brook <[email protected]> |
2193 | ||
2194 | * emulparams/armelf.sh: Add unwinding table sections. | |
2195 | ||
db8acf26 NC |
2196 | 2004-09-30 Filip Navara <[email protected]> |
2197 | ||
2198 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate | |
2199 | correct base address for position independant executables. | |
2200 | * pe-dll.c (pe_dll_fill_sections): Don't mark position independant | |
2201 | executables as DLLs. | |
2202 | ||
eeac373a PB |
2203 | 2004-09-30 Paul Brook <[email protected]> |
2204 | ||
2205 | * ld.texinfo: Document --target2=abs. | |
2206 | * emulparms/armsymbian.sh (TARGET2_TYPE): Set. | |
2207 | ||
1ee7cf4c NC |
2208 | 2004-09-29 Nick Clifton <[email protected]> |
2209 | ||
2210 | * scripttempl/xstormy16.sc: Only perform the assignments to the | |
2211 | ROM region when not performing a relocatable link. The ROM region | |
2212 | does not start at address 0, but the sections will. | |
2213 | * Makefile.am: Fix linker script dependency for the generation of | |
2214 | eelf32xstormy16.c. | |
2215 | * Makefile.in: Regenerate. | |
2216 | ||
03098a9a CF |
2217 | 2004-09-18 Filip Navara <[email protected]> |
2218 | ||
2219 | * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, | |
2220 | emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, | |
2221 | emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define | |
2222 | TARGET_PAGE_SIZE. | |
2223 | * scripttempl/pe.sc: Make the virtual address and file offset synced if | |
2224 | the alignment is lower than the target page size. | |
2225 | ||
f2d3750d CF |
2226 | 2004-09-27 Filip Navara <[email protected]> |
2227 | ||
2228 | * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow | |
2229 | def_file_parse to handle pe_def_file if NULL and prevent crash with | |
2230 | invalid .def files. | |
2231 | ||
a23d8409 AM |
2232 | 2004-09-27 Alan Modra <[email protected]> |
2233 | ||
2234 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable | |
2235 | --emit-stub-syms automatically when --emit-relocs. | |
2236 | ||
7b89fa29 PB |
2237 | 2004-09-24 Paul Brook <[email protected]> |
2238 | ||
2239 | * scripttempl/elf.sc: Keep .preinit_array, .init_array and | |
2240 | .fini_array sections. | |
2241 | ||
e2a68bcc AS |
2242 | 2004-09-19 Andreas Schwab <[email protected]> |
2243 | ||
2244 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment | |
2245 | base so that relro end is suitably aligned. | |
2246 | ||
3674e28a PB |
2247 | 2004-09-17 Paul Brook <[email protected]> |
2248 | ||
2249 | * ld.texinfo: Rename arm-specific section. Document --target* | |
2250 | * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. | |
2251 | * emulparams/armelf_linux.sh: Ditto. | |
2252 | * emulparams/armelf_nbsd.sh: Ditto. | |
2253 | * emultempl/armelf.em: Set default for TARGET2_TYPE. | |
2254 | (target2_type): New variable. | |
2255 | (arm_elf_before_allocation): Don't pass target1_type. | |
2256 | (arm_elf_create_output_section_statements): New function. | |
2257 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. | |
2258 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. | |
2259 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. | |
2260 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. | |
2261 | * emultempl/armelf_oabi.em (_before_allocation): Remove extra | |
2262 | argument to bfd_elf32_arm_process_before_allocation. | |
2263 | ||
f6e332e6 AM |
2264 | 2004-09-17 Alan Modra <[email protected]> |
2265 | ||
2266 | * ldexp.c (fold_name): Update u.undef.next refs. | |
2267 | * emultempl/pe.em: Likewise. | |
2268 | * emultempl/sunos.em: Likewise. | |
2269 | ||
9c933e04 AM |
2270 | 2004-09-17 Alan Modra <[email protected]> |
2271 | ||
2272 | * Makefile.am: Run "make dep-am". | |
2273 | * Makefile.in: Regenerate. | |
2274 | * config.in: Regenerate. | |
2275 | * configure: Regenerate. | |
2276 | * aclocal.m4: Regenerate. | |
2277 | * po/ld.pot: Regenerate. | |
2278 | ||
1fa32646 TL |
2279 | 2004-09-16 Tomer Levi <[email protected]> |
2280 | ||
9c933e04 AM |
2281 | * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. |
2282 | (.fini): Likewise. | |
2283 | (.jcr): Likewise. | |
1fa32646 | 2284 | |
b6ee372a AM |
2285 | 2004-09-16 Alan Modra <[email protected]> |
2286 | ||
2287 | * emultempl/armelf_oabi.em (before_allocation): Add extra zero param | |
2288 | to bfd_elf32_arm_process_before_allocation call. | |
2289 | ||
9c504268 PB |
2290 | 2004-09-13 Paul Brook <[email protected]> |
2291 | ||
2292 | * emulparams/armsymbian.sh: Set TARGET1_IS_REL. | |
2293 | * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. | |
2294 | ||
d15b04bd L |
2295 | 2004-09-07 H.J. Lu <[email protected]> |
2296 | ||
2297 | * configure: Regenerated with autconfig 2.13. | |
2298 | ||
875c4330 AS |
2299 | 2004-09-07 Andreas Schwab <[email protected]> |
2300 | ||
2301 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment | |
2302 | alignment before adjusting DATA_SEGMENT_RELRO_END. | |
2303 | ||
229fcec5 MM |
2304 | 2004-09-06 Mark Mitchell <[email protected]> |
2305 | ||
2306 | * emulparams/armsymbian.sh: Use armbpabi script. | |
2307 | * scripttempl/armbpabi.sc: New script. | |
2308 | ||
e5a52504 MM |
2309 | 2004-09-02 Mark Mitchell <[email protected]> |
2310 | ||
2311 | * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. | |
2312 | (earmsymbian.c): New target. | |
2313 | * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. | |
2314 | * Makefile.in: Regenerated. | |
2315 | * aclocal.m4: Likewise. | |
2316 | * configure: Likewise. | |
2317 | * emulparams/armsymbian.sh: New file. | |
2318 | ||
42851540 NC |
2319 | 2004-09-03 Tomer Levi <[email protected]> |
2320 | ||
2321 | * scripttempl/elf32crx.sc: Edit file with comments. | |
2322 | (.init): Add new section. | |
2323 | (.fini): Likewise. | |
2324 | (.ctor): Control the linkage order. | |
2325 | (.dtor): Likewise. | |
2326 | ||
c034e3e0 NC |
2327 | 2004-08-27 Nick Clifton <[email protected]> |
2328 | ||
2329 | * emultempl/pe.em (after_open): Do not assume that either bfd is | |
9c933e04 | 2330 | an archive. |
c034e3e0 | 2331 | |
688c58f3 AM |
2332 | 2004-08-26 Alan Modra <[email protected]> |
2333 | ||
2334 | * ldlang.c (lang_init): Don't compare with TRUE. | |
2335 | ||
b18c562e NC |
2336 | 2004-08-25 Dmitry Diky <[email protected]> |
2337 | ||
2338 | * emulparams/msp430all.sh: Fix RAM sizes for all targets. | |
2339 | * scripttempl/elf32msp430.sc: Add .profiler section definition. | |
2340 | ||
61f5d054 L |
2341 | 2004-08-24 H.J. Lu <[email protected]> |
2342 | ||
2343 | * ldlang.c (wildcardp): Defined as a macro with strpbrk. | |
2344 | ||
e77d3d77 MM |
2345 | 2004-08-19 Mark Mitchell <[email protected]> |
2346 | ||
2347 | * configure.tgt (arm*-*-symbianelf*): New target. | |
2348 | (arm*-*-eabi*): Likewise. | |
2349 | ||
3f764659 JJ |
2350 | 2004-08-19 Jakub Jelinek <[email protected]> |
2351 | ||
2352 | * emultempl/ppc64elf.em (non_overlapping_opd): New variable. | |
2353 | (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). | |
2354 | (OPTION_NON_OVERLAPPING_OPD): Define. | |
2355 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add | |
2356 | --non-overlapping-opd option. | |
2357 | ||
a010d60f AM |
2358 | 2004-08-18 Alan Modra <[email protected]> |
2359 | ||
2360 | PR 338 | |
2361 | * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol | |
2362 | was already on the undefs list. | |
2363 | ||
c4e33880 AM |
2364 | 2004-08-17 Alan Modra <[email protected]> |
2365 | ||
2366 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot | |
2367 | prefix the symbol field too. | |
2368 | ||
d003868e AM |
2369 | 2004-08-13 Alan Modra <[email protected]> |
2370 | ||
2371 | * ldmain.c (link_callbacks): Remove "error_handler". | |
2372 | * ldmisc.c: Include elf-bfd.h. | |
2373 | (vfinfo): Sort comment. Handle %A. Use %A instead of | |
2374 | bfd_get_section_indent. | |
2375 | (error_handler): Delete. | |
2376 | * ldmisc.h (error_handler): Delete declaration. | |
2377 | ||
99877b66 AM |
2378 | 2004-08-10 Alan Modra <[email protected]> |
2379 | ||
2380 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call | |
2381 | ppc64_elf_restore_symbols. | |
2382 | ||
40e45c8b AM |
2383 | 2004-08-09 Alan Modra <[email protected]> |
2384 | ||
2385 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if | |
2386 | .toc is too large on relocatable linking. | |
2387 | ||
ccfa59ea AM |
2388 | 2004-08-09 Alan Modra <[email protected]> |
2389 | ||
2390 | * emultempl/ppc64elf.em (ppc_after_open): Delete. | |
2391 | (LDEMUL_AFTER_OPEN): Don't define. | |
2392 | ||
93fd0973 SC |
2393 | 2004-08-02 Stephane Carrez <[email protected]> |
2394 | ||
2395 | * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. | |
2396 | ||
f1b123db SC |
2397 | 2004-08-01 Stephane Carrez <[email protected]> |
2398 | ||
2399 | * scripttempl/elfm68hc12.sc: Align text, rodata and data section | |
2400 | on power of 2. | |
2401 | ||
e7fbc2bf JT |
2402 | 2004-07-27 Jason Thorpe <[email protected]> |
2403 | ||
2404 | * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". | |
2405 | ||
c05e9f04 NC |
2406 | 2004-07-26 Dmitry Diky <[email protected]> |
2407 | ||
2408 | * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, | |
2409 | msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, | |
2410 | msp430xG439. | |
2411 | * configure.tgt: Likewise. | |
2412 | * emulparams/msp430all.sh: Likewise. | |
2413 | * Makefile.in: Regenerate. | |
2414 | ||
9f61903d NC |
2415 | 2004-07-23 Nick Clifton <[email protected]> |
2416 | ||
2417 | * emultempl/elf32.em (_place_orphan): Use an already existing | |
2418 | section name if that section does not have any flags set. | |
2419 | ||
082b7297 L |
2420 | 2004-07-21 H.J. Lu <[email protected]> |
2421 | ||
2422 | * ldlang.c (already_linked_hash_entry): Removed. | |
2423 | (already_linked): Likewise. | |
2424 | (already_linked_table): Likewise. | |
2425 | (section_already_linked): Call bfd_section_already_linked. | |
2426 | (lang_process): Replace already_linked_table_init with | |
2427 | bfd_section_already_linked_table_init and check return. Replace | |
2428 | already_linked_table_free with bfd_section_already_linked_table_free. | |
2429 | ||
76d7af2d NC |
2430 | 2004-07-21 Nick Clifton <[email protected]> |
2431 | ||
2432 | * ldlang.c (init_os): Make sure that the newly allocated userdata | |
2433 | structure is zeroed out. | |
2434 | ||
14b3c463 L |
2435 | 2004-07-19 H.J. Lu <[email protected]> |
2436 | ||
2437 | * NEWS: Mention the new --add-needed/--no-add-needed and | |
2438 | --as-needed/--no-as-needed options. | |
2439 | ||
e56f61be L |
2440 | 2004-07-19 H.J. Lu <[email protected]> |
2441 | ||
2442 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also | |
2443 | check the add_needed field. | |
2444 | (dt_needed): New struct. | |
2445 | (gld${EMULATION_NAME}_try_needed): Change the first argument | |
2446 | to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED | |
2447 | bit in the file where the DT_NEEDED entry comes from. | |
2448 | (gld${EMULATION_NAME}_search_needed): Change the second | |
2449 | argument to a pointer to struct dt_needed. | |
2450 | (gld${EMULATION_NAME}_check_ld_so_conf): Updated. | |
2451 | (gld${EMULATION_NAME}_after_open): Likewise. | |
2452 | ||
2453 | * ld.texinfo: Add --add-needed document. | |
2454 | * ldlang.c (new_afile): Set p->add_needed. | |
2455 | * ldlang.h (lang_input_statement_type): Add add_needed field. | |
2456 | * ldmain.h (add_needed): Declare. | |
2457 | * ldmain.c (add_needed): New global var. | |
2458 | * lexsup.c (option_values): Add OPTION_ADD_NEEDED and | |
2459 | OPTION_NO_ADD_NEEDED. | |
2460 | (ld_options): Likewise. | |
2461 | (parse_args): Handle them. | |
2462 | ||
c99b8138 NC |
2463 | 2004-07-13 Christof Petig <[email protected]> |
2464 | ||
2465 | * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct | |
2466 | for endian-ness of extracted addend. | |
2467 | ||
13ed4151 NC |
2468 | 2004-07-13 Danny Smith <[email protected]> |
2469 | ||
2470 | * pe-dll.c (auto_export): Filter on just the import prefix, | |
2471 | "_imp_", not "_imp__". | |
2472 | ||
1a320fbb NC |
2473 | 2004-07-09 Nick Clifton <[email protected]> |
2474 | ||
2475 | * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. | |
2476 | ||
1fe1f39c NC |
2477 | 2004-07-06 Tomer Levi <[email protected]> |
2478 | ||
2479 | * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. | |
2480 | (eelf32crx.c): New target. | |
2481 | * Makefile.in: Regenerate. | |
2482 | * configure.tgt: Handle crx-*-elf*. | |
2483 | * emulparams/elf32crx.sh: New file. | |
2484 | * emultempl/crxelf.em: New file. | |
2485 | * scripttempl/elf32crx.sc: New file. | |
2486 | * NEWS: Mention new target. | |
2487 | ||
85fbca6a NC |
2488 | 2004-07-06 Nick Clifton <[email protected]> |
2489 | ||
2490 | * Makefile.am: Add eshlsymbian.c. | |
2491 | * Makefile.in: Regenerate. | |
2492 | * configure.tgt: Add sh*-symbian-elf target. | |
2493 | * emulparams/shlsymbian.sh: New file. Configure the | |
2494 | sh-symbian-elf linker scripts. | |
2495 | * scripttemp/elf32sh-symbian.sc: New file. Linker script | |
2496 | template for the sh-symbian-elf target. | |
2497 | ||
b71a5181 DA |
2498 | 2004-07-05 John David Anglin <[email protected]> |
2499 | ||
2500 | * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. | |
2501 | * emulparams/hppalinux.sh: Likewise. | |
2502 | * scripttempl/elf.sc: Place .plt just before .got when .plt is in | |
2503 | data segment and PLT_BEFORE_GOT is defined. | |
2504 | ||
c87db184 CF |
2505 | 2004-07-03 Aaron W. LaFramboise <[email protected]> |
2506 | ||
2507 | * ld.texinfo (WIN32): Document PE weak symbols. | |
2508 | ||
f6a8ae81 KK |
2509 | 2004-07-02 Kaz Kojima <[email protected]> |
2510 | ||
2511 | * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
2512 | ||
b602c853 L |
2513 | 2004-07-01 H.J. Lu <[email protected]> |
2514 | ||
2515 | * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify | |
2516 | the section. | |
2517 | ||
1a23a9e6 AM |
2518 | 2004-06-29 Alan Modra <[email protected]> |
2519 | ||
2520 | * ldlang.c (lang_reset_memory_regions): Save last relax pass section | |
2521 | size in rawsize. | |
2522 | ||
eea6121a AM |
2523 | 2004-06-24 Alan Modra <[email protected]> |
2524 | ||
2525 | * ldlang.c (print_output_section_statement): Don't print size before | |
2526 | relaxation. | |
2527 | (IGNORE_SECTION): Remove bfd arg. Update all callers. | |
2528 | ||
2529 | * ldexp.c (fold_name): .. See below. | |
2530 | * ldlang.c (section_already_linked, print_output_section_statement, | |
2531 | print_input_section, insert_pad, size_input_section, | |
2532 | lang_check_section_addresses, lang_size_sections_1, | |
2533 | lang_size_sections, lang_do_assignments_1, lang_set_startof, | |
2534 | lang_one_common, lang_reset_memory_regions, lang_process, | |
2535 | lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. | |
2536 | * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. | |
2537 | * pe-dll.c (process_def_file, generate_reloc): .. | |
2538 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, | |
2539 | gld${EMULATION_NAME}_before_allocation): .. | |
2540 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. | |
2541 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, | |
2542 | sh64_elf_${EMULATION_NAME}_after_allocation): .. | |
2543 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. | |
2544 | * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, | |
2545 | ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use | |
2546 | "size" instead of "_raw_size" and "_cooked_size". Expand | |
2547 | bfd_section_size macro invocations. | |
2548 | ||
552f8272 CF |
2549 | 2004-06-22 Aaron W. LaFramboise <[email protected]> |
2550 | ||
2551 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, | |
2552 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, | |
2553 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and | |
2554 | ___crt_xt_end__. | |
2555 | (.tls): Define ___tls_start__ and ___tls_end__. | |
2556 | ||
aee6f5b4 AO |
2557 | 2004-06-21 Alexandre Oliva <[email protected]> |
2558 | ||
2559 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
2560 | ||
eea6121a | 2561 | 2004-06-18 Adam Nemet <[email protected]> |
f234d5fe | 2562 | |
eea6121a AM |
2563 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. |
2564 | * configure: Regenerate. | |
f234d5fe | 2565 | |
dfff4fbe JJ |
2566 | 2004-06-15 Jakub Jelinek <[email protected]> |
2567 | ||
2568 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to | |
2569 | .gcc_except_table output sections lost accidentally with | |
2570 | -z relro patch. | |
2571 | ||
a9e0c0c6 AM |
2572 | 2004-06-15 Alan Modra <[email protected]> |
2573 | ||
2574 | * ldwrite.c (build_link_order): Use bfd_get_section_size | |
2575 | instead of bfd_get_section_size_before_reloc or _raw_size. | |
2576 | * pe-dll.c (process_def_file): Likewise. | |
2577 | ||
7115639b AM |
2578 | 2004-06-14 Alan Modra <[email protected]> |
2579 | ||
2580 | From Richard Wirth <[email protected]> | |
2581 | * ldlang.c (lang_finish): Don't free lang_definedness_table. | |
2582 | ||
9ca57817 AM |
2583 | 2004-05-29 Alan Modra <[email protected]> |
2584 | ||
2585 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. | |
2586 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. | |
2587 | ||
164e712d AM |
2588 | 2004-05-28 Alan Modra <[email protected]> |
2589 | ||
6feb9908 AM |
2590 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
2591 | throughout file. | |
2592 | * lexsup.c: Formatting. Wrap long lines. | |
2593 | * ldwrite.c: Update copyright date. | |
2594 | ||
164e712d AM |
2595 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
2596 | (output_section_callback): Nor SEC_KEEP here. | |
2597 | (gc_section_callback): Twiddle SEC_EXCLUDE here. | |
2598 | (lang_gc_wild): Delete. Fold into.. | |
2599 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage | |
2600 | collecting. | |
2601 | (lang_process): Always call lang_gc_sections. | |
2602 | (lang_place_orphans): Handle SEC_EXCLUDE sections. | |
2603 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove | |
2604 | SEC_EXCLUDE code. | |
2605 | ||
b3096250 L |
2606 | 2004-05-26 H.J. Lu <[email protected]> |
2607 | ||
2608 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear | |
2609 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. | |
2610 | * ldlang.c (lang_add_section): Likewise. | |
2611 | ||
e49f5022 AM |
2612 | 2004-05-26 Alan Modra <[email protected]> |
2613 | ||
2614 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP | |
2615 | sections when doing a final link. Clear SEC_EXCLUDE when doing | |
2616 | a relocable link, except for SEC_DEBUGGING sections. | |
2617 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the | |
2618 | same condition here to drop SEC_EXCLUDE orphan sections. | |
2619 | ||
57ceae94 AM |
2620 | 2004-05-25 Alan Modra <[email protected]> |
2621 | ||
2622 | * ldlang.c (lang_process): Call bfd_merge_sections later, and | |
2623 | only when not a relocatable link. | |
2624 | (print_input_section): Handle SEC_EXCLUDE sections. | |
2625 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. | |
2626 | (lang_do_assignments_1): Likewise. | |
2627 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. | |
2628 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. | |
2629 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
2630 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
2631 | (build_section_lists): Likewise. | |
2632 | ||
a85785bc AS |
2633 | 2004-05-23 Andreas Schwab <[email protected]> |
2634 | ||
2635 | * ld.texinfo (Options): Fix typo in last change. | |
2636 | ||
2d643429 NC |
2637 | 2004-05-21 Andy Chittenden <[email protected]> |
2638 | ||
2639 | * ld.h (ld_config_type): Add new field: hash_table_size. | |
2640 | * ldmain.c: Initialise the new field to zero. If it is non-zero | |
2641 | after parsing the linker's command line call | |
2642 | bfd_hash_set_default_size. | |
2643 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. | |
2644 | (ld_options): Add hash-size. | |
2645 | (parse_args): Parse --hash-size option. Allow | |
2646 | --reduce-memory-overheads to set the default hash table size as | |
2647 | well. | |
2648 | * ld.texinfo: Document the new switch. Also mention that | |
2649 | --reduce-memory-overheads can affect the hash table size. | |
2650 | * NEWS: Mention the new feature. | |
2651 | ||
35835446 JR |
2652 | 2004-05-19 J"orn Rennecke <[email protected]> |
2653 | ||
2654 | * NEWS: Mention new linker map file generation and the | |
2655 | --reduce-memory-overheads option. | |
2656 | * ld.texinfo: Document --reduce-memory-overheads option. | |
2657 | * ld.h (map_symbol_def): New struct. | |
2658 | (struct user_section_struct, section_userdata_type): Rename to: | |
2659 | (struct lean_user_section_struct, lean_section_userdata_type). | |
2660 | (struct fat_user_section_struct, fat_section_userdata_type): New. | |
2661 | (SECTION_USERDATA_SIZE): Define. | |
2662 | (args_type): New member reduce_memory_overheads. | |
2663 | * ldlang.c (map_obstack): New static variable. | |
2664 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. | |
2665 | (lang_map): Unless command_line.reduce_memory_overheads is set, | |
2666 | initialize lists of defined symbols for each section. | |
2667 | (print_input_section): Unless command_line.reduce_memory_overheads | |
2668 | is set, use print_all_symbols. | |
2669 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. | |
2670 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. | |
2671 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. | |
2672 | (ld_options): Add entry for --reduce-memory-overheads. | |
2673 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. | |
2674 | ||
0841712e JJ |
2675 | 2004-05-19 Jakub Jelinek <[email protected]> |
2676 | ||
2677 | * ldgram.y (sect_constraint): New. | |
2678 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
2679 | (section): Add sect_constraint. Pass additional argument | |
2680 | to lang_enter_output_section_statement. | |
2681 | * mri.c (mri_draw_tree): Pass additional argument to | |
2682 | lang_enter_output_section_statement. | |
2683 | * emultempl/pe.em (place_orphan): Likewise. | |
2684 | (output_prev_sec_find): Disregard output section statements with | |
2685 | constraint == -1. | |
2686 | * emultempl/mmo.em (output_prev_sec_find): Likewise. | |
2687 | (mmo_place_orphan): Pass additional argument to | |
2688 | lang_enter_output_section_statement. | |
2689 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section | |
2690 | statements with constraint == -1. | |
2691 | (place_orphan): Pass additional argument to | |
2692 | lang_enter_output_section_statement. | |
2693 | * ldlang.c (lang_enter_overlay_section): Likewise. | |
2694 | (lang_output_section_find_1): New. | |
2695 | (lang_output_section_find): Use it. | |
2696 | (lang_output_section_statement_lookup_1): New. | |
2697 | (lang_output_section_statement_lookup): Use it. | |
2698 | (check_section_callback, check_input_sections): New. | |
2699 | (map_input_to_output_sections): Check if all input sections | |
2700 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. | |
2701 | (strip_excluded_output_sections): Disregard output section statements | |
2702 | with constraint == -1. | |
2703 | (lang_record_phdrs): Likewise. | |
2704 | (lang_enter_output_section_statement): Add constraint argument. | |
2705 | Use lang_output_section_statement_lookup_1. | |
2706 | * ldlang.h (lang_output_section_statement_type): Add constraint | |
2707 | and all_input_readonly fields. | |
2708 | (lang_enter_output_section_statement): Adjust prototype. | |
2709 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
2710 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text | |
2711 | segment if all input sections are readonly. | |
2712 | ||
eea6121a | 2713 | 2004-05-19 Adam Nemet <[email protected]> |
f2c50328 NC |
2714 | |
2715 | * scripttempl/i386lynx.sc: Remove file. | |
2716 | ||
2a16d82a BW |
2717 | 2004-05-17 Bob Wilson <[email protected]> |
2718 | ||
2719 | * ld.texinfo (Output Section Address): Correct subsection name. | |
2720 | ||
eea6121a | 2721 | 2004-05-17 Adam Nemet <[email protected]> |
b2d65c0b NC |
2722 | |
2723 | * configure.tgt (powerpc-*-lynxos* case): New case. | |
2724 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. | |
2725 | * emulparams/ppclynx.sh: New file. | |
2726 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. | |
2727 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o | |
2728 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. | |
2729 | (eppclynx.c): New rule. | |
2730 | * Makefile.in: Regenerate. | |
2731 | ||
4b363073 NC |
2732 | 2004-05-13 Joel Sherrill <[email protected]> |
2733 | ||
2734 | * configure.tgt (or32-*-rtems*): Switch to elf and | |
2735 | support versioned targets. | |
2736 | ||
9598fbe5 NC |
2737 | 2004-05-13 Nick Clifton <[email protected]> |
2738 | ||
2739 | * po/fr.po: Updated French translation. | |
2740 | ||
8c37241b JJ |
2741 | 2004-05-11 Jakub Jelinek <[email protected]> |
2742 | ||
2743 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts | |
2744 | for binaries, -shared and -pie. | |
2745 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. | |
2746 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. | |
2747 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... | |
2748 | (OTHER_RELRO_SECTIONS): ... this. | |
2749 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. | |
2750 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
2751 | -z relro and -z norelro. | |
2752 | (gld${EMULATION_NAME}_list_options): Add it to usage. | |
2753 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now | |
2754 | -z relro scripts when appropriate. | |
2755 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. | |
2756 | Create separate .got.plt section if SEPARATE_GOTPLT. | |
2757 | Move sections which are only written during relocation handling | |
2758 | to the beginning of RW segment. If NO_SMALL_DATA, move .got | |
2759 | before .data. Add DATA_SEGMENT_RELRO_END directive. | |
2760 | Include OTHER_RELRO_SECTIONS. | |
2761 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. | |
2762 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. | |
2763 | (fold_unary): Likewise. | |
2764 | (fold_binary): Handle -z relro. | |
2765 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and | |
2766 | exp_dataseg_relro_adjust phases. Add relro_end field. | |
2767 | * ldmain.c (main): Initialize link_info.relro to FALSE. | |
2768 | * ldlang.c (lang_size_sections): Handle -z relro. | |
2769 | ||
e21059f2 MM |
2770 | 2004-05-08 Marek Michalkiewicz <[email protected]> |
2771 | ||
2772 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. | |
2773 | ||
5f9b8920 JR |
2774 | 2004-05-07 J"orn Rennecke <[email protected]> |
2775 | ||
2776 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma | |
2777 | before printing it with %W. | |
2778 | ||
26d2d8a2 | 2779 | 2004-05-07 Brian Ford <[email protected]> |
eea6121a | 2780 | DJ Delorie <[email protected]> |
26d2d8a2 BF |
2781 | |
2782 | * emultempl/pe.em (real_flags): New static. | |
2783 | (OPTION_LARGE_ADDRESS_AWARE): New define. | |
2784 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. | |
2785 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
2786 | (gld${EMULATION_NAME}_handle_option): Likewise. | |
2787 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. | |
2788 | * ld.texinfo: Document it. | |
2789 | * NEWS: Mention it. | |
2790 | ||
1b169501 BF |
2791 | 2004-05-07 Brian Ford <[email protected]> |
2792 | ||
2793 | * NEWS: Mention DWARF 2 support for i386pe. | |
2794 | ||
41cf0c62 AO |
2795 | 2004-05-05 Alexandre Oliva <[email protected]> |
2796 | ||
2797 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new | |
2798 | elf32-frvfdpic. | |
2799 | ||
d0d6a25b AM |
2800 | 2004-04-30 Alan Modra <[email protected]> |
2801 | ||
2802 | * ldlang.c (unique_section_p): Pass section parm, return true on | |
2803 | group sections. | |
2804 | (output_section_callback): Adjust. | |
2805 | * ldlang.h (unique_section_p): Update prototype. | |
2806 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. | |
2807 | ||
755306be EB |
2808 | 2004-04-30 Eric Botcazou <[email protected]> |
2809 | ||
eea6121a | 2810 | * ld.texinfo (--gc-sections): Remove restriction for |
755306be EB |
2811 | dynamic linking. |
2812 | ||
8a7140c3 NC |
2813 | 2004-04-29 Brian Ford <[email protected]> |
2814 | ||
2815 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections | |
2816 | for DWARF 2/3. Update stab section's syntax. | |
2817 | ||
2f9636ba AM |
2818 | 2004-04-29 Alan Modra <[email protected]> |
2819 | ||
2820 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. | |
2821 | (fill_edata): Correct pointer arithmetic. | |
2822 | ||
23867d67 CD |
2823 | 2004-04-21 Chris Demetriou <[email protected]> |
2824 | ||
2825 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. | |
2826 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. | |
2827 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. | |
2828 | (EXTRA_EM_FILE): Use mipsecoff.em | |
2829 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. | |
2830 | (EXTRA_EM_FILE): Use mipsecoff.em | |
2831 | * emultempl/mipsecoff.em: Restructure to be included as an | |
2832 | extra emulation file. | |
2833 | (check_sections, gld${EMULATION_NAME}_after_open) | |
2834 | (gld${EMULATION_NAME}_after_allocation) | |
2835 | (gld${EMULATION_NAME}_get_script) | |
2836 | (ld_${EMULATION_NAME}_emulation): Remove | |
2837 | (gld${EMULATION_NAME}_before_parse): Rename to... | |
2838 | (mipsecoff_before_parse): This. | |
2839 | (LDEMUL_BEFORE_PARSE): Define. | |
2840 | * emultempl/mipself.em: Remove file. | |
2841 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. | |
2842 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing | |
2843 | these symbols. | |
2844 | * Makefile.am: Remove dependencies on emultempl/mipself.em. | |
2845 | * Makefile.in: Regenerate. | |
2846 | ||
1502569c NC |
2847 | 2004-04-21 Anil Paranjpe <[email protected]> |
2848 | ||
2849 | * ld.texinfo (synthesizing on H8/300): Information about linker | |
2850 | relaxation support for bit manipulation instructions and system | |
2851 | control instructions is added. | |
2852 | ||
c894ddfb HPN |
2853 | 2004-04-21 Hans-Peter Nilsson <[email protected]> |
2854 | ||
2855 | * NEWS: Mention change in DEFINED semantics. | |
2856 | ||
a85bf78e EB |
2857 | 2004-04-21 Eric Botcazou <[email protected]> |
2858 | ||
2859 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. | |
2860 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. | |
2861 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. | |
2862 | ||
58434bc1 BE |
2863 | 2004-04-21 Ben Elliston <[email protected]> |
2864 | ||
2865 | * ld.texinfo (Simple Example): Add missing punctuation. | |
2866 | ||
7a7f4e42 CD |
2867 | 2004-04-20 Chris Demetriou <[email protected]> |
2868 | ||
2869 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. | |
2870 | ||
3737f867 JJ |
2871 | 2004-04-19 Jakub Jelinek <[email protected]> |
2872 | ||
2873 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section | |
2874 | specially. | |
2875 | ||
3c17e4f7 DS |
2876 | 2004-04-18 Danny Smith <[email protected]> |
2877 | ||
2878 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors | |
2879 | with default priority. Likewise for dtors. | |
2880 | ||
279500de TS |
2881 | 2004-04-11 Thiemo Seufer <[email protected]> |
2882 | ||
2883 | * configure.host: Remove mips*-dec-bsd* target. | |
2884 | * configure.tgt: Likewise. | |
2885 | ||
52f89c0a RS |
2886 | 2004-04-08 Richard Sandiford <[email protected]> |
2887 | ||
2888 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. | |
2889 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. | |
2890 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. | |
2891 | * emultempl/irix.em: New file. | |
2892 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update | |
2893 | dependencies. | |
2894 | * Makefile.in: Regenerate. | |
2895 | ||
e489d0ae PB |
2896 | 2004-04-01 Paul Brook <[email protected]> |
2897 | ||
2898 | * emultempl/armelf.em (byteswap_code): Add. | |
2899 | (arm_elf_before_allocation): Pass extra parameter. | |
2900 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. | |
2901 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. | |
2902 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. | |
2903 | * emultempl/armelf_oabi.em: Pass extra parameter. | |
2904 | * ld.texinfo: Document --be8. | |
2905 | ||
7cc8057a SS |
2906 | 2004-03-30 Stan Shebs <[email protected]> |
2907 | ||
2908 | Remove long-obsolete MPW support. | |
2909 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. | |
2910 | * Makefile.am (mpw): Remove file-presynthesizing actions. | |
2911 | * Makefile.in: Likewise. | |
2912 | * ldfile.c (slash): Remove MPW case. | |
2913 | * ldlex.l [MPW]: Remove unused definition. | |
2914 | ||
0949843d NC |
2915 | 2004-03-30 Galit Heller <[email protected]> |
2916 | ||
2917 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. | |
2918 | (eelf32cr16c.c): New target. | |
2919 | * Makefile.in: Regenerate. | |
2920 | * configure.tgt: Handle cr16c-*-elf*. | |
2921 | * emulparams/elf32cr16c.sh: New file. | |
2922 | * scripttempl/elfcr16c.sc: Likewise | |
2923 | * NEWS: Mention support for new target. | |
2924 | ||
0a159ef8 NC |
2925 | 2004-03-30 Nick Clifton <[email protected]> |
2926 | ||
2927 | * po/sv.po: Updated Swedish translation. | |
2928 | ||
7a945db6 AM |
2929 | 2004-03-27 Alan Modra <[email protected]> |
2930 | ||
2931 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. | |
2932 | * emultempl/hppaelf.em: Likewise. | |
2933 | * emultempl/ppc64elf.em: Likewise. | |
2934 | * emultempl/sh64elf.em: Likewise. | |
2935 | ||
5a580b3a AM |
2936 | 2004-03-25 Alan Modra <[email protected]> |
2937 | ||
2938 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update | |
2939 | size_dynamic_sections call. | |
2940 | ||
b9cf773d AM |
2941 | 2004-03-23 Alan Modra <[email protected]> |
2942 | ||
2943 | PR 51. | |
2944 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set | |
2945 | link_info.wrap_char. | |
2946 | ||
59c2e50f L |
2947 | 2004-03-20 H.J. Lu <[email protected]> |
2948 | ||
2949 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects | |
2950 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. | |
2951 | ||
44349745 AO |
2952 | 2004-03-20 Alexandre Oliva <[email protected]> |
2953 | ||
2954 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. | |
2955 | ||
81359a70 AM |
2956 | 2004-03-19 Alan Modra <[email protected]> |
2957 | ||
2958 | * config.in: Regenerate. | |
2959 | * po/ld.pot: Regenerate. | |
2960 | ||
4a43e768 AM |
2961 | 2004-03-18 Alan Modra <[email protected]> |
2962 | ||
2963 | * ld.texinfo: Add --as-needed doco. | |
2964 | * ldmain.c (as_needed): New global var. | |
2965 | * ldmain.h (as_needed): Declare. | |
2966 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and | |
2967 | OPTION_NO_AS_NEEDED. | |
2968 | (ld_options): Likewise. | |
2969 | (parse_args): Handle them. | |
2970 | * ldlang.h (lang_input_statement_type): Add as_needed field. | |
2971 | * ldlang.c (new_afile): Set p->as_needed. | |
2972 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. | |
2973 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. | |
2974 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. | |
2975 | ||
2976 | * ldlang.c (open_input_bfds): Remove useless cast. | |
2977 | (lang_do_assignments_1): Likewise. | |
2978 | (lang_for_each_input_section): Delete. | |
2979 | ||
9183ed4b AM |
2980 | 2004-03-17 Ralf Corsepius <[email protected]> |
2981 | ||
2982 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
2983 | ||
ee31fbd0 NC |
2984 | 2004-03-08 Danny Smith <[email protected]> |
2985 | ||
2986 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as | |
2987 | private when building implib. | |
2988 | ||
e5caec89 NS |
2989 | 2004-03-05 Nathan Sidwell <[email protected]> |
2990 | ||
2991 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on | |
2992 | SEC_THREAD_LOCAL. | |
2993 | (IGNORE_SECTION): Ignore .tbss sections too. | |
2994 | (lang_size_sections_1): .tbss sections do not advance dot. | |
2995 | ||
cc2f008e AS |
2996 | 2004-03-01 Andreas Schwab <[email protected]> |
2997 | ||
2998 | * ld.texinfo (Options): Fix example for --wrap. | |
2999 | ||
f5a95868 DS |
3000 | 2004-02-25 Danny Smith <[email protected]> |
3001 | ||
3002 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is | |
3003 | not NULL. | |
3004 | ||
177b729b ILT |
3005 | 2004-02-23 Ian Lance Taylor <[email protected]> |
3006 | ||
3007 | * ldlang.c (lang_check): Use %P, not %E, in error message. | |
3008 | ||
1b493742 NS |
3009 | 2004-02-23 Nathan Sidwell <[email protected]> |
3010 | ||
3011 | * ldlang.h (struct lang_output_section_state): Change processed | |
3012 | field's type. | |
3013 | * ldexp.c (check, invalid): Remove. | |
3014 | (fold_name): Move valid_p assignments. Create undefined symbol | |
3015 | when needed. Directly exampine section's processd flag. | |
3016 | * ldlang.c (lang_output_section_statement_lookup): Adjust | |
3017 | processed field init. | |
3018 | (lang_size_sections_1): Allow LOADADDR when determining section's | |
3019 | VMA. Adjust error message. Fold data statement's expr. | |
3020 | (lang_size_sections): Correctly increment lang_statement_iteration. | |
3021 | ||
3022 | 2004-02-23 Alan Modra <[email protected]> | |
3023 | ||
3024 | * ldexp.c (fold_tree): Follow indirect symbols. | |
b9cf773d | 3025 | |
876f4090 NS |
3026 | 2004-02-20 Nathan Sidwell <[email protected]> |
3027 | ||
3028 | * ldgram.y (exp): Add two operand ALIGN. | |
3029 | * ldexp.c (fold_binary): Add ALIGN_K case. | |
3030 | * ld.texinfo (ALIGN): Document two operand version. | |
3031 | ||
384d938f NS |
3032 | 2004-02-19 Nathan Sidwell <[email protected]> |
3033 | ||
3034 | * ldlang.c (map_input_to_output_sections): Initialize sections | |
3035 | mentioned in a data statement expression. | |
3036 | (lang_do_assignments_1): Add data statement's expression's | |
3037 | section's vma. | |
3038 | ||
b6ca8815 NS |
3039 | 2004-02-18 Nathan Sidwell <[email protected]> |
3040 | ||
3041 | * ldgram.y (statement_anywhere): Add assert rule. | |
3042 | * ldlang.c (exp_init_os): Add assert case. | |
3043 | ||
c92c35e7 AC |
3044 | 2004-02-14 Andrew Cagney <[email protected]> |
3045 | ||
3046 | * ldmain.c (remove_output): Call bfd_cache_close. | |
3047 | ||
9bf78c99 RS |
3048 | 2004-02-14 Richard Sandiford <[email protected]> |
3049 | ||
3050 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard | |
3051 | .MIPS.content* and .MIPS.events* sections. | |
3052 | ||
f3806916 DJ |
3053 | 2004-02-09 Daniel Jacobowitz <[email protected]> |
3054 | ||
3055 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move | |
3056 | .note.gnu.arm.ident to after allocated sections. Mark its | |
3057 | address as 0. | |
3058 | ||
4c8e70d7 DJ |
3059 | 2004-02-09 Daniel Jacobowitz <[email protected]> |
3060 | ||
3061 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
3062 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. | |
3063 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. | |
3064 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. | |
3065 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. | |
3066 | ||
ff71f4f7 NC |
3067 | 2004-02-05 Nick Clifton <[email protected]> |
3068 | ||
3069 | * emultempl/pe.em (_after_open): Fix typo in previous delta. | |
3070 | ||
07a68a80 NC |
3071 | 2004-02-04 Danny Smith <[email protected]> |
3072 | ||
3073 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. | |
3074 | ||
1dd3bf68 AM |
3075 | 2004-01-28 Alan Modra <[email protected]> |
3076 | ||
586196d5 AM |
3077 | * genscripts.sh: Fix typo. |
3078 | ||
1dd3bf68 AM |
3079 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
3080 | ||
13d9421f JJ |
3081 | 2004-01-24 Jakub Jelinek <[email protected]> |
3082 | ||
3083 | * emulparams/elf64_ia64.sh: Put .rela.opd into | |
3084 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. | |
3085 | ||
4d8907ac DS |
3086 | 2004-01-20 Danny Smith <[email protected]> |
3087 | ||
3088 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. | |
3089 | * ld.texinfo (--omagic): Note that writable text section | |
3090 | does not conform to published PE-COFF specs. | |
3091 | (--enable-auto-import): Likewise. | |
3092 | ||
e5c60db5 AM |
3093 | 2004-01-15 Alan Modra <[email protected]> |
3094 | ||
3095 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. | |
3096 | ||
6bdafbeb NC |
3097 | 2004-01-13 Nick Clifton <[email protected]> |
3098 | ||
3099 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' | |
3100 | which if true will prevent the LMA region being used as a | |
3101 | replacement for a default VMA region. | |
586196d5 AM |
3102 | (lang_leave_output_section_statement): Pass extra parameter. |
3103 | (lang_leave_overlay): Likewise. | |
3104 | * ld.texinfo (Output Section LMA): Document that the LMA | |
6bdafbeb NC |
3105 | region can be set to the VMA region if no VMA has been set. |
3106 | * ldlang.h (struct lang_output_section_phdr_list): Create a | |
3107 | typedef for this type. Minor formatting fixes. | |
586196d5 | 3108 | |
9dfc8ab2 NC |
3109 | 2004-01-13 Nick Clifton <[email protected]> |
3110 | ||
3111 | * ldlang.c (lang_size_sections_1): If dot is advanced, then | |
3112 | assume that the section should be allocated. | |
3113 | ||
8325c4dd AM |
3114 | 2004-01-13 Alan Modra <[email protected]> |
3115 | ||
3116 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD | |
3117 | sections. Do ignore SEC_NEVER_LOAD sections. | |
3118 | (lang_size_sections_1): Remove test made redundant with the above. | |
3119 | ||
83490352 AM |
3120 | 2004-01-09 Alan Modra <[email protected]> |
3121 | ||
3122 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached | |
3123 | program_header_size. | |
3124 | ||
005e1118 AO |
3125 | 2004-01-06 Alexandre Oliva <[email protected]> |
3126 | ||
3127 | 2003-11-28 Alexandre Oliva <[email protected]> | |
3128 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. | |
3129 | 2003-11-05 Alexandre Oliva <[email protected]> | |
3130 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. | |
3131 | (MAXPAGESIZE): Set to 64Kb. | |
3132 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and | |
3133 | __ROFIXUP_END__. Don't map .rofixup.got any more. | |
3134 | * emulparams/elf32frv.sh (NOP): Set. | |
3135 | 2003-10-31 Alexandre Oliva <[email protected]> | |
3136 | * configure.tgt: Add frv-*-*linux*. | |
3137 | 2003-09-30 Alexandre Oliva <[email protected]> | |
3138 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. | |
3139 | (eelf32frvfd.c): New. | |
3140 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. | |
3141 | * emulparams/elf32frv.sh: Reverted previous two patches. | |
3142 | * emulparams/elf32frvfd.sh: New. | |
3143 | * Makefile.in: Rebuilt. | |
3144 | 2003-09-18 Alexandre Oliva <[email protected]> | |
3145 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added | |
3146 | .rofixup.got to .rofixup. | |
3147 | 2003-09-15 Alexandre Oliva <[email protected]> | |
3148 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. | |
3149 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. | |
3150 | ||
060feee5 JJ |
3151 | 2004-01-05 Jakub Jelinek <[email protected]> |
3152 | ||
3153 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. | |
3154 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. | |
3155 | ||
5e2f1575 AM |
3156 | 2004-01-03 Alan Modra <[email protected]> |
3157 | ||
e5caa5e0 AM |
3158 | * ldexp.c (align_n): Make static. |
3159 | * ldexp.h (align_n): Delete declaration. | |
3160 | * ldlang.h (lang_enter_output_section_statement): Remove | |
3161 | block_value param. | |
3162 | * ldlang.c (lang_enter_output_section_statement): Likewise. | |
3163 | (TO_ADDR, TO_SIZE): Define. | |
c2df3ea5 | 3164 | (opb_shift): New var. |
e5caa5e0 AM |
3165 | (init_opb): New function. |
3166 | (print_input_section): Call init_opb and use TO_ADDR. | |
3167 | (print_data_statement, print_reloc_statement): Likewise. | |
3168 | (print_padding_statement): Likewise. | |
c2df3ea5 | 3169 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
e5caa5e0 AM |
3170 | (lang_check_section_addresses): Likewise. |
3171 | (lang_size_sections_1): Likewise. | |
3172 | (lang_do_assignments_1): Likewise. | |
3173 | (lang_set_startof): Likewise. | |
c2df3ea5 | 3174 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
e5caa5e0 | 3175 | (lang_process): Call init_opb. |
c2df3ea5 | 3176 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
e5caa5e0 AM |
3177 | (lang_enter_overlay_section): Adjust |
3178 | lang_enter_output_section_statement call. | |
3179 | * ldgram.y: Likewise. | |
3180 | * mri.c (mri_draw_tree): Likewise. | |
3181 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
3182 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
3183 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
3184 | ||
5e2f1575 AM |
3185 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
3186 | * ldfile.h (ldfile_set_output_arch): Ditto. | |
3187 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use | |
3188 | ldfile_set_output_arch. | |
3189 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3190 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3191 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3192 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3193 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3194 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3195 | * ldgram.y: Adjust ldfile_set_output_arch call. | |
3196 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3197 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3198 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3199 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3200 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. | |
3201 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3202 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
3203 | ||
b50c15dc NC |
3204 | 2004-01-02 Bernardo Innocenti <[email protected]> |
3205 | ||
3206 | * configure.tgt: Add m68k-uClinux target. | |
6edf0760 | 3207 | |
c9e214e5 | 3208 | For older changes see ChangeLog-0203 |
252b5132 RH |
3209 | \f |
3210 | Local Variables: | |
3211 | mode: change-log | |
3212 | left-margin: 8 | |
3213 | fill-column: 74 | |
3214 | version-control: never | |
3215 | End: |