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