]>
Commit | Line | Data |
---|---|---|
b717d30e JJ |
1 | 2005-01-21 Jakub Jelinek <[email protected]> |
2 | ||
3 | * ldgram.y (AS_NEEDED): New token. | |
4 | (input_list): Handle AS_NEEDED ( input_list ). | |
5 | * ldlex.l (AS_NEEDED): Add. | |
6 | * ld.texinfo: Document AS_NEEDED (). | |
7 | * NEWS: Mention AS_NEEDED (). | |
8 | ||
7a64f7b8 BE |
9 | 2005-01-21 Ben Elliston <[email protected]> |
10 | ||
11 | * ldlang.c (lang_reasonable_defaults): Remove. | |
12 | (lang_process): Don't call lang_reasonable_defaults. | |
13 | ||
14 | * ldexp.c (exp_assop): Remove #if 0'd code. | |
15 | (exp_print_tree): Likewise. | |
16 | * ldlang.c (lang_memory_region_lookup): Likewise. | |
17 | (open_output): Likewise. | |
18 | (lang_do_assignments_1): Likewise. | |
19 | (lang_place_orphans): Likewise. | |
20 | (lang_enter_output_section_statement): Likewise. | |
21 | (lang_reasonable_defaults): Likewise. | |
22 | * ldlang.h (struct lang_input_statement_struct): Likewise. | |
23 | * mri.c (mri_draw_tree): Likewise. | |
24 | (mri_load): Likewise. | |
25 | * pe-dll.c (generate_reloc): Likewise. | |
26 | (make_import_fixup_entry): Likewise. | |
27 | (pe_as16): Likewise. | |
28 | * emultempl/beos.em (set_pe_subsystem): Likewise. | |
29 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. | |
30 | * emultempl/pe.em: Likewise. | |
31 | * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. | |
32 | ||
a154a8ad MM |
33 | 2005-01-20 Daniel Jacobowitz <[email protected]> |
34 | ||
35 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. | |
36 | (earmelfb_linux_eabi.c): New target. | |
37 | * Makefile.in: Regenerated. | |
38 | * configure.tgt (arm*b-*-linux-gnueabi): New target. | |
39 | * emulparams/armelfb_linux_eabi.sh: New file. | |
40 | ||
9c183183 AM |
41 | 2005-01-20 Nick Hudson <[email protected]> |
42 | ||
43 | PR ld/676 | |
44 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
45 | Handle bfd_elf32_hppa_nbsd_vec. | |
46 | ||
e2243057 RS |
47 | 2005-01-19 Richard Sandiford <[email protected]> |
48 | ||
49 | * ldmain.h (ld_sysroot): Change type to a constant string. | |
50 | * ldmain.c (ld_sysroot): Likewise. | |
51 | (get_relative_sysroot, get_sysroot): New functions, adding command-line | |
52 | support for changing the sysroot. | |
53 | (main): Call the new functions. | |
54 | * lexsup.c (OPTION_SYSROOT): New. | |
55 | (ld_options): Add --sysroot. | |
56 | (parse_args): Add a dummy handler for it. | |
57 | * ld.texinfo (--sysroot): Document. | |
58 | * NEWS: Mention the new --sysroot option. | |
59 | ||
1449d79b AM |
60 | 2005-01-18 Alan Modra <[email protected]> |
61 | ||
62 | * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. | |
63 | (lang_place_orphans): Don't abort on just_syms_flag, instead call | |
64 | bfd_link_just_syms. | |
65 | ||
a880c748 DS |
66 | 2005-01-16 Danny Smith <[email protected]> |
67 | ||
68 | * defilep.y (def_name, def_library): Combine into... | |
69 | (def_image_name): New function. Strip name to basename, | |
70 | with warning. | |
71 | ||
07baa8ee MK |
72 | 2005-01-12 Mark Kettenis <[email protected]> |
73 | ||
74 | * configure.in: Be sure to invoke config.sub using the shell. | |
75 | * configure: Regenerate. | |
76 | ||
e9b181b8 AM |
77 | 2005-01-11 Alan Modra <[email protected]> |
78 | ||
79 | * configure.host: Correct sed patterns for last change. | |
80 | ||
59ef2528 NC |
81 | 2005-01-10 Nick Clifton <[email protected]> |
82 | ||
83 | PR binutils/609 | |
84 | * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this | |
85 | to determine whether config.make_executable should be set to FALSE in | |
86 | conjunction with config.fatal_warnings. | |
87 | (info_msg, minfo, lfinof): Pass FALSE as the extra argument. | |
88 | (einfo): Pass TRUE as the extra argument. | |
89 | ||
71a2d53a NC |
90 | 2005-01-10 Greg Schaffer <[email protected]> |
91 | ||
92 | * configure.host (linux targets): Use "${CC} -dumpspecs" instead | |
93 | of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. | |
94 | (ia64-*-aix): Delete - this target is obsolete, and would be | |
95 | broken by this patch. | |
96 | ||
d6d0b336 EB |
97 | 2005-01-06 Eric Botcazou <[email protected]> |
98 | ||
99 | * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. | |
100 | (sparc64-sun-solaris2*): New host. | |
101 | ||
4e7fd91e PB |
102 | 2005-01-06 Paul Brook <[email protected]> |
103 | ||
104 | * Makefie.am: Add earmelf_vxworks. | |
105 | * Makefile.in: Regenerate. | |
106 | * configure.tgt: Make arm-*-vxworks a separate case. | |
107 | * emulparams/armelf_vxworks.sh: New function. | |
108 | ||
4c52953f AM |
109 | 2005-01-06 Alan Modra <[email protected]> |
110 | ||
111 | * emultempl/ppc64elf.em (no_multi_toc): New var. | |
112 | (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. | |
113 | (OPTION_NO_MULTI_TOC): Define. | |
114 | (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. | |
115 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. | |
116 | ||
98d87ee7 NC |
117 | 2005-01-05 Nick Clifton <[email protected]> |
118 | ||
119 | PR binutils/614 | |
120 | * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding | |
4c52953f | 121 | Standard's specification for parsable error messages. |
98d87ee7 | 122 | |
5f81b918 PB |
123 | 2005-01-04 Paul Brook <[email protected]> |
124 | ||
125 | * Makefile.am: Correct dependency for earmsymbian.c. | |
126 | * Makefile.in: Regenerate. | |
127 | ||
2af59bab DS |
128 | 2004-12-28 Danny Smith <[email protected]> |
129 | ||
130 | * emultempl/pe.em (set_pe_subsystem): Change second arg to | |
131 | lang_add_entry to FALSE. | |
132 | ||
c38f024c NC |
133 | 2004-12-23 Nick Clifton <[email protected]> |
134 | ||
135 | PR 600 | |
136 | * emulparams/shelf.sh (.stack): Increase stack start address to | |
137 | 0x300000. | |
138 | ||
550bdea6 NC |
139 | 2004-12-20 Nick Clifton <[email protected]> |
140 | ||
141 | * ldmain.c (main): Issue an error message if -static and -shared | |
142 | are used together. | |
143 | ||
e3070fef JJ |
144 | 2004-12-17 Jakub Jelinek <[email protected]> |
145 | ||
146 | * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields. | |
147 | * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them. | |
148 | * ldlang.c (lang_size_sections): Use them to avoid wasting virtual | |
149 | address space at DATA_SEGMENT_ALIGN. Fix computation of expected | |
150 | PT_GNU_RELRO segment end. | |
151 | ||
2fbd2a87 NC |
152 | 2004-12-14 P.J. Darcy <[email protected]> |
153 | ||
154 | * configure.tgt: Add s390x-ibm-tpf support. | |
155 | ||
f2763b01 NC |
156 | 2004-12-16 Martin Kögler <[email protected]> |
157 | ||
158 | * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL | |
159 | BFD. | |
160 | ||
cb9faf63 BE |
161 | 2004-12-07 Ben Elliston <[email protected]> |
162 | ||
163 | * ldemul.h: Forward declare struct option. | |
164 | ||
02f80eef DS |
165 | 2004-12-01 Danny Smith <[email protected]> |
166 | ||
167 | * scripttempl/pe.sc (.data): Add .jcr subsection. | |
168 | ||
dea514f5 PB |
169 | 2004-11-30 Paul Brook <[email protected]> |
170 | ||
171 | * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge. | |
172 | ||
32118081 NC |
173 | 2004-11-30 Tero Niemela <[email protected]> |
174 | ||
175 | * Makefile.am: Change LOCALEDIR to $(datadir)/share. | |
176 | * Makefile.in: Regenerate. | |
177 | ||
33f362e1 NC |
178 | 2004-11-26 Melissa Mears <[email protected]> |
179 | ||
180 | * emultempl/pe.em: Add --subsystem:xbox as well as | |
181 | --subsystem:%d. | |
182 | * ld.texinfo: (ld_options): Document acceptance of subsystem xbox | |
183 | and numeric subsystems. | |
184 | ||
3eda52aa AM |
185 | 2004-11-24 Alan Modra <[email protected]> |
186 | ||
187 | * ldexp.c (fold_name): Correct PR 338 fix. | |
188 | ||
6b3221b4 MM |
189 | 2004-11-19 Mark Mitchell <[email protected]> |
190 | ||
191 | * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. | |
192 | (earmelf_linux_eabi.c): New target. | |
193 | * configure.tgt (arm*-*-linux-gnueabi): Handle it. | |
194 | * emulparams/armelf_linux_eabi.sh: New file. | |
195 | * Makefile.in: Regenerated. | |
196 | ||
9cd6d51a NC |
197 | 2004-11-19 Nick Clifton <[email protected]> |
198 | ||
199 | PR 518 | |
200 | * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and | |
201 | LENGTH fields in the MEMORY command, to explicitly state that | |
202 | symbols cannot be used in their expressions. | |
203 | ||
3ec57632 NC |
204 | 2004-11-19 Jon Beniston <[email protected]> |
205 | ||
206 | * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION. | |
207 | * ld/ldgram.y: Add ORIGIN and LENGTH expressions. | |
4c52953f | 208 | * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions |
3ec57632 NC |
209 | which return the length and origin of a memory. |
210 | * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions. | |
211 | * NEWS: Mention support for ORIGIN and LENGTH operators. | |
212 | ||
b7693d02 DJ |
213 | 2004-11-17 Daniel Jacobowitz <[email protected]> |
214 | ||
215 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use | |
216 | a dynamic object for stubs. | |
217 | ||
fc0e6df6 PB |
218 | 2004-11-04 Paul Brook <[email protected]> |
219 | ||
220 | * ld.texinfo: Document --default-imported-symver. | |
221 | * ldmain.c (main): Set link_info.default_imported_symver. | |
222 | * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. | |
223 | (ld_options): Add --default-imported-symver. | |
224 | (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER. | |
225 | ||
7499d566 NC |
226 | 2004-11-08 Inderpreet Singh <[email protected]> |
227 | Vineet Sharma <[email protected]> | |
228 | ||
229 | * Makefile.am: Add entries for new maxq-coff target. | |
230 | * Makefile.in: Regenerate. | |
231 | * configure.tgt: Add support for maxq. | |
232 | * emulparams/maxqcoff.sh: New File. | |
233 | * scripttempl/maxqcoff.sc: New linker script for target maxq. | |
234 | * NEWS: Mention the new target. | |
235 | ||
977cdf5a NC |
236 | 2004-11-08 Aaron W. LaFramboise <[email protected]> |
237 | ||
238 | * testsuite/ld-scripts/weak.exp: Enable test on PE, | |
239 | XFAIL non-i386 PE. | |
240 | * testsuite/ld-undefined/weak-undef.exp: Enable test on PE, | |
241 | XFAIL non-i386 PE. | |
242 | * testsuite/lib/ld-lib.exp (is_pecoff_format): New. | |
243 | ||
7f266840 DJ |
244 | 2004-11-04 Daniel Jacobowitz <[email protected]> |
245 | ||
246 | * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. | |
247 | (earmelf_oabi.c): Remove rule. | |
248 | * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. | |
249 | * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. | |
250 | * Makefile.in: Regenerated. | |
251 | ||
a0055007 HPN |
252 | 2004-11-04 Hans-Peter Nilsson <[email protected]> |
253 | ||
254 | * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout. | |
255 | * emulparams/criself.sh (INIT_START): Remove emitted "push srp". | |
256 | (FINI_START): Ditto. | |
257 | (INIT_END): Remove emitted "jump [sp+]". | |
258 | (FINI_END): Ditto. | |
259 | ||
c5614fa4 AM |
260 | 2004-11-04 Alan Modra <[email protected]> |
261 | ||
262 | * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt. | |
263 | (no_opd_opt, no_toc_opt): New static vars. | |
264 | (ppc_before_allocation): Don't edit opt if no_opd_opt. Call | |
265 | ppc64_elf_edit_toc. | |
266 | (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define. | |
267 | (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize. | |
268 | (PARSE_AND_LIST_OPTIONS): Describe new options. | |
269 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
270 | ||
7a5df8d0 NC |
271 | 2004-10-27 Nick Clifton <[email protected]> |
272 | ||
273 | * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, | |
274 | parameter to invocation of lang_section_start. | |
275 | * emultempl/aix.em (_handle_option): Likewise. | |
c5614fa4 | 276 | |
7a5df8d0 NC |
277 | * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, |
278 | eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. | |
279 | * Makefile.in: Regenerate. | |
280 | ||
6f372e19 MM |
281 | 2004-10-26 Mark Mitchell <[email protected]> |
282 | ||
283 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit | |
284 | __exidx_{start,end} when not relocating. | |
285 | ||
ba916c8a MM |
286 | 2004-10-25 Mark Mitchell <[email protected]> |
287 | ||
288 | * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc. | |
289 | * ldexp.h (segment_type): New type. | |
290 | (segments): New variable. | |
291 | * ldexp.c (segments): New variable. | |
292 | (exp_print_token): Handle SEGMENT_START. | |
293 | (fold_binary): Likewise. | |
294 | * ldgram.y (SEGMENT_START): Declare it as a token. | |
295 | (exp): Handle SEGMENT_START. | |
296 | * ldlang.h (lang_address_statement_type): Add segment field. | |
297 | (lang_section_start): Change prototype. | |
298 | * ldlang.c (map_input_to_output_sections): Do not process section | |
299 | assignments if a corresponding SEGMENT_START has already been | |
300 | seen. | |
301 | (lang_section_start): Add segment parameter. | |
302 | * ldlex.l (SEGMENT_START): Add it. | |
303 | * lexsup.c (seg_segment_start): New function. | |
304 | (parse_args): Use it for -Tbss, -Tdata, and -Ttext. | |
305 | * ld.texinfo (SEGMENT_START): Document it. | |
306 | * emulparams/armsymbian.sh (EMBEDDED): Set it. | |
307 | * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment | |
308 | base addresses. Do not map relocations. | |
309 | * NEWS: Mention SEGMENT_START. | |
310 | ||
3e3b46e5 PB |
311 | 2004-10-26 Paul Brook <[email protected]> |
312 | ||
313 | * ld.texinfo: Document --default-symver. | |
314 | * ldmain.c (main): Set link_info.create_default_symver. | |
315 | * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. | |
316 | (ld_options): Add default-symver. | |
317 | (parse_args): Handle OPTION_DEFAULT_SYMVER. | |
318 | ||
7b0eaa22 DS |
319 | 2004-10-24 Danny Smith <[email protected]> |
320 | ||
321 | * pe-dll.c (process_def_file): Don't export all symbols by default if | |
322 | building a position-independent executable. | |
323 | ||
dfeffb9f L |
324 | 2004-10-21 H.J. Lu <[email protected]> |
325 | ||
326 | PR 463 | |
327 | * ldmain.c (reloc_overflow): Accept a pointer to struct | |
328 | bfd_link_hash_entry. Report symbol location for relocation | |
329 | overflow. | |
330 | ||
dc4f76f8 L |
331 | 2004-10-21 H.J. Lu <[email protected]> |
332 | ||
333 | * genscripts.sh (libpath.exp): Really generate for first | |
334 | emulation only. | |
335 | ||
2a08daf3 DS |
336 | 2004-10-19 Danny Smith <[email protected]> |
337 | ||
338 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify | |
339 | comparison and replacement of filenames. | |
340 | ||
532345f2 L |
341 | 2004-10-19 H.J. Lu <[email protected]> |
342 | ||
343 | PR 459 | |
344 | * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic | |
345 | option on linker script as the one for linker script. | |
346 | ||
b58f81ae DJ |
347 | 2004-10-16 Daniel Jacobowitz <[email protected]> |
348 | ||
349 | * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) | |
350 | (check_excluded_libs): New. | |
351 | (load_symbols): Call check_excluded_libs. | |
352 | * ldlang.h (add_excluded_libs): New prototype. | |
353 | * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. | |
354 | (gld${EMULATION_NAME}_add_options): Add --exclude-libs. | |
355 | (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. | |
356 | * ld.texinfo (Command Line Variables): Document --exclude-libs. | |
357 | (Options Specific to i386 PE Targets): Remove --exclude-libs. | |
358 | ||
95c148b4 AM |
359 | 2004-10-15 Alan Modra <[email protected]> |
360 | ||
c468c8bc AM |
361 | * ldexp.c (exp_fold_tree): Don't immediately exit ld on a |
362 | failing link script assert. | |
363 | ||
95c148b4 AM |
364 | * ldctor.c (ldctor_add_set_entry): Fix comment typo. |
365 | ||
951e9133 L |
366 | 2004-10-14 H.J. Lu <[email protected]> |
367 | ||
368 | PR 445 | |
369 | * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. | |
370 | (SMALL_DATA_DTOR): Set. | |
371 | * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. | |
372 | (SMALL_DATA_DTOR): Unset. | |
373 | * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors | |
374 | after .data. If SMALL_DATA_DTOR is set, move .dtors after | |
375 | .data. | |
376 | ||
afd7a018 AM |
377 | 2004-10-14 Alan Modra <[email protected]> |
378 | ||
379 | PR 63 | |
380 | * ldlang.h (lang_output_section_statement_type): Make "next" a | |
381 | struct lang_output_section_statement_struct *. | |
382 | (struct orphan_save): Move from elf32.em. Add "name" and "flags". | |
383 | (lang_output_section_find_by_flags, lang_insert_orphan): Declare. | |
384 | * ldlang.c (lang_output_section_find_1): Adjust for changed | |
385 | output_section_statement "next". | |
386 | (strip_excluded_output_sections): Likewise. | |
387 | (lang_record_phdrs): Likewise. | |
388 | (lang_output_section_find_by_flags): New function. | |
389 | (output_prev_sec_find): Move from pe.em. Adjust iterator. | |
390 | (lang_insert_orphan): New function. Tail end of elf32.em's | |
391 | place_orphan merged with that from pe.em. Allow bfd_section to | |
392 | be placed first. New heuristic for placing new output section | |
393 | statement in existing script, and accompanying split of __start | |
394 | symbol alignment into a separate assignment to dot. | |
395 | (lang_add_section): Consistently use output->bfd_section rather than | |
396 | an alias, section->output_section. | |
397 | (map_input_to_output_sections): Rename overly long arg. Move | |
398 | initialization of data_statement output section to here.. | |
399 | (lang_check_section_addresses): ..from here. | |
400 | (print_assignment): Correct printing of etree_assert. | |
401 | (print_all_symbols): Don't bomb if userdata is NULL. | |
402 | (IGNORE_SECTION): Rearrange. | |
403 | * emultempl/elf32.em (output_rel_find): Adjust interator. | |
404 | (output_prev_sec_find): Delete. | |
405 | (struct orphan_save): Delete. | |
406 | (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section | |
407 | flags without creating a duplicate output section statement. | |
408 | Revise code holding history of various orphan section placements. | |
409 | Allow orphan sections to place before script specified output | |
410 | sections. Call lang_output_section_find_by_flags when placement | |
411 | by name fails. Use lang_insert_orphan. | |
412 | * emultempl/mmo.em (output_prev_sec_find): Delete. | |
413 | (struct orphan_save): Delete. | |
414 | (mmo_place_orphan): Revise code holding history of orphan placement. | |
415 | Allow orphans to place before existing output sections. Use | |
416 | lang_insert_orphan. | |
417 | * emultempl/pe.em (output_prev_sec_find): Delete. | |
418 | (struct orphan_save): Delete. | |
419 | (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of | |
420 | lang_insert_orphan. | |
421 | ||
c0042f5d MM |
422 | 2004-10-13 Mark Mitchell <[email protected]> |
423 | ||
424 | * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a | |
425 | loadable segment. | |
426 | ||
1af699f4 AM |
427 | 2004-10-13 Alan Modra <[email protected]> |
428 | ||
429 | PR 44 | |
09c112da AM |
430 | * ldcref.c (check_section_sym_xref): Delete. |
431 | (check_local_sym_xref): New function. | |
432 | (check_nocrossrefs): Adjust call. | |
1af699f4 AM |
433 | * emultempl/pe.em (struct orphan_save): Add os_tail. |
434 | (place_orphan): Backport assorted fixes from elf32.em. | |
435 | ||
7fa3d080 BW |
436 | 2004-10-12 Bob Wilson <[email protected]> |
437 | ||
438 | * emultempl/xtensaelf.em: Use ISO C90 formatting. | |
439 | ||
d3989512 JJ |
440 | 2004-10-11 Jakub Jelinek <[email protected]> |
441 | ||
563f4125 JJ |
442 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid |
443 | getline for portability. | |
444 | ||
d3989512 JJ |
445 | * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. |
446 | (gld${EMULATION_NAME}_parse_ld_so_conf, | |
447 | gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. | |
448 | (gld${EMULATION_NAME}_check_ld_so_conf): Use them. | |
449 | ||
6c0c5b1e AM |
450 | 2004-10-11 Alan Modra <[email protected]> |
451 | ||
452 | PR 423 | |
453 | * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are | |
454 | rejected when linking statically. | |
455 | ||
d2b2c203 DJ |
456 | 2004-10-08 Daniel Jacobowitz <[email protected]> |
457 | ||
458 | * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. | |
459 | ||
43cd72b9 BW |
460 | 2004-10-07 Bob Wilson <[email protected]> |
461 | ||
462 | * ld.texinfo (Xtensa): Describe new linker relaxation to optimize | |
463 | assembler-generated longcall sequences. Describe new --size-opt | |
464 | option. | |
465 | * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. | |
466 | * emultempl/xtensaelf.em (remove_section, | |
467 | replace_insn_sec_with_prop_sec, replace_instruction_table_sections, | |
468 | elf_xtensa_after_open): New. | |
469 | (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, | |
470 | OPTION_NO_LITERAL_MOVEMENT): Define. | |
471 | (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. | |
472 | (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. | |
473 | (PARSE_AND_LIST_OPTIONS): Add --size-opt. | |
474 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, | |
475 | OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. | |
476 | (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. | |
477 | * scripttempl/elfxtensa.sc: Update with changes from elf.sc. | |
478 | * Makefile.am (eelf32xtensa.c): Update dependencies. | |
479 | * Makefile.in: Regenerate. | |
480 | ||
8fdd7217 | 481 | 2004-10-07 Jeff Baker <[email protected]> |
6c0c5b1e | 482 | |
8fdd7217 NC |
483 | * lexsup.c: Handle --warn-shared-textrel option. |
484 | (ld_options): Restore alpha sorting of options. | |
485 | * ldmain.c (main): Initialise warn_shared_info field to FALSE. | |
486 | * ld.texinfo: Add documentation for --warn-shared-textrel. | |
487 | * NEWS: Added mention of --warn-shared-textrel option. | |
488 | ||
339207f8 | 489 | 2004-10-05 Tomer Levi <[email protected]> |
6c0c5b1e | 490 | |
339207f8 | 491 | * emultempl/crxelf.em (disable_relaxation): Add. |
6c0c5b1e | 492 | (crxelf_before_allocation): Enable --relax option by default. |
339207f8 TL |
493 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. |
494 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. | |
495 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. | |
496 | ||
bcaa7b3e L |
497 | 2004-10-04 H.J. Lu <[email protected]> |
498 | ||
499 | * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
500 | --sort-section name|alignment. | |
501 | ||
502 | * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
503 | --sort-section name|alignment. | |
504 | ||
505 | * ld.h (sort_type): New enum. | |
506 | (wildcard_spec): Change the type of `sorted' to sort_type. | |
507 | ||
508 | * ldgram.y (SORT): Removed. | |
509 | (SORT_BY_NAME): Added. | |
510 | (SORT_BY_ALIGNMENT): Added. | |
511 | (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and | |
512 | SORT_BY_ALIGNMENT. | |
513 | (input_section_spec_no_keep): Updated `sorted'. | |
514 | (statement): Replace SORT with SORT_BY_NAME. | |
515 | ||
516 | * ldlang.c (compare_section): New function to compare 2 | |
517 | sections with different sorting schemes. | |
518 | (wild_sort): Updated. Use compare_section. | |
519 | (update_wild_statements): New function. | |
520 | (lang_process): Call update_wild_statements before | |
521 | map_input_to_output_sections. | |
522 | ||
523 | * ldlex.l (SORT_BY_NAME): New. | |
524 | (SORT_BY_ALIGNMENT): New. | |
525 | (SORT): Return SORT_BY_NAME. | |
526 | ||
527 | * ldmain.c (sort_section): New. Defined. | |
528 | (main): Initialize it to none. | |
529 | ||
530 | * lexsup.c (option_values): Add OPTION_SORT_SECTION. | |
531 | (ld_options): Add an entry for OPTION_SORT_SECTION. | |
532 | (parse_args): Handle OPTION_SORT_SECTION. | |
533 | ||
534 | * mri.c (mri_draw_tree): Updated `sorted'. | |
535 | ||
a4f5ad88 JJ |
536 | 2004-10-04 Jakub Jelinek <[email protected]> |
537 | ||
538 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. | |
539 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first | |
540 | argument. | |
541 | (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first | |
542 | and . as second argument. | |
543 | (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. | |
544 | * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. | |
545 | (fold_binary): Add it here. Insert padding to make relro_end | |
546 | COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in | |
547 | exp_dataseg_relro_adjust phase just use previously computed | |
548 | exp_data_seg.base. | |
549 | * ldlang.c (lang_size_sections): Set exp_data_seg.base for | |
550 | relro_adjust here. Call lang_size_sections_1 once more if there | |
551 | was too big padding at DATA_SEGMENT_RELRO_END. | |
552 | * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. | |
553 | ||
40a18ebd NC |
554 | 2004-10-01 Paul Brook <[email protected]> |
555 | ||
556 | * emulparams/armelf.sh: Add unwinding table sections. | |
557 | ||
db8acf26 NC |
558 | 2004-09-30 Filip Navara <[email protected]> |
559 | ||
560 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate | |
561 | correct base address for position independant executables. | |
562 | * pe-dll.c (pe_dll_fill_sections): Don't mark position independant | |
563 | executables as DLLs. | |
564 | ||
eeac373a PB |
565 | 2004-09-30 Paul Brook <[email protected]> |
566 | ||
567 | * ld.texinfo: Document --target2=abs. | |
568 | * emulparms/armsymbian.sh (TARGET2_TYPE): Set. | |
569 | ||
1ee7cf4c NC |
570 | 2004-09-29 Nick Clifton <[email protected]> |
571 | ||
572 | * scripttempl/xstormy16.sc: Only perform the assignments to the | |
573 | ROM region when not performing a relocatable link. The ROM region | |
574 | does not start at address 0, but the sections will. | |
575 | * Makefile.am: Fix linker script dependency for the generation of | |
576 | eelf32xstormy16.c. | |
577 | * Makefile.in: Regenerate. | |
578 | ||
03098a9a CF |
579 | 2004-09-18 Filip Navara <[email protected]> |
580 | ||
581 | * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, | |
582 | emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, | |
583 | emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define | |
584 | TARGET_PAGE_SIZE. | |
585 | * scripttempl/pe.sc: Make the virtual address and file offset synced if | |
586 | the alignment is lower than the target page size. | |
587 | ||
f2d3750d CF |
588 | 2004-09-27 Filip Navara <[email protected]> |
589 | ||
590 | * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow | |
591 | def_file_parse to handle pe_def_file if NULL and prevent crash with | |
592 | invalid .def files. | |
593 | ||
a23d8409 AM |
594 | 2004-09-27 Alan Modra <[email protected]> |
595 | ||
596 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable | |
597 | --emit-stub-syms automatically when --emit-relocs. | |
598 | ||
7b89fa29 PB |
599 | 2004-09-24 Paul Brook <[email protected]> |
600 | ||
601 | * scripttempl/elf.sc: Keep .preinit_array, .init_array and | |
602 | .fini_array sections. | |
603 | ||
e2a68bcc AS |
604 | 2004-09-19 Andreas Schwab <[email protected]> |
605 | ||
606 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment | |
607 | base so that relro end is suitably aligned. | |
608 | ||
3674e28a PB |
609 | 2004-09-17 Paul Brook <[email protected]> |
610 | ||
611 | * ld.texinfo: Rename arm-specific section. Document --target* | |
612 | * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. | |
613 | * emulparams/armelf_linux.sh: Ditto. | |
614 | * emulparams/armelf_nbsd.sh: Ditto. | |
615 | * emultempl/armelf.em: Set default for TARGET2_TYPE. | |
616 | (target2_type): New variable. | |
617 | (arm_elf_before_allocation): Don't pass target1_type. | |
618 | (arm_elf_create_output_section_statements): New function. | |
619 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. | |
620 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. | |
621 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. | |
622 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. | |
623 | * emultempl/armelf_oabi.em (_before_allocation): Remove extra | |
624 | argument to bfd_elf32_arm_process_before_allocation. | |
625 | ||
f6e332e6 AM |
626 | 2004-09-17 Alan Modra <[email protected]> |
627 | ||
628 | * ldexp.c (fold_name): Update u.undef.next refs. | |
629 | * emultempl/pe.em: Likewise. | |
630 | * emultempl/sunos.em: Likewise. | |
631 | ||
9c933e04 AM |
632 | 2004-09-17 Alan Modra <[email protected]> |
633 | ||
634 | * Makefile.am: Run "make dep-am". | |
635 | * Makefile.in: Regenerate. | |
636 | * config.in: Regenerate. | |
637 | * configure: Regenerate. | |
638 | * aclocal.m4: Regenerate. | |
639 | * po/ld.pot: Regenerate. | |
640 | ||
1fa32646 TL |
641 | 2004-09-16 Tomer Levi <[email protected]> |
642 | ||
9c933e04 AM |
643 | * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. |
644 | (.fini): Likewise. | |
645 | (.jcr): Likewise. | |
1fa32646 | 646 | |
b6ee372a AM |
647 | 2004-09-16 Alan Modra <[email protected]> |
648 | ||
649 | * emultempl/armelf_oabi.em (before_allocation): Add extra zero param | |
650 | to bfd_elf32_arm_process_before_allocation call. | |
651 | ||
9c504268 PB |
652 | 2004-09-13 Paul Brook <[email protected]> |
653 | ||
654 | * emulparams/armsymbian.sh: Set TARGET1_IS_REL. | |
655 | * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. | |
656 | ||
d15b04bd L |
657 | 2004-09-07 H.J. Lu <[email protected]> |
658 | ||
659 | * configure: Regenerated with autconfig 2.13. | |
660 | ||
875c4330 AS |
661 | 2004-09-07 Andreas Schwab <[email protected]> |
662 | ||
663 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment | |
664 | alignment before adjusting DATA_SEGMENT_RELRO_END. | |
665 | ||
229fcec5 MM |
666 | 2004-09-06 Mark Mitchell <[email protected]> |
667 | ||
668 | * emulparams/armsymbian.sh: Use armbpabi script. | |
669 | * scripttempl/armbpabi.sc: New script. | |
670 | ||
e5a52504 MM |
671 | 2004-09-02 Mark Mitchell <[email protected]> |
672 | ||
673 | * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. | |
674 | (earmsymbian.c): New target. | |
675 | * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. | |
676 | * Makefile.in: Regenerated. | |
677 | * aclocal.m4: Likewise. | |
678 | * configure: Likewise. | |
679 | * emulparams/armsymbian.sh: New file. | |
680 | ||
42851540 NC |
681 | 2004-09-03 Tomer Levi <[email protected]> |
682 | ||
683 | * scripttempl/elf32crx.sc: Edit file with comments. | |
684 | (.init): Add new section. | |
685 | (.fini): Likewise. | |
686 | (.ctor): Control the linkage order. | |
687 | (.dtor): Likewise. | |
688 | ||
c034e3e0 NC |
689 | 2004-08-27 Nick Clifton <[email protected]> |
690 | ||
691 | * emultempl/pe.em (after_open): Do not assume that either bfd is | |
9c933e04 | 692 | an archive. |
c034e3e0 | 693 | |
688c58f3 AM |
694 | 2004-08-26 Alan Modra <[email protected]> |
695 | ||
696 | * ldlang.c (lang_init): Don't compare with TRUE. | |
697 | ||
b18c562e NC |
698 | 2004-08-25 Dmitry Diky <[email protected]> |
699 | ||
700 | * emulparams/msp430all.sh: Fix RAM sizes for all targets. | |
701 | * scripttempl/elf32msp430.sc: Add .profiler section definition. | |
702 | ||
61f5d054 L |
703 | 2004-08-24 H.J. Lu <[email protected]> |
704 | ||
705 | * ldlang.c (wildcardp): Defined as a macro with strpbrk. | |
706 | ||
e77d3d77 MM |
707 | 2004-08-19 Mark Mitchell <[email protected]> |
708 | ||
709 | * configure.tgt (arm*-*-symbianelf*): New target. | |
710 | (arm*-*-eabi*): Likewise. | |
711 | ||
3f764659 JJ |
712 | 2004-08-19 Jakub Jelinek <[email protected]> |
713 | ||
714 | * emultempl/ppc64elf.em (non_overlapping_opd): New variable. | |
715 | (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). | |
716 | (OPTION_NON_OVERLAPPING_OPD): Define. | |
717 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add | |
718 | --non-overlapping-opd option. | |
719 | ||
a010d60f AM |
720 | 2004-08-18 Alan Modra <[email protected]> |
721 | ||
722 | PR 338 | |
723 | * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol | |
724 | was already on the undefs list. | |
725 | ||
c4e33880 AM |
726 | 2004-08-17 Alan Modra <[email protected]> |
727 | ||
728 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot | |
729 | prefix the symbol field too. | |
730 | ||
d003868e AM |
731 | 2004-08-13 Alan Modra <[email protected]> |
732 | ||
733 | * ldmain.c (link_callbacks): Remove "error_handler". | |
734 | * ldmisc.c: Include elf-bfd.h. | |
735 | (vfinfo): Sort comment. Handle %A. Use %A instead of | |
736 | bfd_get_section_indent. | |
737 | (error_handler): Delete. | |
738 | * ldmisc.h (error_handler): Delete declaration. | |
739 | ||
99877b66 AM |
740 | 2004-08-10 Alan Modra <[email protected]> |
741 | ||
742 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call | |
743 | ppc64_elf_restore_symbols. | |
744 | ||
40e45c8b AM |
745 | 2004-08-09 Alan Modra <[email protected]> |
746 | ||
747 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if | |
748 | .toc is too large on relocatable linking. | |
749 | ||
ccfa59ea AM |
750 | 2004-08-09 Alan Modra <[email protected]> |
751 | ||
752 | * emultempl/ppc64elf.em (ppc_after_open): Delete. | |
753 | (LDEMUL_AFTER_OPEN): Don't define. | |
754 | ||
93fd0973 SC |
755 | 2004-08-02 Stephane Carrez <[email protected]> |
756 | ||
757 | * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. | |
758 | ||
f1b123db SC |
759 | 2004-08-01 Stephane Carrez <[email protected]> |
760 | ||
761 | * scripttempl/elfm68hc12.sc: Align text, rodata and data section | |
762 | on power of 2. | |
763 | ||
e7fbc2bf JT |
764 | 2004-07-27 Jason Thorpe <[email protected]> |
765 | ||
766 | * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". | |
767 | ||
c05e9f04 NC |
768 | 2004-07-26 Dmitry Diky <[email protected]> |
769 | ||
770 | * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, | |
771 | msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, | |
772 | msp430xG439. | |
773 | * configure.tgt: Likewise. | |
774 | * emulparams/msp430all.sh: Likewise. | |
775 | * Makefile.in: Regenerate. | |
776 | ||
9f61903d NC |
777 | 2004-07-23 Nick Clifton <[email protected]> |
778 | ||
779 | * emultempl/elf32.em (_place_orphan): Use an already existing | |
780 | section name if that section does not have any flags set. | |
781 | ||
082b7297 L |
782 | 2004-07-21 H.J. Lu <[email protected]> |
783 | ||
784 | * ldlang.c (already_linked_hash_entry): Removed. | |
785 | (already_linked): Likewise. | |
786 | (already_linked_table): Likewise. | |
787 | (section_already_linked): Call bfd_section_already_linked. | |
788 | (lang_process): Replace already_linked_table_init with | |
789 | bfd_section_already_linked_table_init and check return. Replace | |
790 | already_linked_table_free with bfd_section_already_linked_table_free. | |
791 | ||
76d7af2d NC |
792 | 2004-07-21 Nick Clifton <[email protected]> |
793 | ||
794 | * ldlang.c (init_os): Make sure that the newly allocated userdata | |
795 | structure is zeroed out. | |
796 | ||
14b3c463 L |
797 | 2004-07-19 H.J. Lu <[email protected]> |
798 | ||
799 | * NEWS: Mention the new --add-needed/--no-add-needed and | |
800 | --as-needed/--no-as-needed options. | |
801 | ||
e56f61be L |
802 | 2004-07-19 H.J. Lu <[email protected]> |
803 | ||
804 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also | |
805 | check the add_needed field. | |
806 | (dt_needed): New struct. | |
807 | (gld${EMULATION_NAME}_try_needed): Change the first argument | |
808 | to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED | |
809 | bit in the file where the DT_NEEDED entry comes from. | |
810 | (gld${EMULATION_NAME}_search_needed): Change the second | |
811 | argument to a pointer to struct dt_needed. | |
812 | (gld${EMULATION_NAME}_check_ld_so_conf): Updated. | |
813 | (gld${EMULATION_NAME}_after_open): Likewise. | |
814 | ||
815 | * ld.texinfo: Add --add-needed document. | |
816 | * ldlang.c (new_afile): Set p->add_needed. | |
817 | * ldlang.h (lang_input_statement_type): Add add_needed field. | |
818 | * ldmain.h (add_needed): Declare. | |
819 | * ldmain.c (add_needed): New global var. | |
820 | * lexsup.c (option_values): Add OPTION_ADD_NEEDED and | |
821 | OPTION_NO_ADD_NEEDED. | |
822 | (ld_options): Likewise. | |
823 | (parse_args): Handle them. | |
824 | ||
c99b8138 NC |
825 | 2004-07-13 Christof Petig <[email protected]> |
826 | ||
827 | * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct | |
828 | for endian-ness of extracted addend. | |
829 | ||
13ed4151 NC |
830 | 2004-07-13 Danny Smith <[email protected]> |
831 | ||
832 | * pe-dll.c (auto_export): Filter on just the import prefix, | |
833 | "_imp_", not "_imp__". | |
834 | ||
1a320fbb NC |
835 | 2004-07-09 Nick Clifton <[email protected]> |
836 | ||
837 | * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. | |
838 | ||
1fe1f39c NC |
839 | 2004-07-06 Tomer Levi <[email protected]> |
840 | ||
841 | * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. | |
842 | (eelf32crx.c): New target. | |
843 | * Makefile.in: Regenerate. | |
844 | * configure.tgt: Handle crx-*-elf*. | |
845 | * emulparams/elf32crx.sh: New file. | |
846 | * emultempl/crxelf.em: New file. | |
847 | * scripttempl/elf32crx.sc: New file. | |
848 | * NEWS: Mention new target. | |
849 | ||
85fbca6a NC |
850 | 2004-07-06 Nick Clifton <[email protected]> |
851 | ||
852 | * Makefile.am: Add eshlsymbian.c. | |
853 | * Makefile.in: Regenerate. | |
854 | * configure.tgt: Add sh*-symbian-elf target. | |
855 | * emulparams/shlsymbian.sh: New file. Configure the | |
856 | sh-symbian-elf linker scripts. | |
857 | * scripttemp/elf32sh-symbian.sc: New file. Linker script | |
858 | template for the sh-symbian-elf target. | |
859 | ||
b71a5181 DA |
860 | 2004-07-05 John David Anglin <[email protected]> |
861 | ||
862 | * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. | |
863 | * emulparams/hppalinux.sh: Likewise. | |
864 | * scripttempl/elf.sc: Place .plt just before .got when .plt is in | |
865 | data segment and PLT_BEFORE_GOT is defined. | |
866 | ||
c87db184 CF |
867 | 2004-07-03 Aaron W. LaFramboise <[email protected]> |
868 | ||
869 | * ld.texinfo (WIN32): Document PE weak symbols. | |
870 | ||
f6a8ae81 KK |
871 | 2004-07-02 Kaz Kojima <[email protected]> |
872 | ||
873 | * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
874 | ||
b602c853 L |
875 | 2004-07-01 H.J. Lu <[email protected]> |
876 | ||
877 | * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify | |
878 | the section. | |
879 | ||
1a23a9e6 AM |
880 | 2004-06-29 Alan Modra <[email protected]> |
881 | ||
882 | * ldlang.c (lang_reset_memory_regions): Save last relax pass section | |
883 | size in rawsize. | |
884 | ||
eea6121a AM |
885 | 2004-06-24 Alan Modra <[email protected]> |
886 | ||
887 | * ldlang.c (print_output_section_statement): Don't print size before | |
888 | relaxation. | |
889 | (IGNORE_SECTION): Remove bfd arg. Update all callers. | |
890 | ||
891 | * ldexp.c (fold_name): .. See below. | |
892 | * ldlang.c (section_already_linked, print_output_section_statement, | |
893 | print_input_section, insert_pad, size_input_section, | |
894 | lang_check_section_addresses, lang_size_sections_1, | |
895 | lang_size_sections, lang_do_assignments_1, lang_set_startof, | |
896 | lang_one_common, lang_reset_memory_regions, lang_process, | |
897 | lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. | |
898 | * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. | |
899 | * pe-dll.c (process_def_file, generate_reloc): .. | |
900 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, | |
901 | gld${EMULATION_NAME}_before_allocation): .. | |
902 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. | |
903 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, | |
904 | sh64_elf_${EMULATION_NAME}_after_allocation): .. | |
905 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. | |
906 | * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, | |
907 | ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use | |
908 | "size" instead of "_raw_size" and "_cooked_size". Expand | |
909 | bfd_section_size macro invocations. | |
910 | ||
552f8272 CF |
911 | 2004-06-22 Aaron W. LaFramboise <[email protected]> |
912 | ||
913 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, | |
914 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, | |
915 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and | |
916 | ___crt_xt_end__. | |
917 | (.tls): Define ___tls_start__ and ___tls_end__. | |
918 | ||
aee6f5b4 AO |
919 | 2004-06-21 Alexandre Oliva <[email protected]> |
920 | ||
921 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
922 | ||
eea6121a | 923 | 2004-06-18 Adam Nemet <[email protected]> |
f234d5fe | 924 | |
eea6121a AM |
925 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. |
926 | * configure: Regenerate. | |
f234d5fe | 927 | |
dfff4fbe JJ |
928 | 2004-06-15 Jakub Jelinek <[email protected]> |
929 | ||
930 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to | |
931 | .gcc_except_table output sections lost accidentally with | |
932 | -z relro patch. | |
933 | ||
a9e0c0c6 AM |
934 | 2004-06-15 Alan Modra <[email protected]> |
935 | ||
936 | * ldwrite.c (build_link_order): Use bfd_get_section_size | |
937 | instead of bfd_get_section_size_before_reloc or _raw_size. | |
938 | * pe-dll.c (process_def_file): Likewise. | |
939 | ||
7115639b AM |
940 | 2004-06-14 Alan Modra <[email protected]> |
941 | ||
942 | From Richard Wirth <[email protected]> | |
943 | * ldlang.c (lang_finish): Don't free lang_definedness_table. | |
944 | ||
9ca57817 AM |
945 | 2004-05-29 Alan Modra <[email protected]> |
946 | ||
947 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. | |
948 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. | |
949 | ||
f6f9408f JR |
950 | 2004-05-28 Andrew Stubbs <[email protected]> |
951 | ||
952 | * testsuite/ld-sh/arch/arch.exp: New test script. | |
953 | * testsuite/ld-sh/arch/arch_expected.txt: New file. | |
954 | * testsuite/ld-sh/arch/sh.s: New file. | |
955 | * testsuite/ld-sh/arch/sh2.s: New file. | |
956 | * testsuite/ld-sh/arch/sh-dsp.s: New file. | |
957 | * testsuite/ld-sh/arch/sh2e.s: New file. | |
958 | * testsuite/ld-sh/arch/sh3-nommu.s: New file. | |
959 | * testsuite/ld-sh/arch/sh3.s: New file. | |
960 | * testsuite/ld-sh/arch/sh3-dsp.s: New file. | |
961 | * testsuite/ld-sh/arch/sh3e.s: New file. | |
962 | * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. | |
963 | * testsuite/ld-sh/arch/sh4-nofpu.s: New file. | |
964 | * testsuite/ld-sh/arch/sh4.s: New file. | |
965 | * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. | |
966 | * testsuite/ld-sh/arch/sh4al-dsp.s: New file. | |
967 | * testsuite/ld-sh/arch/sh4a.s: New file. | |
968 | ||
164e712d AM |
969 | 2004-05-28 Alan Modra <[email protected]> |
970 | ||
6feb9908 AM |
971 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
972 | throughout file. | |
973 | * lexsup.c: Formatting. Wrap long lines. | |
974 | * ldwrite.c: Update copyright date. | |
975 | ||
164e712d AM |
976 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
977 | (output_section_callback): Nor SEC_KEEP here. | |
978 | (gc_section_callback): Twiddle SEC_EXCLUDE here. | |
979 | (lang_gc_wild): Delete. Fold into.. | |
980 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage | |
981 | collecting. | |
982 | (lang_process): Always call lang_gc_sections. | |
983 | (lang_place_orphans): Handle SEC_EXCLUDE sections. | |
984 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove | |
985 | SEC_EXCLUDE code. | |
986 | ||
b3096250 L |
987 | 2004-05-26 H.J. Lu <[email protected]> |
988 | ||
989 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear | |
990 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. | |
991 | * ldlang.c (lang_add_section): Likewise. | |
992 | ||
e49f5022 AM |
993 | 2004-05-26 Alan Modra <[email protected]> |
994 | ||
995 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP | |
996 | sections when doing a final link. Clear SEC_EXCLUDE when doing | |
997 | a relocable link, except for SEC_DEBUGGING sections. | |
998 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the | |
999 | same condition here to drop SEC_EXCLUDE orphan sections. | |
1000 | ||
57ceae94 AM |
1001 | 2004-05-25 Alan Modra <[email protected]> |
1002 | ||
1003 | * ldlang.c (lang_process): Call bfd_merge_sections later, and | |
1004 | only when not a relocatable link. | |
1005 | (print_input_section): Handle SEC_EXCLUDE sections. | |
1006 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. | |
1007 | (lang_do_assignments_1): Likewise. | |
1008 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. | |
1009 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. | |
1010 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
1011 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
1012 | (build_section_lists): Likewise. | |
1013 | ||
a85785bc AS |
1014 | 2004-05-23 Andreas Schwab <[email protected]> |
1015 | ||
1016 | * ld.texinfo (Options): Fix typo in last change. | |
1017 | ||
2d643429 NC |
1018 | 2004-05-21 Andy Chittenden <[email protected]> |
1019 | ||
1020 | * ld.h (ld_config_type): Add new field: hash_table_size. | |
1021 | * ldmain.c: Initialise the new field to zero. If it is non-zero | |
1022 | after parsing the linker's command line call | |
1023 | bfd_hash_set_default_size. | |
1024 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. | |
1025 | (ld_options): Add hash-size. | |
1026 | (parse_args): Parse --hash-size option. Allow | |
1027 | --reduce-memory-overheads to set the default hash table size as | |
1028 | well. | |
1029 | * ld.texinfo: Document the new switch. Also mention that | |
1030 | --reduce-memory-overheads can affect the hash table size. | |
1031 | * NEWS: Mention the new feature. | |
1032 | ||
35835446 JR |
1033 | 2004-05-19 J"orn Rennecke <[email protected]> |
1034 | ||
1035 | * NEWS: Mention new linker map file generation and the | |
1036 | --reduce-memory-overheads option. | |
1037 | * ld.texinfo: Document --reduce-memory-overheads option. | |
1038 | * ld.h (map_symbol_def): New struct. | |
1039 | (struct user_section_struct, section_userdata_type): Rename to: | |
1040 | (struct lean_user_section_struct, lean_section_userdata_type). | |
1041 | (struct fat_user_section_struct, fat_section_userdata_type): New. | |
1042 | (SECTION_USERDATA_SIZE): Define. | |
1043 | (args_type): New member reduce_memory_overheads. | |
1044 | * ldlang.c (map_obstack): New static variable. | |
1045 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. | |
1046 | (lang_map): Unless command_line.reduce_memory_overheads is set, | |
1047 | initialize lists of defined symbols for each section. | |
1048 | (print_input_section): Unless command_line.reduce_memory_overheads | |
1049 | is set, use print_all_symbols. | |
1050 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. | |
1051 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. | |
1052 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. | |
1053 | (ld_options): Add entry for --reduce-memory-overheads. | |
1054 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. | |
1055 | ||
0841712e JJ |
1056 | 2004-05-19 Jakub Jelinek <[email protected]> |
1057 | ||
1058 | * ldgram.y (sect_constraint): New. | |
1059 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
1060 | (section): Add sect_constraint. Pass additional argument | |
1061 | to lang_enter_output_section_statement. | |
1062 | * mri.c (mri_draw_tree): Pass additional argument to | |
1063 | lang_enter_output_section_statement. | |
1064 | * emultempl/pe.em (place_orphan): Likewise. | |
1065 | (output_prev_sec_find): Disregard output section statements with | |
1066 | constraint == -1. | |
1067 | * emultempl/mmo.em (output_prev_sec_find): Likewise. | |
1068 | (mmo_place_orphan): Pass additional argument to | |
1069 | lang_enter_output_section_statement. | |
1070 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section | |
1071 | statements with constraint == -1. | |
1072 | (place_orphan): Pass additional argument to | |
1073 | lang_enter_output_section_statement. | |
1074 | * ldlang.c (lang_enter_overlay_section): Likewise. | |
1075 | (lang_output_section_find_1): New. | |
1076 | (lang_output_section_find): Use it. | |
1077 | (lang_output_section_statement_lookup_1): New. | |
1078 | (lang_output_section_statement_lookup): Use it. | |
1079 | (check_section_callback, check_input_sections): New. | |
1080 | (map_input_to_output_sections): Check if all input sections | |
1081 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. | |
1082 | (strip_excluded_output_sections): Disregard output section statements | |
1083 | with constraint == -1. | |
1084 | (lang_record_phdrs): Likewise. | |
1085 | (lang_enter_output_section_statement): Add constraint argument. | |
1086 | Use lang_output_section_statement_lookup_1. | |
1087 | * ldlang.h (lang_output_section_statement_type): Add constraint | |
1088 | and all_input_readonly fields. | |
1089 | (lang_enter_output_section_statement): Adjust prototype. | |
1090 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
1091 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text | |
1092 | segment if all input sections are readonly. | |
1093 | ||
eea6121a | 1094 | 2004-05-19 Adam Nemet <[email protected]> |
f2c50328 NC |
1095 | |
1096 | * scripttempl/i386lynx.sc: Remove file. | |
1097 | ||
2a16d82a BW |
1098 | 2004-05-17 Bob Wilson <[email protected]> |
1099 | ||
1100 | * ld.texinfo (Output Section Address): Correct subsection name. | |
1101 | ||
eea6121a | 1102 | 2004-05-17 Adam Nemet <[email protected]> |
b2d65c0b NC |
1103 | |
1104 | * configure.tgt (powerpc-*-lynxos* case): New case. | |
1105 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. | |
1106 | * emulparams/ppclynx.sh: New file. | |
1107 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. | |
1108 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o | |
1109 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. | |
1110 | (eppclynx.c): New rule. | |
1111 | * Makefile.in: Regenerate. | |
1112 | ||
4b363073 NC |
1113 | 2004-05-13 Joel Sherrill <[email protected]> |
1114 | ||
1115 | * configure.tgt (or32-*-rtems*): Switch to elf and | |
1116 | support versioned targets. | |
1117 | ||
9598fbe5 NC |
1118 | 2004-05-13 Nick Clifton <[email protected]> |
1119 | ||
1120 | * po/fr.po: Updated French translation. | |
1121 | ||
8c37241b JJ |
1122 | 2004-05-11 Jakub Jelinek <[email protected]> |
1123 | ||
1124 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts | |
1125 | for binaries, -shared and -pie. | |
1126 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. | |
1127 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. | |
1128 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... | |
1129 | (OTHER_RELRO_SECTIONS): ... this. | |
1130 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. | |
1131 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
1132 | -z relro and -z norelro. | |
1133 | (gld${EMULATION_NAME}_list_options): Add it to usage. | |
1134 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now | |
1135 | -z relro scripts when appropriate. | |
1136 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. | |
1137 | Create separate .got.plt section if SEPARATE_GOTPLT. | |
1138 | Move sections which are only written during relocation handling | |
1139 | to the beginning of RW segment. If NO_SMALL_DATA, move .got | |
1140 | before .data. Add DATA_SEGMENT_RELRO_END directive. | |
1141 | Include OTHER_RELRO_SECTIONS. | |
1142 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. | |
1143 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. | |
1144 | (fold_unary): Likewise. | |
1145 | (fold_binary): Handle -z relro. | |
1146 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and | |
1147 | exp_dataseg_relro_adjust phases. Add relro_end field. | |
1148 | * ldmain.c (main): Initialize link_info.relro to FALSE. | |
1149 | * ldlang.c (lang_size_sections): Handle -z relro. | |
1150 | ||
e21059f2 MM |
1151 | 2004-05-08 Marek Michalkiewicz <[email protected]> |
1152 | ||
1153 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. | |
1154 | ||
5f9b8920 JR |
1155 | 2004-05-07 J"orn Rennecke <[email protected]> |
1156 | ||
1157 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma | |
1158 | before printing it with %W. | |
1159 | ||
26d2d8a2 | 1160 | 2004-05-07 Brian Ford <[email protected]> |
eea6121a | 1161 | DJ Delorie <[email protected]> |
26d2d8a2 BF |
1162 | |
1163 | * emultempl/pe.em (real_flags): New static. | |
1164 | (OPTION_LARGE_ADDRESS_AWARE): New define. | |
1165 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. | |
1166 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
1167 | (gld${EMULATION_NAME}_handle_option): Likewise. | |
1168 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. | |
1169 | * ld.texinfo: Document it. | |
1170 | * NEWS: Mention it. | |
1171 | ||
1b169501 BF |
1172 | 2004-05-07 Brian Ford <[email protected]> |
1173 | ||
1174 | * NEWS: Mention DWARF 2 support for i386pe. | |
1175 | ||
41cf0c62 AO |
1176 | 2004-05-05 Alexandre Oliva <[email protected]> |
1177 | ||
1178 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new | |
1179 | elf32-frvfdpic. | |
1180 | ||
d0d6a25b AM |
1181 | 2004-04-30 Alan Modra <[email protected]> |
1182 | ||
1183 | * ldlang.c (unique_section_p): Pass section parm, return true on | |
1184 | group sections. | |
1185 | (output_section_callback): Adjust. | |
1186 | * ldlang.h (unique_section_p): Update prototype. | |
1187 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. | |
1188 | ||
755306be EB |
1189 | 2004-04-30 Eric Botcazou <[email protected]> |
1190 | ||
eea6121a | 1191 | * ld.texinfo (--gc-sections): Remove restriction for |
755306be EB |
1192 | dynamic linking. |
1193 | ||
8a7140c3 NC |
1194 | 2004-04-29 Brian Ford <[email protected]> |
1195 | ||
1196 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections | |
1197 | for DWARF 2/3. Update stab section's syntax. | |
1198 | ||
2f9636ba AM |
1199 | 2004-04-29 Alan Modra <[email protected]> |
1200 | ||
1201 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. | |
1202 | (fill_edata): Correct pointer arithmetic. | |
1203 | ||
23867d67 CD |
1204 | 2004-04-21 Chris Demetriou <[email protected]> |
1205 | ||
1206 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. | |
1207 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. | |
1208 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. | |
1209 | (EXTRA_EM_FILE): Use mipsecoff.em | |
1210 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. | |
1211 | (EXTRA_EM_FILE): Use mipsecoff.em | |
1212 | * emultempl/mipsecoff.em: Restructure to be included as an | |
1213 | extra emulation file. | |
1214 | (check_sections, gld${EMULATION_NAME}_after_open) | |
1215 | (gld${EMULATION_NAME}_after_allocation) | |
1216 | (gld${EMULATION_NAME}_get_script) | |
1217 | (ld_${EMULATION_NAME}_emulation): Remove | |
1218 | (gld${EMULATION_NAME}_before_parse): Rename to... | |
1219 | (mipsecoff_before_parse): This. | |
1220 | (LDEMUL_BEFORE_PARSE): Define. | |
1221 | * emultempl/mipself.em: Remove file. | |
1222 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. | |
1223 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing | |
1224 | these symbols. | |
1225 | * Makefile.am: Remove dependencies on emultempl/mipself.em. | |
1226 | * Makefile.in: Regenerate. | |
1227 | ||
1502569c NC |
1228 | 2004-04-21 Anil Paranjpe <[email protected]> |
1229 | ||
1230 | * ld.texinfo (synthesizing on H8/300): Information about linker | |
1231 | relaxation support for bit manipulation instructions and system | |
1232 | control instructions is added. | |
1233 | ||
c894ddfb HPN |
1234 | 2004-04-21 Hans-Peter Nilsson <[email protected]> |
1235 | ||
1236 | * NEWS: Mention change in DEFINED semantics. | |
1237 | ||
a85bf78e EB |
1238 | 2004-04-21 Eric Botcazou <[email protected]> |
1239 | ||
1240 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. | |
1241 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. | |
1242 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. | |
1243 | ||
58434bc1 BE |
1244 | 2004-04-21 Ben Elliston <[email protected]> |
1245 | ||
1246 | * ld.texinfo (Simple Example): Add missing punctuation. | |
1247 | ||
7a7f4e42 CD |
1248 | 2004-04-20 Chris Demetriou <[email protected]> |
1249 | ||
1250 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. | |
1251 | ||
3737f867 JJ |
1252 | 2004-04-19 Jakub Jelinek <[email protected]> |
1253 | ||
1254 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section | |
1255 | specially. | |
1256 | ||
3c17e4f7 DS |
1257 | 2004-04-18 Danny Smith <[email protected]> |
1258 | ||
1259 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors | |
1260 | with default priority. Likewise for dtors. | |
1261 | ||
279500de TS |
1262 | 2004-04-11 Thiemo Seufer <[email protected]> |
1263 | ||
1264 | * configure.host: Remove mips*-dec-bsd* target. | |
1265 | * configure.tgt: Likewise. | |
1266 | ||
52f89c0a RS |
1267 | 2004-04-08 Richard Sandiford <[email protected]> |
1268 | ||
1269 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. | |
1270 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. | |
1271 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. | |
1272 | * emultempl/irix.em: New file. | |
1273 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update | |
1274 | dependencies. | |
1275 | * Makefile.in: Regenerate. | |
1276 | ||
e489d0ae PB |
1277 | 2004-04-01 Paul Brook <[email protected]> |
1278 | ||
1279 | * emultempl/armelf.em (byteswap_code): Add. | |
1280 | (arm_elf_before_allocation): Pass extra parameter. | |
1281 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. | |
1282 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. | |
1283 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. | |
1284 | * emultempl/armelf_oabi.em: Pass extra parameter. | |
1285 | * ld.texinfo: Document --be8. | |
1286 | ||
7cc8057a SS |
1287 | 2004-03-30 Stan Shebs <[email protected]> |
1288 | ||
1289 | Remove long-obsolete MPW support. | |
1290 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. | |
1291 | * Makefile.am (mpw): Remove file-presynthesizing actions. | |
1292 | * Makefile.in: Likewise. | |
1293 | * ldfile.c (slash): Remove MPW case. | |
1294 | * ldlex.l [MPW]: Remove unused definition. | |
1295 | ||
0949843d NC |
1296 | 2004-03-30 Galit Heller <[email protected]> |
1297 | ||
1298 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. | |
1299 | (eelf32cr16c.c): New target. | |
1300 | * Makefile.in: Regenerate. | |
1301 | * configure.tgt: Handle cr16c-*-elf*. | |
1302 | * emulparams/elf32cr16c.sh: New file. | |
1303 | * scripttempl/elfcr16c.sc: Likewise | |
1304 | * NEWS: Mention support for new target. | |
1305 | ||
0a159ef8 NC |
1306 | 2004-03-30 Nick Clifton <[email protected]> |
1307 | ||
1308 | * po/sv.po: Updated Swedish translation. | |
1309 | ||
7a945db6 AM |
1310 | 2004-03-27 Alan Modra <[email protected]> |
1311 | ||
1312 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. | |
1313 | * emultempl/hppaelf.em: Likewise. | |
1314 | * emultempl/ppc64elf.em: Likewise. | |
1315 | * emultempl/sh64elf.em: Likewise. | |
1316 | ||
5a580b3a AM |
1317 | 2004-03-25 Alan Modra <[email protected]> |
1318 | ||
1319 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update | |
1320 | size_dynamic_sections call. | |
1321 | ||
b9cf773d AM |
1322 | 2004-03-23 Alan Modra <[email protected]> |
1323 | ||
1324 | PR 51. | |
1325 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set | |
1326 | link_info.wrap_char. | |
1327 | ||
59c2e50f L |
1328 | 2004-03-20 H.J. Lu <[email protected]> |
1329 | ||
1330 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects | |
1331 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. | |
1332 | ||
44349745 AO |
1333 | 2004-03-20 Alexandre Oliva <[email protected]> |
1334 | ||
1335 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. | |
1336 | ||
81359a70 AM |
1337 | 2004-03-19 Alan Modra <[email protected]> |
1338 | ||
1339 | * config.in: Regenerate. | |
1340 | * po/ld.pot: Regenerate. | |
1341 | ||
4a43e768 AM |
1342 | 2004-03-18 Alan Modra <[email protected]> |
1343 | ||
1344 | * ld.texinfo: Add --as-needed doco. | |
1345 | * ldmain.c (as_needed): New global var. | |
1346 | * ldmain.h (as_needed): Declare. | |
1347 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and | |
1348 | OPTION_NO_AS_NEEDED. | |
1349 | (ld_options): Likewise. | |
1350 | (parse_args): Handle them. | |
1351 | * ldlang.h (lang_input_statement_type): Add as_needed field. | |
1352 | * ldlang.c (new_afile): Set p->as_needed. | |
1353 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. | |
1354 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. | |
1355 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. | |
1356 | ||
1357 | * ldlang.c (open_input_bfds): Remove useless cast. | |
1358 | (lang_do_assignments_1): Likewise. | |
1359 | (lang_for_each_input_section): Delete. | |
1360 | ||
9183ed4b AM |
1361 | 2004-03-17 Ralf Corsepius <[email protected]> |
1362 | ||
1363 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
1364 | ||
ee31fbd0 NC |
1365 | 2004-03-08 Danny Smith <[email protected]> |
1366 | ||
1367 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as | |
1368 | private when building implib. | |
1369 | ||
e5caec89 NS |
1370 | 2004-03-05 Nathan Sidwell <[email protected]> |
1371 | ||
1372 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on | |
1373 | SEC_THREAD_LOCAL. | |
1374 | (IGNORE_SECTION): Ignore .tbss sections too. | |
1375 | (lang_size_sections_1): .tbss sections do not advance dot. | |
1376 | ||
cc2f008e AS |
1377 | 2004-03-01 Andreas Schwab <[email protected]> |
1378 | ||
1379 | * ld.texinfo (Options): Fix example for --wrap. | |
1380 | ||
f5a95868 DS |
1381 | 2004-02-25 Danny Smith <[email protected]> |
1382 | ||
1383 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is | |
1384 | not NULL. | |
1385 | ||
177b729b ILT |
1386 | 2004-02-23 Ian Lance Taylor <[email protected]> |
1387 | ||
1388 | * ldlang.c (lang_check): Use %P, not %E, in error message. | |
1389 | ||
1b493742 NS |
1390 | 2004-02-23 Nathan Sidwell <[email protected]> |
1391 | ||
1392 | * ldlang.h (struct lang_output_section_state): Change processed | |
1393 | field's type. | |
1394 | * ldexp.c (check, invalid): Remove. | |
1395 | (fold_name): Move valid_p assignments. Create undefined symbol | |
1396 | when needed. Directly exampine section's processd flag. | |
1397 | * ldlang.c (lang_output_section_statement_lookup): Adjust | |
1398 | processed field init. | |
1399 | (lang_size_sections_1): Allow LOADADDR when determining section's | |
1400 | VMA. Adjust error message. Fold data statement's expr. | |
1401 | (lang_size_sections): Correctly increment lang_statement_iteration. | |
1402 | ||
1403 | 2004-02-23 Alan Modra <[email protected]> | |
1404 | ||
1405 | * ldexp.c (fold_tree): Follow indirect symbols. | |
b9cf773d | 1406 | |
876f4090 NS |
1407 | 2004-02-20 Nathan Sidwell <[email protected]> |
1408 | ||
1409 | * ldgram.y (exp): Add two operand ALIGN. | |
1410 | * ldexp.c (fold_binary): Add ALIGN_K case. | |
1411 | * ld.texinfo (ALIGN): Document two operand version. | |
1412 | ||
384d938f NS |
1413 | 2004-02-19 Nathan Sidwell <[email protected]> |
1414 | ||
1415 | * ldlang.c (map_input_to_output_sections): Initialize sections | |
1416 | mentioned in a data statement expression. | |
1417 | (lang_do_assignments_1): Add data statement's expression's | |
1418 | section's vma. | |
1419 | ||
b6ca8815 NS |
1420 | 2004-02-18 Nathan Sidwell <[email protected]> |
1421 | ||
1422 | * ldgram.y (statement_anywhere): Add assert rule. | |
1423 | * ldlang.c (exp_init_os): Add assert case. | |
1424 | ||
c92c35e7 AC |
1425 | 2004-02-14 Andrew Cagney <[email protected]> |
1426 | ||
1427 | * ldmain.c (remove_output): Call bfd_cache_close. | |
1428 | ||
9bf78c99 RS |
1429 | 2004-02-14 Richard Sandiford <[email protected]> |
1430 | ||
1431 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard | |
1432 | .MIPS.content* and .MIPS.events* sections. | |
1433 | ||
f3806916 DJ |
1434 | 2004-02-09 Daniel Jacobowitz <[email protected]> |
1435 | ||
1436 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move | |
1437 | .note.gnu.arm.ident to after allocated sections. Mark its | |
1438 | address as 0. | |
1439 | ||
4c8e70d7 DJ |
1440 | 2004-02-09 Daniel Jacobowitz <[email protected]> |
1441 | ||
1442 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
1443 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. | |
1444 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. | |
1445 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. | |
1446 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. | |
1447 | ||
ff71f4f7 NC |
1448 | 2004-02-05 Nick Clifton <[email protected]> |
1449 | ||
1450 | * emultempl/pe.em (_after_open): Fix typo in previous delta. | |
1451 | ||
07a68a80 NC |
1452 | 2004-02-04 Danny Smith <[email protected]> |
1453 | ||
1454 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. | |
1455 | ||
1dd3bf68 AM |
1456 | 2004-01-28 Alan Modra <[email protected]> |
1457 | ||
586196d5 AM |
1458 | * genscripts.sh: Fix typo. |
1459 | ||
1dd3bf68 AM |
1460 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
1461 | ||
13d9421f JJ |
1462 | 2004-01-24 Jakub Jelinek <[email protected]> |
1463 | ||
1464 | * emulparams/elf64_ia64.sh: Put .rela.opd into | |
1465 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. | |
1466 | ||
4d8907ac DS |
1467 | 2004-01-20 Danny Smith <[email protected]> |
1468 | ||
1469 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. | |
1470 | * ld.texinfo (--omagic): Note that writable text section | |
1471 | does not conform to published PE-COFF specs. | |
1472 | (--enable-auto-import): Likewise. | |
1473 | ||
e5c60db5 AM |
1474 | 2004-01-15 Alan Modra <[email protected]> |
1475 | ||
1476 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. | |
1477 | ||
6bdafbeb NC |
1478 | 2004-01-13 Nick Clifton <[email protected]> |
1479 | ||
1480 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' | |
1481 | which if true will prevent the LMA region being used as a | |
1482 | replacement for a default VMA region. | |
586196d5 AM |
1483 | (lang_leave_output_section_statement): Pass extra parameter. |
1484 | (lang_leave_overlay): Likewise. | |
1485 | * ld.texinfo (Output Section LMA): Document that the LMA | |
6bdafbeb NC |
1486 | region can be set to the VMA region if no VMA has been set. |
1487 | * ldlang.h (struct lang_output_section_phdr_list): Create a | |
1488 | typedef for this type. Minor formatting fixes. | |
586196d5 | 1489 | |
9dfc8ab2 NC |
1490 | 2004-01-13 Nick Clifton <[email protected]> |
1491 | ||
1492 | * ldlang.c (lang_size_sections_1): If dot is advanced, then | |
1493 | assume that the section should be allocated. | |
1494 | ||
8325c4dd AM |
1495 | 2004-01-13 Alan Modra <[email protected]> |
1496 | ||
1497 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD | |
1498 | sections. Do ignore SEC_NEVER_LOAD sections. | |
1499 | (lang_size_sections_1): Remove test made redundant with the above. | |
1500 | ||
83490352 AM |
1501 | 2004-01-09 Alan Modra <[email protected]> |
1502 | ||
1503 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached | |
1504 | program_header_size. | |
1505 | ||
005e1118 AO |
1506 | 2004-01-06 Alexandre Oliva <[email protected]> |
1507 | ||
1508 | 2003-11-28 Alexandre Oliva <[email protected]> | |
1509 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. | |
1510 | 2003-11-05 Alexandre Oliva <[email protected]> | |
1511 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. | |
1512 | (MAXPAGESIZE): Set to 64Kb. | |
1513 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and | |
1514 | __ROFIXUP_END__. Don't map .rofixup.got any more. | |
1515 | * emulparams/elf32frv.sh (NOP): Set. | |
1516 | 2003-10-31 Alexandre Oliva <[email protected]> | |
1517 | * configure.tgt: Add frv-*-*linux*. | |
1518 | 2003-09-30 Alexandre Oliva <[email protected]> | |
1519 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. | |
1520 | (eelf32frvfd.c): New. | |
1521 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. | |
1522 | * emulparams/elf32frv.sh: Reverted previous two patches. | |
1523 | * emulparams/elf32frvfd.sh: New. | |
1524 | * Makefile.in: Rebuilt. | |
1525 | 2003-09-18 Alexandre Oliva <[email protected]> | |
1526 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added | |
1527 | .rofixup.got to .rofixup. | |
1528 | 2003-09-15 Alexandre Oliva <[email protected]> | |
1529 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. | |
1530 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. | |
1531 | ||
060feee5 JJ |
1532 | 2004-01-05 Jakub Jelinek <[email protected]> |
1533 | ||
1534 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. | |
1535 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. | |
1536 | ||
5e2f1575 AM |
1537 | 2004-01-03 Alan Modra <[email protected]> |
1538 | ||
e5caa5e0 AM |
1539 | * ldexp.c (align_n): Make static. |
1540 | * ldexp.h (align_n): Delete declaration. | |
1541 | * ldlang.h (lang_enter_output_section_statement): Remove | |
1542 | block_value param. | |
1543 | * ldlang.c (lang_enter_output_section_statement): Likewise. | |
1544 | (TO_ADDR, TO_SIZE): Define. | |
c2df3ea5 | 1545 | (opb_shift): New var. |
e5caa5e0 AM |
1546 | (init_opb): New function. |
1547 | (print_input_section): Call init_opb and use TO_ADDR. | |
1548 | (print_data_statement, print_reloc_statement): Likewise. | |
1549 | (print_padding_statement): Likewise. | |
c2df3ea5 | 1550 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
e5caa5e0 AM |
1551 | (lang_check_section_addresses): Likewise. |
1552 | (lang_size_sections_1): Likewise. | |
1553 | (lang_do_assignments_1): Likewise. | |
1554 | (lang_set_startof): Likewise. | |
c2df3ea5 | 1555 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
e5caa5e0 | 1556 | (lang_process): Call init_opb. |
c2df3ea5 | 1557 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
e5caa5e0 AM |
1558 | (lang_enter_overlay_section): Adjust |
1559 | lang_enter_output_section_statement call. | |
1560 | * ldgram.y: Likewise. | |
1561 | * mri.c (mri_draw_tree): Likewise. | |
1562 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
1563 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
1564 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
1565 | ||
5e2f1575 AM |
1566 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
1567 | * ldfile.h (ldfile_set_output_arch): Ditto. | |
1568 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use | |
1569 | ldfile_set_output_arch. | |
1570 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1571 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1572 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1573 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1574 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1575 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1576 | * ldgram.y: Adjust ldfile_set_output_arch call. | |
1577 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1578 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1579 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1580 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1581 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. | |
1582 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1583 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1584 | ||
b50c15dc NC |
1585 | 2004-01-02 Bernardo Innocenti <[email protected]> |
1586 | ||
1587 | * configure.tgt: Add m68k-uClinux target. | |
6edf0760 | 1588 | |
c9e214e5 | 1589 | For older changes see ChangeLog-0203 |
252b5132 RH |
1590 | \f |
1591 | Local Variables: | |
1592 | mode: change-log | |
1593 | left-margin: 8 | |
1594 | fill-column: 74 | |
1595 | version-control: never | |
1596 | End: |