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