Commit | Line | Data |
---|---|---|
d3989512 JJ |
1 | 2004-10-11 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. | |
4 | (gld${EMULATION_NAME}_parse_ld_so_conf, | |
5 | gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. | |
6 | (gld${EMULATION_NAME}_check_ld_so_conf): Use them. | |
7 | ||
6c0c5b1e AM |
8 | 2004-10-11 Alan Modra <amodra@bigpond.net.au> |
9 | ||
10 | PR 423 | |
11 | * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are | |
12 | rejected when linking statically. | |
13 | ||
d2b2c203 DJ |
14 | 2004-10-08 Daniel Jacobowitz <dan@debian.org> |
15 | ||
16 | * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. | |
17 | ||
43cd72b9 BW |
18 | 2004-10-07 Bob Wilson <bob.wilson@acm.org> |
19 | ||
20 | * ld.texinfo (Xtensa): Describe new linker relaxation to optimize | |
21 | assembler-generated longcall sequences. Describe new --size-opt | |
22 | option. | |
23 | * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. | |
24 | * emultempl/xtensaelf.em (remove_section, | |
25 | replace_insn_sec_with_prop_sec, replace_instruction_table_sections, | |
26 | elf_xtensa_after_open): New. | |
27 | (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, | |
28 | OPTION_NO_LITERAL_MOVEMENT): Define. | |
29 | (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. | |
30 | (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. | |
31 | (PARSE_AND_LIST_OPTIONS): Add --size-opt. | |
32 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, | |
33 | OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. | |
34 | (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. | |
35 | * scripttempl/elfxtensa.sc: Update with changes from elf.sc. | |
36 | * Makefile.am (eelf32xtensa.c): Update dependencies. | |
37 | * Makefile.in: Regenerate. | |
38 | ||
8fdd7217 | 39 | 2004-10-07 Jeff Baker <jbaker@qnx.com> |
6c0c5b1e | 40 | |
8fdd7217 NC |
41 | * lexsup.c: Handle --warn-shared-textrel option. |
42 | (ld_options): Restore alpha sorting of options. | |
43 | * ldmain.c (main): Initialise warn_shared_info field to FALSE. | |
44 | * ld.texinfo: Add documentation for --warn-shared-textrel. | |
45 | * NEWS: Added mention of --warn-shared-textrel option. | |
46 | ||
339207f8 | 47 | 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com> |
6c0c5b1e | 48 | |
339207f8 | 49 | * emultempl/crxelf.em (disable_relaxation): Add. |
6c0c5b1e | 50 | (crxelf_before_allocation): Enable --relax option by default. |
339207f8 TL |
51 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. |
52 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. | |
53 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. | |
54 | ||
bcaa7b3e L |
55 | 2004-10-04 H.J. Lu <hongjiu.lu@intel.com> |
56 | ||
57 | * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
58 | --sort-section name|alignment. | |
59 | ||
60 | * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
61 | --sort-section name|alignment. | |
62 | ||
63 | * ld.h (sort_type): New enum. | |
64 | (wildcard_spec): Change the type of `sorted' to sort_type. | |
65 | ||
66 | * ldgram.y (SORT): Removed. | |
67 | (SORT_BY_NAME): Added. | |
68 | (SORT_BY_ALIGNMENT): Added. | |
69 | (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and | |
70 | SORT_BY_ALIGNMENT. | |
71 | (input_section_spec_no_keep): Updated `sorted'. | |
72 | (statement): Replace SORT with SORT_BY_NAME. | |
73 | ||
74 | * ldlang.c (compare_section): New function to compare 2 | |
75 | sections with different sorting schemes. | |
76 | (wild_sort): Updated. Use compare_section. | |
77 | (update_wild_statements): New function. | |
78 | (lang_process): Call update_wild_statements before | |
79 | map_input_to_output_sections. | |
80 | ||
81 | * ldlex.l (SORT_BY_NAME): New. | |
82 | (SORT_BY_ALIGNMENT): New. | |
83 | (SORT): Return SORT_BY_NAME. | |
84 | ||
85 | * ldmain.c (sort_section): New. Defined. | |
86 | (main): Initialize it to none. | |
87 | ||
88 | * lexsup.c (option_values): Add OPTION_SORT_SECTION. | |
89 | (ld_options): Add an entry for OPTION_SORT_SECTION. | |
90 | (parse_args): Handle OPTION_SORT_SECTION. | |
91 | ||
92 | * mri.c (mri_draw_tree): Updated `sorted'. | |
93 | ||
a4f5ad88 JJ |
94 | 2004-10-04 Jakub Jelinek <jakub@redhat.com> |
95 | ||
96 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. | |
97 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first | |
98 | argument. | |
99 | (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first | |
100 | and . as second argument. | |
101 | (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. | |
102 | * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. | |
103 | (fold_binary): Add it here. Insert padding to make relro_end | |
104 | COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in | |
105 | exp_dataseg_relro_adjust phase just use previously computed | |
106 | exp_data_seg.base. | |
107 | * ldlang.c (lang_size_sections): Set exp_data_seg.base for | |
108 | relro_adjust here. Call lang_size_sections_1 once more if there | |
109 | was too big padding at DATA_SEGMENT_RELRO_END. | |
110 | * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. | |
111 | ||
40a18ebd NC |
112 | 2004-10-01 Paul Brook <paul@codesourcery.com> |
113 | ||
114 | * emulparams/armelf.sh: Add unwinding table sections. | |
115 | ||
db8acf26 NC |
116 | 2004-09-30 Filip Navara <navaraf@reactos.com> |
117 | ||
118 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate | |
119 | correct base address for position independant executables. | |
120 | * pe-dll.c (pe_dll_fill_sections): Don't mark position independant | |
121 | executables as DLLs. | |
122 | ||
eeac373a PB |
123 | 2004-09-30 Paul Brook <paul@codesourcery.com> |
124 | ||
125 | * ld.texinfo: Document --target2=abs. | |
126 | * emulparms/armsymbian.sh (TARGET2_TYPE): Set. | |
127 | ||
1ee7cf4c NC |
128 | 2004-09-29 Nick Clifton <nickc@redhat.com> |
129 | ||
130 | * scripttempl/xstormy16.sc: Only perform the assignments to the | |
131 | ROM region when not performing a relocatable link. The ROM region | |
132 | does not start at address 0, but the sections will. | |
133 | * Makefile.am: Fix linker script dependency for the generation of | |
134 | eelf32xstormy16.c. | |
135 | * Makefile.in: Regenerate. | |
136 | ||
03098a9a CF |
137 | 2004-09-18 Filip Navara <navaraf@reactos.com> |
138 | ||
139 | * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, | |
140 | emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, | |
141 | emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define | |
142 | TARGET_PAGE_SIZE. | |
143 | * scripttempl/pe.sc: Make the virtual address and file offset synced if | |
144 | the alignment is lower than the target page size. | |
145 | ||
f2d3750d CF |
146 | 2004-09-27 Filip Navara <navaraf@reactos.com> |
147 | ||
148 | * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow | |
149 | def_file_parse to handle pe_def_file if NULL and prevent crash with | |
150 | invalid .def files. | |
151 | ||
a23d8409 AM |
152 | 2004-09-27 Alan Modra <amodra@bigpond.net.au> |
153 | ||
154 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable | |
155 | --emit-stub-syms automatically when --emit-relocs. | |
156 | ||
7b89fa29 PB |
157 | 2004-09-24 Paul Brook <paul@codeosurcery.com> |
158 | ||
159 | * scripttempl/elf.sc: Keep .preinit_array, .init_array and | |
160 | .fini_array sections. | |
161 | ||
e2a68bcc AS |
162 | 2004-09-19 Andreas Schwab <schwab@suse.de> |
163 | ||
164 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment | |
165 | base so that relro end is suitably aligned. | |
166 | ||
3674e28a PB |
167 | 2004-09-17 Paul Brook <paul@codesourcery.com> |
168 | ||
169 | * ld.texinfo: Rename arm-specific section. Document --target* | |
170 | * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. | |
171 | * emulparams/armelf_linux.sh: Ditto. | |
172 | * emulparams/armelf_nbsd.sh: Ditto. | |
173 | * emultempl/armelf.em: Set default for TARGET2_TYPE. | |
174 | (target2_type): New variable. | |
175 | (arm_elf_before_allocation): Don't pass target1_type. | |
176 | (arm_elf_create_output_section_statements): New function. | |
177 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. | |
178 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. | |
179 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. | |
180 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. | |
181 | * emultempl/armelf_oabi.em (_before_allocation): Remove extra | |
182 | argument to bfd_elf32_arm_process_before_allocation. | |
183 | ||
f6e332e6 AM |
184 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
185 | ||
186 | * ldexp.c (fold_name): Update u.undef.next refs. | |
187 | * emultempl/pe.em: Likewise. | |
188 | * emultempl/sunos.em: Likewise. | |
189 | ||
9c933e04 AM |
190 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
191 | ||
192 | * Makefile.am: Run "make dep-am". | |
193 | * Makefile.in: Regenerate. | |
194 | * config.in: Regenerate. | |
195 | * configure: Regenerate. | |
196 | * aclocal.m4: Regenerate. | |
197 | * po/ld.pot: Regenerate. | |
198 | ||
1fa32646 TL |
199 | 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com> |
200 | ||
9c933e04 AM |
201 | * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. |
202 | (.fini): Likewise. | |
203 | (.jcr): Likewise. | |
1fa32646 | 204 | |
b6ee372a AM |
205 | 2004-09-16 Alan Modra <amodra@bigpond.net.au> |
206 | ||
207 | * emultempl/armelf_oabi.em (before_allocation): Add extra zero param | |
208 | to bfd_elf32_arm_process_before_allocation call. | |
209 | ||
9c504268 PB |
210 | 2004-09-13 Paul Brook <paul@codesourcery.com> |
211 | ||
212 | * emulparams/armsymbian.sh: Set TARGET1_IS_REL. | |
213 | * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. | |
214 | ||
d15b04bd L |
215 | 2004-09-07 H.J. Lu <hongjiu.lu@intel.com> |
216 | ||
217 | * configure: Regenerated with autconfig 2.13. | |
218 | ||
875c4330 AS |
219 | 2004-09-07 Andreas Schwab <schwab@suse.de> |
220 | ||
221 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment | |
222 | alignment before adjusting DATA_SEGMENT_RELRO_END. | |
223 | ||
229fcec5 MM |
224 | 2004-09-06 Mark Mitchell <mark@codesourcery.com> |
225 | ||
226 | * emulparams/armsymbian.sh: Use armbpabi script. | |
227 | * scripttempl/armbpabi.sc: New script. | |
228 | ||
e5a52504 MM |
229 | 2004-09-02 Mark Mitchell <mark@codesourcery.com> |
230 | ||
231 | * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. | |
232 | (earmsymbian.c): New target. | |
233 | * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. | |
234 | * Makefile.in: Regenerated. | |
235 | * aclocal.m4: Likewise. | |
236 | * configure: Likewise. | |
237 | * emulparams/armsymbian.sh: New file. | |
238 | ||
42851540 NC |
239 | 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> |
240 | ||
241 | * scripttempl/elf32crx.sc: Edit file with comments. | |
242 | (.init): Add new section. | |
243 | (.fini): Likewise. | |
244 | (.ctor): Control the linkage order. | |
245 | (.dtor): Likewise. | |
246 | ||
c034e3e0 NC |
247 | 2004-08-27 Nick Clifton <nickc@redhat.com> |
248 | ||
249 | * emultempl/pe.em (after_open): Do not assume that either bfd is | |
9c933e04 | 250 | an archive. |
c034e3e0 | 251 | |
688c58f3 AM |
252 | 2004-08-26 Alan Modra <amodra@bigpond.net.au> |
253 | ||
254 | * ldlang.c (lang_init): Don't compare with TRUE. | |
255 | ||
b18c562e NC |
256 | 2004-08-25 Dmitry Diky <diwil@spec.ru> |
257 | ||
258 | * emulparams/msp430all.sh: Fix RAM sizes for all targets. | |
259 | * scripttempl/elf32msp430.sc: Add .profiler section definition. | |
260 | ||
61f5d054 L |
261 | 2004-08-24 H.J. Lu <hongjiu.lu@intel.com> |
262 | ||
263 | * ldlang.c (wildcardp): Defined as a macro with strpbrk. | |
264 | ||
e77d3d77 MM |
265 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
266 | ||
267 | * configure.tgt (arm*-*-symbianelf*): New target. | |
268 | (arm*-*-eabi*): Likewise. | |
269 | ||
3f764659 JJ |
270 | 2004-08-19 Jakub Jelinek <jakub@redhat.com> |
271 | ||
272 | * emultempl/ppc64elf.em (non_overlapping_opd): New variable. | |
273 | (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). | |
274 | (OPTION_NON_OVERLAPPING_OPD): Define. | |
275 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add | |
276 | --non-overlapping-opd option. | |
277 | ||
a010d60f AM |
278 | 2004-08-18 Alan Modra <amodra@bigpond.net.au> |
279 | ||
280 | PR 338 | |
281 | * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol | |
282 | was already on the undefs list. | |
283 | ||
c4e33880 AM |
284 | 2004-08-17 Alan Modra <amodra@bigpond.net.au> |
285 | ||
286 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot | |
287 | prefix the symbol field too. | |
288 | ||
d003868e AM |
289 | 2004-08-13 Alan Modra <amodra@bigpond.net.au> |
290 | ||
291 | * ldmain.c (link_callbacks): Remove "error_handler". | |
292 | * ldmisc.c: Include elf-bfd.h. | |
293 | (vfinfo): Sort comment. Handle %A. Use %A instead of | |
294 | bfd_get_section_indent. | |
295 | (error_handler): Delete. | |
296 | * ldmisc.h (error_handler): Delete declaration. | |
297 | ||
99877b66 AM |
298 | 2004-08-10 Alan Modra <amodra@bigpond.net.au> |
299 | ||
300 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call | |
301 | ppc64_elf_restore_symbols. | |
302 | ||
40e45c8b AM |
303 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
304 | ||
305 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if | |
306 | .toc is too large on relocatable linking. | |
307 | ||
ccfa59ea AM |
308 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
309 | ||
310 | * emultempl/ppc64elf.em (ppc_after_open): Delete. | |
311 | (LDEMUL_AFTER_OPEN): Don't define. | |
312 | ||
93fd0973 SC |
313 | 2004-08-02 Stephane Carrez <stcarrez@nerim.fr> |
314 | ||
315 | * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. | |
316 | ||
f1b123db SC |
317 | 2004-08-01 Stephane Carrez <stcarrez@nerim.fr> |
318 | ||
319 | * scripttempl/elfm68hc12.sc: Align text, rodata and data section | |
320 | on power of 2. | |
321 | ||
e7fbc2bf JT |
322 | 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> |
323 | ||
324 | * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". | |
325 | ||
c05e9f04 NC |
326 | 2004-07-26 Dmitry Diky <diwil@spec.ru> |
327 | ||
328 | * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, | |
329 | msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, | |
330 | msp430xG439. | |
331 | * configure.tgt: Likewise. | |
332 | * emulparams/msp430all.sh: Likewise. | |
333 | * Makefile.in: Regenerate. | |
334 | ||
9f61903d NC |
335 | 2004-07-23 Nick Clifton <nickc@redhat.com> |
336 | ||
337 | * emultempl/elf32.em (_place_orphan): Use an already existing | |
338 | section name if that section does not have any flags set. | |
339 | ||
082b7297 L |
340 | 2004-07-21 H.J. Lu <hongjiu.lu@intel.com> |
341 | ||
342 | * ldlang.c (already_linked_hash_entry): Removed. | |
343 | (already_linked): Likewise. | |
344 | (already_linked_table): Likewise. | |
345 | (section_already_linked): Call bfd_section_already_linked. | |
346 | (lang_process): Replace already_linked_table_init with | |
347 | bfd_section_already_linked_table_init and check return. Replace | |
348 | already_linked_table_free with bfd_section_already_linked_table_free. | |
349 | ||
76d7af2d NC |
350 | 2004-07-21 Nick Clifton <nickc@redhat.com> |
351 | ||
352 | * ldlang.c (init_os): Make sure that the newly allocated userdata | |
353 | structure is zeroed out. | |
354 | ||
14b3c463 L |
355 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
356 | ||
357 | * NEWS: Mention the new --add-needed/--no-add-needed and | |
358 | --as-needed/--no-as-needed options. | |
359 | ||
e56f61be L |
360 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
361 | ||
362 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also | |
363 | check the add_needed field. | |
364 | (dt_needed): New struct. | |
365 | (gld${EMULATION_NAME}_try_needed): Change the first argument | |
366 | to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED | |
367 | bit in the file where the DT_NEEDED entry comes from. | |
368 | (gld${EMULATION_NAME}_search_needed): Change the second | |
369 | argument to a pointer to struct dt_needed. | |
370 | (gld${EMULATION_NAME}_check_ld_so_conf): Updated. | |
371 | (gld${EMULATION_NAME}_after_open): Likewise. | |
372 | ||
373 | * ld.texinfo: Add --add-needed document. | |
374 | * ldlang.c (new_afile): Set p->add_needed. | |
375 | * ldlang.h (lang_input_statement_type): Add add_needed field. | |
376 | * ldmain.h (add_needed): Declare. | |
377 | * ldmain.c (add_needed): New global var. | |
378 | * lexsup.c (option_values): Add OPTION_ADD_NEEDED and | |
379 | OPTION_NO_ADD_NEEDED. | |
380 | (ld_options): Likewise. | |
381 | (parse_args): Handle them. | |
382 | ||
c99b8138 NC |
383 | 2004-07-13 Christof Petig <christof@petig-baender.de> |
384 | ||
385 | * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct | |
386 | for endian-ness of extracted addend. | |
387 | ||
13ed4151 NC |
388 | 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net> |
389 | ||
390 | * pe-dll.c (auto_export): Filter on just the import prefix, | |
391 | "_imp_", not "_imp__". | |
392 | ||
1a320fbb NC |
393 | 2004-07-09 Nick Clifton <nickc@redhat.com> |
394 | ||
395 | * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. | |
396 | ||
1fe1f39c NC |
397 | 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com> |
398 | ||
399 | * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. | |
400 | (eelf32crx.c): New target. | |
401 | * Makefile.in: Regenerate. | |
402 | * configure.tgt: Handle crx-*-elf*. | |
403 | * emulparams/elf32crx.sh: New file. | |
404 | * emultempl/crxelf.em: New file. | |
405 | * scripttempl/elf32crx.sc: New file. | |
406 | * NEWS: Mention new target. | |
407 | ||
85fbca6a NC |
408 | 2004-07-06 Nick Clifton <nickc@redhat.com> |
409 | ||
410 | * Makefile.am: Add eshlsymbian.c. | |
411 | * Makefile.in: Regenerate. | |
412 | * configure.tgt: Add sh*-symbian-elf target. | |
413 | * emulparams/shlsymbian.sh: New file. Configure the | |
414 | sh-symbian-elf linker scripts. | |
415 | * scripttemp/elf32sh-symbian.sc: New file. Linker script | |
416 | template for the sh-symbian-elf target. | |
417 | ||
b71a5181 DA |
418 | 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
419 | ||
420 | * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. | |
421 | * emulparams/hppalinux.sh: Likewise. | |
422 | * scripttempl/elf.sc: Place .plt just before .got when .plt is in | |
423 | data segment and PLT_BEFORE_GOT is defined. | |
424 | ||
c87db184 CF |
425 | 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
426 | ||
427 | * ld.texinfo (WIN32): Document PE weak symbols. | |
428 | ||
f6a8ae81 KK |
429 | 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
430 | ||
431 | * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
432 | ||
b602c853 L |
433 | 2004-07-01 H.J. Lu <hongjiu.lu@intel.com> |
434 | ||
435 | * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify | |
436 | the section. | |
437 | ||
1a23a9e6 AM |
438 | 2004-06-29 Alan Modra <amodra@bigpond.net.au> |
439 | ||
440 | * ldlang.c (lang_reset_memory_regions): Save last relax pass section | |
441 | size in rawsize. | |
442 | ||
eea6121a AM |
443 | 2004-06-24 Alan Modra <amodra@bigpond.net.au> |
444 | ||
445 | * ldlang.c (print_output_section_statement): Don't print size before | |
446 | relaxation. | |
447 | (IGNORE_SECTION): Remove bfd arg. Update all callers. | |
448 | ||
449 | * ldexp.c (fold_name): .. See below. | |
450 | * ldlang.c (section_already_linked, print_output_section_statement, | |
451 | print_input_section, insert_pad, size_input_section, | |
452 | lang_check_section_addresses, lang_size_sections_1, | |
453 | lang_size_sections, lang_do_assignments_1, lang_set_startof, | |
454 | lang_one_common, lang_reset_memory_regions, lang_process, | |
455 | lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. | |
456 | * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. | |
457 | * pe-dll.c (process_def_file, generate_reloc): .. | |
458 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, | |
459 | gld${EMULATION_NAME}_before_allocation): .. | |
460 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. | |
461 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, | |
462 | sh64_elf_${EMULATION_NAME}_after_allocation): .. | |
463 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. | |
464 | * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, | |
465 | ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use | |
466 | "size" instead of "_raw_size" and "_cooked_size". Expand | |
467 | bfd_section_size macro invocations. | |
468 | ||
552f8272 CF |
469 | 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
470 | ||
471 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, | |
472 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, | |
473 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and | |
474 | ___crt_xt_end__. | |
475 | (.tls): Define ___tls_start__ and ___tls_end__. | |
476 | ||
aee6f5b4 AO |
477 | 2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
478 | ||
479 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
480 | ||
eea6121a | 481 | 2004-06-18 Adam Nemet <anemet@lnxw.com> |
f234d5fe | 482 | |
eea6121a AM |
483 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. |
484 | * configure: Regenerate. | |
f234d5fe | 485 | |
dfff4fbe JJ |
486 | 2004-06-15 Jakub Jelinek <jakub@redhat.com> |
487 | ||
488 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to | |
489 | .gcc_except_table output sections lost accidentally with | |
490 | -z relro patch. | |
491 | ||
a9e0c0c6 AM |
492 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
493 | ||
494 | * ldwrite.c (build_link_order): Use bfd_get_section_size | |
495 | instead of bfd_get_section_size_before_reloc or _raw_size. | |
496 | * pe-dll.c (process_def_file): Likewise. | |
497 | ||
7115639b AM |
498 | 2004-06-14 Alan Modra <amodra@bigpond.net.au> |
499 | ||
500 | From Richard Wirth <r.wirth@wirthware.de> | |
501 | * ldlang.c (lang_finish): Don't free lang_definedness_table. | |
502 | ||
9ca57817 AM |
503 | 2004-05-29 Alan Modra <amodra@bigpond.net.au> |
504 | ||
505 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. | |
506 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. | |
507 | ||
f6f9408f JR |
508 | 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> |
509 | ||
510 | * testsuite/ld-sh/arch/arch.exp: New test script. | |
511 | * testsuite/ld-sh/arch/arch_expected.txt: New file. | |
512 | * testsuite/ld-sh/arch/sh.s: New file. | |
513 | * testsuite/ld-sh/arch/sh2.s: New file. | |
514 | * testsuite/ld-sh/arch/sh-dsp.s: New file. | |
515 | * testsuite/ld-sh/arch/sh2e.s: New file. | |
516 | * testsuite/ld-sh/arch/sh3-nommu.s: New file. | |
517 | * testsuite/ld-sh/arch/sh3.s: New file. | |
518 | * testsuite/ld-sh/arch/sh3-dsp.s: New file. | |
519 | * testsuite/ld-sh/arch/sh3e.s: New file. | |
520 | * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. | |
521 | * testsuite/ld-sh/arch/sh4-nofpu.s: New file. | |
522 | * testsuite/ld-sh/arch/sh4.s: New file. | |
523 | * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. | |
524 | * testsuite/ld-sh/arch/sh4al-dsp.s: New file. | |
525 | * testsuite/ld-sh/arch/sh4a.s: New file. | |
526 | ||
164e712d AM |
527 | 2004-05-28 Alan Modra <amodra@bigpond.net.au> |
528 | ||
6feb9908 AM |
529 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
530 | throughout file. | |
531 | * lexsup.c: Formatting. Wrap long lines. | |
532 | * ldwrite.c: Update copyright date. | |
533 | ||
164e712d AM |
534 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
535 | (output_section_callback): Nor SEC_KEEP here. | |
536 | (gc_section_callback): Twiddle SEC_EXCLUDE here. | |
537 | (lang_gc_wild): Delete. Fold into.. | |
538 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage | |
539 | collecting. | |
540 | (lang_process): Always call lang_gc_sections. | |
541 | (lang_place_orphans): Handle SEC_EXCLUDE sections. | |
542 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove | |
543 | SEC_EXCLUDE code. | |
544 | ||
b3096250 L |
545 | 2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
546 | ||
547 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear | |
548 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. | |
549 | * ldlang.c (lang_add_section): Likewise. | |
550 | ||
e49f5022 AM |
551 | 2004-05-26 Alan Modra <amodra@bigpond.net.au> |
552 | ||
553 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP | |
554 | sections when doing a final link. Clear SEC_EXCLUDE when doing | |
555 | a relocable link, except for SEC_DEBUGGING sections. | |
556 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the | |
557 | same condition here to drop SEC_EXCLUDE orphan sections. | |
558 | ||
57ceae94 AM |
559 | 2004-05-25 Alan Modra <amodra@bigpond.net.au> |
560 | ||
561 | * ldlang.c (lang_process): Call bfd_merge_sections later, and | |
562 | only when not a relocatable link. | |
563 | (print_input_section): Handle SEC_EXCLUDE sections. | |
564 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. | |
565 | (lang_do_assignments_1): Likewise. | |
566 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. | |
567 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. | |
568 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
569 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
570 | (build_section_lists): Likewise. | |
571 | ||
a85785bc AS |
572 | 2004-05-23 Andreas Schwab <schwab@suse.de> |
573 | ||
574 | * ld.texinfo (Options): Fix typo in last change. | |
575 | ||
2d643429 NC |
576 | 2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
577 | ||
578 | * ld.h (ld_config_type): Add new field: hash_table_size. | |
579 | * ldmain.c: Initialise the new field to zero. If it is non-zero | |
580 | after parsing the linker's command line call | |
581 | bfd_hash_set_default_size. | |
582 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. | |
583 | (ld_options): Add hash-size. | |
584 | (parse_args): Parse --hash-size option. Allow | |
585 | --reduce-memory-overheads to set the default hash table size as | |
586 | well. | |
587 | * ld.texinfo: Document the new switch. Also mention that | |
588 | --reduce-memory-overheads can affect the hash table size. | |
589 | * NEWS: Mention the new feature. | |
590 | ||
35835446 JR |
591 | 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> |
592 | ||
593 | * NEWS: Mention new linker map file generation and the | |
594 | --reduce-memory-overheads option. | |
595 | * ld.texinfo: Document --reduce-memory-overheads option. | |
596 | * ld.h (map_symbol_def): New struct. | |
597 | (struct user_section_struct, section_userdata_type): Rename to: | |
598 | (struct lean_user_section_struct, lean_section_userdata_type). | |
599 | (struct fat_user_section_struct, fat_section_userdata_type): New. | |
600 | (SECTION_USERDATA_SIZE): Define. | |
601 | (args_type): New member reduce_memory_overheads. | |
602 | * ldlang.c (map_obstack): New static variable. | |
603 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. | |
604 | (lang_map): Unless command_line.reduce_memory_overheads is set, | |
605 | initialize lists of defined symbols for each section. | |
606 | (print_input_section): Unless command_line.reduce_memory_overheads | |
607 | is set, use print_all_symbols. | |
608 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. | |
609 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. | |
610 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. | |
611 | (ld_options): Add entry for --reduce-memory-overheads. | |
612 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. | |
613 | ||
0841712e JJ |
614 | 2004-05-19 Jakub Jelinek <jakub@redhat.com> |
615 | ||
616 | * ldgram.y (sect_constraint): New. | |
617 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
618 | (section): Add sect_constraint. Pass additional argument | |
619 | to lang_enter_output_section_statement. | |
620 | * mri.c (mri_draw_tree): Pass additional argument to | |
621 | lang_enter_output_section_statement. | |
622 | * emultempl/pe.em (place_orphan): Likewise. | |
623 | (output_prev_sec_find): Disregard output section statements with | |
624 | constraint == -1. | |
625 | * emultempl/mmo.em (output_prev_sec_find): Likewise. | |
626 | (mmo_place_orphan): Pass additional argument to | |
627 | lang_enter_output_section_statement. | |
628 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section | |
629 | statements with constraint == -1. | |
630 | (place_orphan): Pass additional argument to | |
631 | lang_enter_output_section_statement. | |
632 | * ldlang.c (lang_enter_overlay_section): Likewise. | |
633 | (lang_output_section_find_1): New. | |
634 | (lang_output_section_find): Use it. | |
635 | (lang_output_section_statement_lookup_1): New. | |
636 | (lang_output_section_statement_lookup): Use it. | |
637 | (check_section_callback, check_input_sections): New. | |
638 | (map_input_to_output_sections): Check if all input sections | |
639 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. | |
640 | (strip_excluded_output_sections): Disregard output section statements | |
641 | with constraint == -1. | |
642 | (lang_record_phdrs): Likewise. | |
643 | (lang_enter_output_section_statement): Add constraint argument. | |
644 | Use lang_output_section_statement_lookup_1. | |
645 | * ldlang.h (lang_output_section_statement_type): Add constraint | |
646 | and all_input_readonly fields. | |
647 | (lang_enter_output_section_statement): Adjust prototype. | |
648 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
649 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text | |
650 | segment if all input sections are readonly. | |
651 | ||
eea6121a | 652 | 2004-05-19 Adam Nemet <anemet@lnxw.com> |
f2c50328 NC |
653 | |
654 | * scripttempl/i386lynx.sc: Remove file. | |
655 | ||
2a16d82a BW |
656 | 2004-05-17 Bob Wilson <bob.wilson@acm.org> |
657 | ||
658 | * ld.texinfo (Output Section Address): Correct subsection name. | |
659 | ||
eea6121a | 660 | 2004-05-17 Adam Nemet <anemet@lnxw.com> |
b2d65c0b NC |
661 | |
662 | * configure.tgt (powerpc-*-lynxos* case): New case. | |
663 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. | |
664 | * emulparams/ppclynx.sh: New file. | |
665 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. | |
666 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o | |
667 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. | |
668 | (eppclynx.c): New rule. | |
669 | * Makefile.in: Regenerate. | |
670 | ||
4b363073 NC |
671 | 2004-05-13 Joel Sherrill <joel@oarcorp.com> |
672 | ||
673 | * configure.tgt (or32-*-rtems*): Switch to elf and | |
674 | support versioned targets. | |
675 | ||
9598fbe5 NC |
676 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
677 | ||
678 | * po/fr.po: Updated French translation. | |
679 | ||
8c37241b JJ |
680 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
681 | ||
682 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts | |
683 | for binaries, -shared and -pie. | |
684 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. | |
685 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. | |
686 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... | |
687 | (OTHER_RELRO_SECTIONS): ... this. | |
688 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. | |
689 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
690 | -z relro and -z norelro. | |
691 | (gld${EMULATION_NAME}_list_options): Add it to usage. | |
692 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now | |
693 | -z relro scripts when appropriate. | |
694 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. | |
695 | Create separate .got.plt section if SEPARATE_GOTPLT. | |
696 | Move sections which are only written during relocation handling | |
697 | to the beginning of RW segment. If NO_SMALL_DATA, move .got | |
698 | before .data. Add DATA_SEGMENT_RELRO_END directive. | |
699 | Include OTHER_RELRO_SECTIONS. | |
700 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. | |
701 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. | |
702 | (fold_unary): Likewise. | |
703 | (fold_binary): Handle -z relro. | |
704 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and | |
705 | exp_dataseg_relro_adjust phases. Add relro_end field. | |
706 | * ldmain.c (main): Initialize link_info.relro to FALSE. | |
707 | * ldlang.c (lang_size_sections): Handle -z relro. | |
708 | ||
e21059f2 MM |
709 | 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
710 | ||
711 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. | |
712 | ||
5f9b8920 JR |
713 | 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> |
714 | ||
715 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma | |
716 | before printing it with %W. | |
717 | ||
26d2d8a2 | 718 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
eea6121a | 719 | DJ Delorie <dj@redhat.com> |
26d2d8a2 BF |
720 | |
721 | * emultempl/pe.em (real_flags): New static. | |
722 | (OPTION_LARGE_ADDRESS_AWARE): New define. | |
723 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. | |
724 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
725 | (gld${EMULATION_NAME}_handle_option): Likewise. | |
726 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. | |
727 | * ld.texinfo: Document it. | |
728 | * NEWS: Mention it. | |
729 | ||
1b169501 BF |
730 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
731 | ||
732 | * NEWS: Mention DWARF 2 support for i386pe. | |
733 | ||
41cf0c62 AO |
734 | 2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
735 | ||
736 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new | |
737 | elf32-frvfdpic. | |
738 | ||
d0d6a25b AM |
739 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
740 | ||
741 | * ldlang.c (unique_section_p): Pass section parm, return true on | |
742 | group sections. | |
743 | (output_section_callback): Adjust. | |
744 | * ldlang.h (unique_section_p): Update prototype. | |
745 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. | |
746 | ||
755306be EB |
747 | 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> |
748 | ||
eea6121a | 749 | * ld.texinfo (--gc-sections): Remove restriction for |
755306be EB |
750 | dynamic linking. |
751 | ||
8a7140c3 NC |
752 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
753 | ||
754 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections | |
755 | for DWARF 2/3. Update stab section's syntax. | |
756 | ||
2f9636ba AM |
757 | 2004-04-29 Alan Modra <amodra@bigpond.net.au> |
758 | ||
759 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. | |
760 | (fill_edata): Correct pointer arithmetic. | |
761 | ||
23867d67 CD |
762 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
763 | ||
764 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. | |
765 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. | |
766 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. | |
767 | (EXTRA_EM_FILE): Use mipsecoff.em | |
768 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. | |
769 | (EXTRA_EM_FILE): Use mipsecoff.em | |
770 | * emultempl/mipsecoff.em: Restructure to be included as an | |
771 | extra emulation file. | |
772 | (check_sections, gld${EMULATION_NAME}_after_open) | |
773 | (gld${EMULATION_NAME}_after_allocation) | |
774 | (gld${EMULATION_NAME}_get_script) | |
775 | (ld_${EMULATION_NAME}_emulation): Remove | |
776 | (gld${EMULATION_NAME}_before_parse): Rename to... | |
777 | (mipsecoff_before_parse): This. | |
778 | (LDEMUL_BEFORE_PARSE): Define. | |
779 | * emultempl/mipself.em: Remove file. | |
780 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. | |
781 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing | |
782 | these symbols. | |
783 | * Makefile.am: Remove dependencies on emultempl/mipself.em. | |
784 | * Makefile.in: Regenerate. | |
785 | ||
1502569c NC |
786 | 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> |
787 | ||
788 | * ld.texinfo (synthesizing on H8/300): Information about linker | |
789 | relaxation support for bit manipulation instructions and system | |
790 | control instructions is added. | |
791 | ||
c894ddfb HPN |
792 | 2004-04-21 Hans-Peter Nilsson <hp@axis.com> |
793 | ||
794 | * NEWS: Mention change in DEFINED semantics. | |
795 | ||
a85bf78e EB |
796 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
797 | ||
798 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. | |
799 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. | |
800 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. | |
801 | ||
58434bc1 BE |
802 | 2004-04-21 Ben Elliston <bje@au.ibm.com> |
803 | ||
804 | * ld.texinfo (Simple Example): Add missing punctuation. | |
805 | ||
7a7f4e42 CD |
806 | 2004-04-20 Chris Demetriou <cgd@broadcom.com> |
807 | ||
808 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. | |
809 | ||
3737f867 JJ |
810 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
811 | ||
812 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section | |
813 | specially. | |
814 | ||
3c17e4f7 DS |
815 | 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> |
816 | ||
817 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors | |
818 | with default priority. Likewise for dtors. | |
819 | ||
279500de TS |
820 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
821 | ||
822 | * configure.host: Remove mips*-dec-bsd* target. | |
823 | * configure.tgt: Likewise. | |
824 | ||
52f89c0a RS |
825 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
826 | ||
827 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. | |
828 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. | |
829 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. | |
830 | * emultempl/irix.em: New file. | |
831 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update | |
832 | dependencies. | |
833 | * Makefile.in: Regenerate. | |
834 | ||
e489d0ae PB |
835 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
836 | ||
837 | * emultempl/armelf.em (byteswap_code): Add. | |
838 | (arm_elf_before_allocation): Pass extra parameter. | |
839 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. | |
840 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. | |
841 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. | |
842 | * emultempl/armelf_oabi.em: Pass extra parameter. | |
843 | * ld.texinfo: Document --be8. | |
844 | ||
7cc8057a SS |
845 | 2004-03-30 Stan Shebs <shebs@apple.com> |
846 | ||
847 | Remove long-obsolete MPW support. | |
848 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. | |
849 | * Makefile.am (mpw): Remove file-presynthesizing actions. | |
850 | * Makefile.in: Likewise. | |
851 | * ldfile.c (slash): Remove MPW case. | |
852 | * ldlex.l [MPW]: Remove unused definition. | |
853 | ||
0949843d NC |
854 | 2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
855 | ||
856 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. | |
857 | (eelf32cr16c.c): New target. | |
858 | * Makefile.in: Regenerate. | |
859 | * configure.tgt: Handle cr16c-*-elf*. | |
860 | * emulparams/elf32cr16c.sh: New file. | |
861 | * scripttempl/elfcr16c.sc: Likewise | |
862 | * NEWS: Mention support for new target. | |
863 | ||
0a159ef8 NC |
864 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
865 | ||
866 | * po/sv.po: Updated Swedish translation. | |
867 | ||
7a945db6 AM |
868 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
869 | ||
870 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. | |
871 | * emultempl/hppaelf.em: Likewise. | |
872 | * emultempl/ppc64elf.em: Likewise. | |
873 | * emultempl/sh64elf.em: Likewise. | |
874 | ||
5a580b3a AM |
875 | 2004-03-25 Alan Modra <amodra@bigpond.net.au> |
876 | ||
877 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update | |
878 | size_dynamic_sections call. | |
879 | ||
b9cf773d AM |
880 | 2004-03-23 Alan Modra <amodra@bigpond.net.au> |
881 | ||
882 | PR 51. | |
883 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set | |
884 | link_info.wrap_char. | |
885 | ||
59c2e50f L |
886 | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
887 | ||
888 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects | |
889 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. | |
890 | ||
44349745 AO |
891 | 2004-03-20 Alexandre Oliva <aoliva@redhat.com> |
892 | ||
893 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. | |
894 | ||
81359a70 AM |
895 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
896 | ||
897 | * config.in: Regenerate. | |
898 | * po/ld.pot: Regenerate. | |
899 | ||
4a43e768 AM |
900 | 2004-03-18 Alan Modra <amodra@bigpond.net.au> |
901 | ||
902 | * ld.texinfo: Add --as-needed doco. | |
903 | * ldmain.c (as_needed): New global var. | |
904 | * ldmain.h (as_needed): Declare. | |
905 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and | |
906 | OPTION_NO_AS_NEEDED. | |
907 | (ld_options): Likewise. | |
908 | (parse_args): Handle them. | |
909 | * ldlang.h (lang_input_statement_type): Add as_needed field. | |
910 | * ldlang.c (new_afile): Set p->as_needed. | |
911 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. | |
912 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. | |
913 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. | |
914 | ||
915 | * ldlang.c (open_input_bfds): Remove useless cast. | |
916 | (lang_do_assignments_1): Likewise. | |
917 | (lang_for_each_input_section): Delete. | |
918 | ||
9183ed4b AM |
919 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
920 | ||
921 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
922 | ||
ee31fbd0 NC |
923 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
924 | ||
925 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as | |
926 | private when building implib. | |
927 | ||
e5caec89 NS |
928 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
929 | ||
930 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on | |
931 | SEC_THREAD_LOCAL. | |
932 | (IGNORE_SECTION): Ignore .tbss sections too. | |
933 | (lang_size_sections_1): .tbss sections do not advance dot. | |
934 | ||
cc2f008e AS |
935 | 2004-03-01 Andreas Schwab <schwab@suse.de> |
936 | ||
937 | * ld.texinfo (Options): Fix example for --wrap. | |
938 | ||
f5a95868 DS |
939 | 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> |
940 | ||
941 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is | |
942 | not NULL. | |
943 | ||
177b729b ILT |
944 | 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
945 | ||
946 | * ldlang.c (lang_check): Use %P, not %E, in error message. | |
947 | ||
1b493742 NS |
948 | 2004-02-23 Nathan Sidwell <nathan@codesourcery.com> |
949 | ||
950 | * ldlang.h (struct lang_output_section_state): Change processed | |
951 | field's type. | |
952 | * ldexp.c (check, invalid): Remove. | |
953 | (fold_name): Move valid_p assignments. Create undefined symbol | |
954 | when needed. Directly exampine section's processd flag. | |
955 | * ldlang.c (lang_output_section_statement_lookup): Adjust | |
956 | processed field init. | |
957 | (lang_size_sections_1): Allow LOADADDR when determining section's | |
958 | VMA. Adjust error message. Fold data statement's expr. | |
959 | (lang_size_sections): Correctly increment lang_statement_iteration. | |
960 | ||
961 | 2004-02-23 Alan Modra <amodra@bigpond.net.au> | |
962 | ||
963 | * ldexp.c (fold_tree): Follow indirect symbols. | |
b9cf773d | 964 | |
876f4090 NS |
965 | 2004-02-20 Nathan Sidwell <nathan@codesourcery.com> |
966 | ||
967 | * ldgram.y (exp): Add two operand ALIGN. | |
968 | * ldexp.c (fold_binary): Add ALIGN_K case. | |
969 | * ld.texinfo (ALIGN): Document two operand version. | |
970 | ||
384d938f NS |
971 | 2004-02-19 Nathan Sidwell <nathan@codesourcery.com> |
972 | ||
973 | * ldlang.c (map_input_to_output_sections): Initialize sections | |
974 | mentioned in a data statement expression. | |
975 | (lang_do_assignments_1): Add data statement's expression's | |
976 | section's vma. | |
977 | ||
b6ca8815 NS |
978 | 2004-02-18 Nathan Sidwell <nathan@codesourcery.com> |
979 | ||
980 | * ldgram.y (statement_anywhere): Add assert rule. | |
981 | * ldlang.c (exp_init_os): Add assert case. | |
982 | ||
c92c35e7 AC |
983 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
984 | ||
985 | * ldmain.c (remove_output): Call bfd_cache_close. | |
986 | ||
9bf78c99 RS |
987 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
988 | ||
989 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard | |
990 | .MIPS.content* and .MIPS.events* sections. | |
991 | ||
f3806916 DJ |
992 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
993 | ||
994 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move | |
995 | .note.gnu.arm.ident to after allocated sections. Mark its | |
996 | address as 0. | |
997 | ||
4c8e70d7 DJ |
998 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
999 | ||
1000 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
1001 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. | |
1002 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. | |
1003 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. | |
1004 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. | |
1005 | ||
ff71f4f7 NC |
1006 | 2004-02-05 Nick Clifton <nickc@redhat.com> |
1007 | ||
1008 | * emultempl/pe.em (_after_open): Fix typo in previous delta. | |
1009 | ||
07a68a80 NC |
1010 | 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> |
1011 | ||
1012 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. | |
1013 | ||
1dd3bf68 AM |
1014 | 2004-01-28 Alan Modra <amodra@bigpond.net.au> |
1015 | ||
586196d5 AM |
1016 | * genscripts.sh: Fix typo. |
1017 | ||
1dd3bf68 AM |
1018 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
1019 | ||
13d9421f JJ |
1020 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
1021 | ||
1022 | * emulparams/elf64_ia64.sh: Put .rela.opd into | |
1023 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. | |
1024 | ||
4d8907ac DS |
1025 | 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
1026 | ||
1027 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. | |
1028 | * ld.texinfo (--omagic): Note that writable text section | |
1029 | does not conform to published PE-COFF specs. | |
1030 | (--enable-auto-import): Likewise. | |
1031 | ||
e5c60db5 AM |
1032 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
1033 | ||
1034 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. | |
1035 | ||
6bdafbeb NC |
1036 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
1037 | ||
1038 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' | |
1039 | which if true will prevent the LMA region being used as a | |
1040 | replacement for a default VMA region. | |
586196d5 AM |
1041 | (lang_leave_output_section_statement): Pass extra parameter. |
1042 | (lang_leave_overlay): Likewise. | |
1043 | * ld.texinfo (Output Section LMA): Document that the LMA | |
6bdafbeb NC |
1044 | region can be set to the VMA region if no VMA has been set. |
1045 | * ldlang.h (struct lang_output_section_phdr_list): Create a | |
1046 | typedef for this type. Minor formatting fixes. | |
586196d5 | 1047 | |
9dfc8ab2 NC |
1048 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
1049 | ||
1050 | * ldlang.c (lang_size_sections_1): If dot is advanced, then | |
1051 | assume that the section should be allocated. | |
1052 | ||
8325c4dd AM |
1053 | 2004-01-13 Alan Modra <amodra@bigpond.net.au> |
1054 | ||
1055 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD | |
1056 | sections. Do ignore SEC_NEVER_LOAD sections. | |
1057 | (lang_size_sections_1): Remove test made redundant with the above. | |
1058 | ||
83490352 AM |
1059 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
1060 | ||
1061 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached | |
1062 | program_header_size. | |
1063 | ||
005e1118 AO |
1064 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
1065 | ||
1066 | 2003-11-28 Alexandre Oliva <aoliva@redhat.com> | |
1067 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. | |
1068 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> | |
1069 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. | |
1070 | (MAXPAGESIZE): Set to 64Kb. | |
1071 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and | |
1072 | __ROFIXUP_END__. Don't map .rofixup.got any more. | |
1073 | * emulparams/elf32frv.sh (NOP): Set. | |
1074 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> | |
1075 | * configure.tgt: Add frv-*-*linux*. | |
1076 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> | |
1077 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. | |
1078 | (eelf32frvfd.c): New. | |
1079 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. | |
1080 | * emulparams/elf32frv.sh: Reverted previous two patches. | |
1081 | * emulparams/elf32frvfd.sh: New. | |
1082 | * Makefile.in: Rebuilt. | |
1083 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> | |
1084 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added | |
1085 | .rofixup.got to .rofixup. | |
1086 | 2003-09-15 Alexandre Oliva <aoliva@redhat.com> | |
1087 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. | |
1088 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. | |
1089 | ||
060feee5 JJ |
1090 | 2004-01-05 Jakub Jelinek <jakub@redhat.com> |
1091 | ||
1092 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. | |
1093 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. | |
1094 | ||
5e2f1575 AM |
1095 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
1096 | ||
e5caa5e0 AM |
1097 | * ldexp.c (align_n): Make static. |
1098 | * ldexp.h (align_n): Delete declaration. | |
1099 | * ldlang.h (lang_enter_output_section_statement): Remove | |
1100 | block_value param. | |
1101 | * ldlang.c (lang_enter_output_section_statement): Likewise. | |
1102 | (TO_ADDR, TO_SIZE): Define. | |
c2df3ea5 | 1103 | (opb_shift): New var. |
e5caa5e0 AM |
1104 | (init_opb): New function. |
1105 | (print_input_section): Call init_opb and use TO_ADDR. | |
1106 | (print_data_statement, print_reloc_statement): Likewise. | |
1107 | (print_padding_statement): Likewise. | |
c2df3ea5 | 1108 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
e5caa5e0 AM |
1109 | (lang_check_section_addresses): Likewise. |
1110 | (lang_size_sections_1): Likewise. | |
1111 | (lang_do_assignments_1): Likewise. | |
1112 | (lang_set_startof): Likewise. | |
c2df3ea5 | 1113 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
e5caa5e0 | 1114 | (lang_process): Call init_opb. |
c2df3ea5 | 1115 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
e5caa5e0 AM |
1116 | (lang_enter_overlay_section): Adjust |
1117 | lang_enter_output_section_statement call. | |
1118 | * ldgram.y: Likewise. | |
1119 | * mri.c (mri_draw_tree): Likewise. | |
1120 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
1121 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
1122 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
1123 | ||
5e2f1575 AM |
1124 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
1125 | * ldfile.h (ldfile_set_output_arch): Ditto. | |
1126 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use | |
1127 | ldfile_set_output_arch. | |
1128 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1129 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1130 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1131 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1132 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1133 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1134 | * ldgram.y: Adjust ldfile_set_output_arch call. | |
1135 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1136 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1137 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1138 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1139 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. | |
1140 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1141 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1142 | ||
b50c15dc NC |
1143 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
1144 | ||
1145 | * configure.tgt: Add m68k-uClinux target. | |
6edf0760 | 1146 | |
c9e214e5 | 1147 | For older changes see ChangeLog-0203 |
252b5132 RH |
1148 | \f |
1149 | Local Variables: | |
1150 | mode: change-log | |
1151 | left-margin: 8 | |
1152 | fill-column: 74 | |
1153 | version-control: never | |
1154 | End: |