Commit | Line | Data |
---|---|---|
552f8272 CF |
1 | 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
2 | ||
3 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, | |
4 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, | |
5 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and | |
6 | ___crt_xt_end__. | |
7 | (.tls): Define ___tls_start__ and ___tls_end__. | |
8 | ||
aee6f5b4 AO |
9 | 2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
10 | ||
11 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
12 | ||
f234d5fe NC |
13 | 2004-06-18 Adam Nemet <anemet@lnxw.com> |
14 | ||
15 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. | |
16 | * configure: Regenerate. | |
17 | ||
dfff4fbe JJ |
18 | 2004-06-15 Jakub Jelinek <jakub@redhat.com> |
19 | ||
20 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to | |
21 | .gcc_except_table output sections lost accidentally with | |
22 | -z relro patch. | |
23 | ||
a9e0c0c6 AM |
24 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
25 | ||
26 | * ldwrite.c (build_link_order): Use bfd_get_section_size | |
27 | instead of bfd_get_section_size_before_reloc or _raw_size. | |
28 | * pe-dll.c (process_def_file): Likewise. | |
29 | ||
7115639b AM |
30 | 2004-06-14 Alan Modra <amodra@bigpond.net.au> |
31 | ||
32 | From Richard Wirth <r.wirth@wirthware.de> | |
33 | * ldlang.c (lang_finish): Don't free lang_definedness_table. | |
34 | ||
9ca57817 AM |
35 | 2004-05-29 Alan Modra <amodra@bigpond.net.au> |
36 | ||
37 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. | |
38 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. | |
39 | ||
f6f9408f JR |
40 | 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> |
41 | ||
42 | * testsuite/ld-sh/arch/arch.exp: New test script. | |
43 | * testsuite/ld-sh/arch/arch_expected.txt: New file. | |
44 | * testsuite/ld-sh/arch/sh.s: New file. | |
45 | * testsuite/ld-sh/arch/sh2.s: New file. | |
46 | * testsuite/ld-sh/arch/sh-dsp.s: New file. | |
47 | * testsuite/ld-sh/arch/sh2e.s: New file. | |
48 | * testsuite/ld-sh/arch/sh3-nommu.s: New file. | |
49 | * testsuite/ld-sh/arch/sh3.s: New file. | |
50 | * testsuite/ld-sh/arch/sh3-dsp.s: New file. | |
51 | * testsuite/ld-sh/arch/sh3e.s: New file. | |
52 | * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. | |
53 | * testsuite/ld-sh/arch/sh4-nofpu.s: New file. | |
54 | * testsuite/ld-sh/arch/sh4.s: New file. | |
55 | * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. | |
56 | * testsuite/ld-sh/arch/sh4al-dsp.s: New file. | |
57 | * testsuite/ld-sh/arch/sh4a.s: New file. | |
58 | ||
164e712d AM |
59 | 2004-05-28 Alan Modra <amodra@bigpond.net.au> |
60 | ||
6feb9908 AM |
61 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
62 | throughout file. | |
63 | * lexsup.c: Formatting. Wrap long lines. | |
64 | * ldwrite.c: Update copyright date. | |
65 | ||
164e712d AM |
66 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
67 | (output_section_callback): Nor SEC_KEEP here. | |
68 | (gc_section_callback): Twiddle SEC_EXCLUDE here. | |
69 | (lang_gc_wild): Delete. Fold into.. | |
70 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage | |
71 | collecting. | |
72 | (lang_process): Always call lang_gc_sections. | |
73 | (lang_place_orphans): Handle SEC_EXCLUDE sections. | |
74 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove | |
75 | SEC_EXCLUDE code. | |
76 | ||
b3096250 L |
77 | 2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
78 | ||
79 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear | |
80 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. | |
81 | * ldlang.c (lang_add_section): Likewise. | |
82 | ||
e49f5022 AM |
83 | 2004-05-26 Alan Modra <amodra@bigpond.net.au> |
84 | ||
85 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP | |
86 | sections when doing a final link. Clear SEC_EXCLUDE when doing | |
87 | a relocable link, except for SEC_DEBUGGING sections. | |
88 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the | |
89 | same condition here to drop SEC_EXCLUDE orphan sections. | |
90 | ||
57ceae94 AM |
91 | 2004-05-25 Alan Modra <amodra@bigpond.net.au> |
92 | ||
93 | * ldlang.c (lang_process): Call bfd_merge_sections later, and | |
94 | only when not a relocatable link. | |
95 | (print_input_section): Handle SEC_EXCLUDE sections. | |
96 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. | |
97 | (lang_do_assignments_1): Likewise. | |
98 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. | |
99 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. | |
100 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
101 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
102 | (build_section_lists): Likewise. | |
103 | ||
a85785bc AS |
104 | 2004-05-23 Andreas Schwab <schwab@suse.de> |
105 | ||
106 | * ld.texinfo (Options): Fix typo in last change. | |
107 | ||
2d643429 NC |
108 | 2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
109 | ||
110 | * ld.h (ld_config_type): Add new field: hash_table_size. | |
111 | * ldmain.c: Initialise the new field to zero. If it is non-zero | |
112 | after parsing the linker's command line call | |
113 | bfd_hash_set_default_size. | |
114 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. | |
115 | (ld_options): Add hash-size. | |
116 | (parse_args): Parse --hash-size option. Allow | |
117 | --reduce-memory-overheads to set the default hash table size as | |
118 | well. | |
119 | * ld.texinfo: Document the new switch. Also mention that | |
120 | --reduce-memory-overheads can affect the hash table size. | |
121 | * NEWS: Mention the new feature. | |
122 | ||
35835446 JR |
123 | 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> |
124 | ||
125 | * NEWS: Mention new linker map file generation and the | |
126 | --reduce-memory-overheads option. | |
127 | * ld.texinfo: Document --reduce-memory-overheads option. | |
128 | * ld.h (map_symbol_def): New struct. | |
129 | (struct user_section_struct, section_userdata_type): Rename to: | |
130 | (struct lean_user_section_struct, lean_section_userdata_type). | |
131 | (struct fat_user_section_struct, fat_section_userdata_type): New. | |
132 | (SECTION_USERDATA_SIZE): Define. | |
133 | (args_type): New member reduce_memory_overheads. | |
134 | * ldlang.c (map_obstack): New static variable. | |
135 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. | |
136 | (lang_map): Unless command_line.reduce_memory_overheads is set, | |
137 | initialize lists of defined symbols for each section. | |
138 | (print_input_section): Unless command_line.reduce_memory_overheads | |
139 | is set, use print_all_symbols. | |
140 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. | |
141 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. | |
142 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. | |
143 | (ld_options): Add entry for --reduce-memory-overheads. | |
144 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. | |
145 | ||
0841712e JJ |
146 | 2004-05-19 Jakub Jelinek <jakub@redhat.com> |
147 | ||
148 | * ldgram.y (sect_constraint): New. | |
149 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
150 | (section): Add sect_constraint. Pass additional argument | |
151 | to lang_enter_output_section_statement. | |
152 | * mri.c (mri_draw_tree): Pass additional argument to | |
153 | lang_enter_output_section_statement. | |
154 | * emultempl/pe.em (place_orphan): Likewise. | |
155 | (output_prev_sec_find): Disregard output section statements with | |
156 | constraint == -1. | |
157 | * emultempl/mmo.em (output_prev_sec_find): Likewise. | |
158 | (mmo_place_orphan): Pass additional argument to | |
159 | lang_enter_output_section_statement. | |
160 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section | |
161 | statements with constraint == -1. | |
162 | (place_orphan): Pass additional argument to | |
163 | lang_enter_output_section_statement. | |
164 | * ldlang.c (lang_enter_overlay_section): Likewise. | |
165 | (lang_output_section_find_1): New. | |
166 | (lang_output_section_find): Use it. | |
167 | (lang_output_section_statement_lookup_1): New. | |
168 | (lang_output_section_statement_lookup): Use it. | |
169 | (check_section_callback, check_input_sections): New. | |
170 | (map_input_to_output_sections): Check if all input sections | |
171 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. | |
172 | (strip_excluded_output_sections): Disregard output section statements | |
173 | with constraint == -1. | |
174 | (lang_record_phdrs): Likewise. | |
175 | (lang_enter_output_section_statement): Add constraint argument. | |
176 | Use lang_output_section_statement_lookup_1. | |
177 | * ldlang.h (lang_output_section_statement_type): Add constraint | |
178 | and all_input_readonly fields. | |
179 | (lang_enter_output_section_statement): Adjust prototype. | |
180 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
181 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text | |
182 | segment if all input sections are readonly. | |
183 | ||
f2c50328 NC |
184 | 2004-05-19 Adam Nemet <anemet@lnxw.com> |
185 | ||
186 | * scripttempl/i386lynx.sc: Remove file. | |
187 | ||
2a16d82a BW |
188 | 2004-05-17 Bob Wilson <bob.wilson@acm.org> |
189 | ||
190 | * ld.texinfo (Output Section Address): Correct subsection name. | |
191 | ||
b2d65c0b NC |
192 | 2004-05-17 Adam Nemet <anemet@lnxw.com> |
193 | ||
194 | * configure.tgt (powerpc-*-lynxos* case): New case. | |
195 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. | |
196 | * emulparams/ppclynx.sh: New file. | |
197 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. | |
198 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o | |
199 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. | |
200 | (eppclynx.c): New rule. | |
201 | * Makefile.in: Regenerate. | |
202 | ||
4b363073 NC |
203 | 2004-05-13 Joel Sherrill <joel@oarcorp.com> |
204 | ||
205 | * configure.tgt (or32-*-rtems*): Switch to elf and | |
206 | support versioned targets. | |
207 | ||
9598fbe5 NC |
208 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
209 | ||
210 | * po/fr.po: Updated French translation. | |
211 | ||
8c37241b JJ |
212 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
213 | ||
214 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts | |
215 | for binaries, -shared and -pie. | |
216 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. | |
217 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. | |
218 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... | |
219 | (OTHER_RELRO_SECTIONS): ... this. | |
220 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. | |
221 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
222 | -z relro and -z norelro. | |
223 | (gld${EMULATION_NAME}_list_options): Add it to usage. | |
224 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now | |
225 | -z relro scripts when appropriate. | |
226 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. | |
227 | Create separate .got.plt section if SEPARATE_GOTPLT. | |
228 | Move sections which are only written during relocation handling | |
229 | to the beginning of RW segment. If NO_SMALL_DATA, move .got | |
230 | before .data. Add DATA_SEGMENT_RELRO_END directive. | |
231 | Include OTHER_RELRO_SECTIONS. | |
232 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. | |
233 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. | |
234 | (fold_unary): Likewise. | |
235 | (fold_binary): Handle -z relro. | |
236 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and | |
237 | exp_dataseg_relro_adjust phases. Add relro_end field. | |
238 | * ldmain.c (main): Initialize link_info.relro to FALSE. | |
239 | * ldlang.c (lang_size_sections): Handle -z relro. | |
240 | ||
e21059f2 MM |
241 | 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
242 | ||
243 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. | |
244 | ||
5f9b8920 JR |
245 | 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> |
246 | ||
247 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma | |
248 | before printing it with %W. | |
249 | ||
26d2d8a2 BF |
250 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
251 | DJ Delorie <dj@redhat.com> | |
252 | ||
253 | * emultempl/pe.em (real_flags): New static. | |
254 | (OPTION_LARGE_ADDRESS_AWARE): New define. | |
255 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. | |
256 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
257 | (gld${EMULATION_NAME}_handle_option): Likewise. | |
258 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. | |
259 | * ld.texinfo: Document it. | |
260 | * NEWS: Mention it. | |
261 | ||
1b169501 BF |
262 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
263 | ||
264 | * NEWS: Mention DWARF 2 support for i386pe. | |
265 | ||
41cf0c62 AO |
266 | 2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
267 | ||
268 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new | |
269 | elf32-frvfdpic. | |
270 | ||
d0d6a25b AM |
271 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
272 | ||
273 | * ldlang.c (unique_section_p): Pass section parm, return true on | |
274 | group sections. | |
275 | (output_section_callback): Adjust. | |
276 | * ldlang.h (unique_section_p): Update prototype. | |
277 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. | |
278 | ||
755306be EB |
279 | 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> |
280 | ||
281 | * ld.texinfo (--gc-sections): Remove restriction for | |
282 | dynamic linking. | |
283 | ||
8a7140c3 NC |
284 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
285 | ||
286 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections | |
287 | for DWARF 2/3. Update stab section's syntax. | |
288 | ||
2f9636ba AM |
289 | 2004-04-29 Alan Modra <amodra@bigpond.net.au> |
290 | ||
291 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. | |
292 | (fill_edata): Correct pointer arithmetic. | |
293 | ||
23867d67 CD |
294 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
295 | ||
296 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. | |
297 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. | |
298 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. | |
299 | (EXTRA_EM_FILE): Use mipsecoff.em | |
300 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. | |
301 | (EXTRA_EM_FILE): Use mipsecoff.em | |
302 | * emultempl/mipsecoff.em: Restructure to be included as an | |
303 | extra emulation file. | |
304 | (check_sections, gld${EMULATION_NAME}_after_open) | |
305 | (gld${EMULATION_NAME}_after_allocation) | |
306 | (gld${EMULATION_NAME}_get_script) | |
307 | (ld_${EMULATION_NAME}_emulation): Remove | |
308 | (gld${EMULATION_NAME}_before_parse): Rename to... | |
309 | (mipsecoff_before_parse): This. | |
310 | (LDEMUL_BEFORE_PARSE): Define. | |
311 | * emultempl/mipself.em: Remove file. | |
312 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. | |
313 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing | |
314 | these symbols. | |
315 | * Makefile.am: Remove dependencies on emultempl/mipself.em. | |
316 | * Makefile.in: Regenerate. | |
317 | ||
1502569c NC |
318 | 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> |
319 | ||
320 | * ld.texinfo (synthesizing on H8/300): Information about linker | |
321 | relaxation support for bit manipulation instructions and system | |
322 | control instructions is added. | |
323 | ||
c894ddfb HPN |
324 | 2004-04-21 Hans-Peter Nilsson <hp@axis.com> |
325 | ||
326 | * NEWS: Mention change in DEFINED semantics. | |
327 | ||
a85bf78e EB |
328 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
329 | ||
330 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. | |
331 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. | |
332 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. | |
333 | ||
58434bc1 BE |
334 | 2004-04-21 Ben Elliston <bje@au.ibm.com> |
335 | ||
336 | * ld.texinfo (Simple Example): Add missing punctuation. | |
337 | ||
7a7f4e42 CD |
338 | 2004-04-20 Chris Demetriou <cgd@broadcom.com> |
339 | ||
340 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. | |
341 | ||
3737f867 JJ |
342 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
343 | ||
344 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section | |
345 | specially. | |
346 | ||
3c17e4f7 DS |
347 | 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> |
348 | ||
349 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors | |
350 | with default priority. Likewise for dtors. | |
351 | ||
279500de TS |
352 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
353 | ||
354 | * configure.host: Remove mips*-dec-bsd* target. | |
355 | * configure.tgt: Likewise. | |
356 | ||
52f89c0a RS |
357 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
358 | ||
359 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. | |
360 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. | |
361 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. | |
362 | * emultempl/irix.em: New file. | |
363 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update | |
364 | dependencies. | |
365 | * Makefile.in: Regenerate. | |
366 | ||
e489d0ae PB |
367 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
368 | ||
369 | * emultempl/armelf.em (byteswap_code): Add. | |
370 | (arm_elf_before_allocation): Pass extra parameter. | |
371 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. | |
372 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. | |
373 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. | |
374 | * emultempl/armelf_oabi.em: Pass extra parameter. | |
375 | * ld.texinfo: Document --be8. | |
376 | ||
7cc8057a SS |
377 | 2004-03-30 Stan Shebs <shebs@apple.com> |
378 | ||
379 | Remove long-obsolete MPW support. | |
380 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. | |
381 | * Makefile.am (mpw): Remove file-presynthesizing actions. | |
382 | * Makefile.in: Likewise. | |
383 | * ldfile.c (slash): Remove MPW case. | |
384 | * ldlex.l [MPW]: Remove unused definition. | |
385 | ||
0949843d NC |
386 | 2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
387 | ||
388 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. | |
389 | (eelf32cr16c.c): New target. | |
390 | * Makefile.in: Regenerate. | |
391 | * configure.tgt: Handle cr16c-*-elf*. | |
392 | * emulparams/elf32cr16c.sh: New file. | |
393 | * scripttempl/elfcr16c.sc: Likewise | |
394 | * NEWS: Mention support for new target. | |
395 | ||
0a159ef8 NC |
396 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
397 | ||
398 | * po/sv.po: Updated Swedish translation. | |
399 | ||
7a945db6 AM |
400 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
401 | ||
402 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. | |
403 | * emultempl/hppaelf.em: Likewise. | |
404 | * emultempl/ppc64elf.em: Likewise. | |
405 | * emultempl/sh64elf.em: Likewise. | |
406 | ||
5a580b3a AM |
407 | 2004-03-25 Alan Modra <amodra@bigpond.net.au> |
408 | ||
409 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update | |
410 | size_dynamic_sections call. | |
411 | ||
b9cf773d AM |
412 | 2004-03-23 Alan Modra <amodra@bigpond.net.au> |
413 | ||
414 | PR 51. | |
415 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set | |
416 | link_info.wrap_char. | |
417 | ||
59c2e50f L |
418 | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
419 | ||
420 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects | |
421 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. | |
422 | ||
44349745 AO |
423 | 2004-03-20 Alexandre Oliva <aoliva@redhat.com> |
424 | ||
425 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. | |
426 | ||
81359a70 AM |
427 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
428 | ||
429 | * config.in: Regenerate. | |
430 | * po/ld.pot: Regenerate. | |
431 | ||
4a43e768 AM |
432 | 2004-03-18 Alan Modra <amodra@bigpond.net.au> |
433 | ||
434 | * ld.texinfo: Add --as-needed doco. | |
435 | * ldmain.c (as_needed): New global var. | |
436 | * ldmain.h (as_needed): Declare. | |
437 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and | |
438 | OPTION_NO_AS_NEEDED. | |
439 | (ld_options): Likewise. | |
440 | (parse_args): Handle them. | |
441 | * ldlang.h (lang_input_statement_type): Add as_needed field. | |
442 | * ldlang.c (new_afile): Set p->as_needed. | |
443 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. | |
444 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. | |
445 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. | |
446 | ||
447 | * ldlang.c (open_input_bfds): Remove useless cast. | |
448 | (lang_do_assignments_1): Likewise. | |
449 | (lang_for_each_input_section): Delete. | |
450 | ||
9183ed4b AM |
451 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
452 | ||
453 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
454 | ||
ee31fbd0 NC |
455 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
456 | ||
457 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as | |
458 | private when building implib. | |
459 | ||
e5caec89 NS |
460 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
461 | ||
462 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on | |
463 | SEC_THREAD_LOCAL. | |
464 | (IGNORE_SECTION): Ignore .tbss sections too. | |
465 | (lang_size_sections_1): .tbss sections do not advance dot. | |
466 | ||
cc2f008e AS |
467 | 2004-03-01 Andreas Schwab <schwab@suse.de> |
468 | ||
469 | * ld.texinfo (Options): Fix example for --wrap. | |
470 | ||
f5a95868 DS |
471 | 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> |
472 | ||
473 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is | |
474 | not NULL. | |
475 | ||
177b729b ILT |
476 | 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
477 | ||
478 | * ldlang.c (lang_check): Use %P, not %E, in error message. | |
479 | ||
1b493742 NS |
480 | 2004-02-23 Nathan Sidwell <nathan@codesourcery.com> |
481 | ||
482 | * ldlang.h (struct lang_output_section_state): Change processed | |
483 | field's type. | |
484 | * ldexp.c (check, invalid): Remove. | |
485 | (fold_name): Move valid_p assignments. Create undefined symbol | |
486 | when needed. Directly exampine section's processd flag. | |
487 | * ldlang.c (lang_output_section_statement_lookup): Adjust | |
488 | processed field init. | |
489 | (lang_size_sections_1): Allow LOADADDR when determining section's | |
490 | VMA. Adjust error message. Fold data statement's expr. | |
491 | (lang_size_sections): Correctly increment lang_statement_iteration. | |
492 | ||
493 | 2004-02-23 Alan Modra <amodra@bigpond.net.au> | |
494 | ||
495 | * ldexp.c (fold_tree): Follow indirect symbols. | |
b9cf773d | 496 | |
876f4090 NS |
497 | 2004-02-20 Nathan Sidwell <nathan@codesourcery.com> |
498 | ||
499 | * ldgram.y (exp): Add two operand ALIGN. | |
500 | * ldexp.c (fold_binary): Add ALIGN_K case. | |
501 | * ld.texinfo (ALIGN): Document two operand version. | |
502 | ||
384d938f NS |
503 | 2004-02-19 Nathan Sidwell <nathan@codesourcery.com> |
504 | ||
505 | * ldlang.c (map_input_to_output_sections): Initialize sections | |
506 | mentioned in a data statement expression. | |
507 | (lang_do_assignments_1): Add data statement's expression's | |
508 | section's vma. | |
509 | ||
b6ca8815 NS |
510 | 2004-02-18 Nathan Sidwell <nathan@codesourcery.com> |
511 | ||
512 | * ldgram.y (statement_anywhere): Add assert rule. | |
513 | * ldlang.c (exp_init_os): Add assert case. | |
514 | ||
c92c35e7 AC |
515 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
516 | ||
517 | * ldmain.c (remove_output): Call bfd_cache_close. | |
518 | ||
9bf78c99 RS |
519 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
520 | ||
521 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard | |
522 | .MIPS.content* and .MIPS.events* sections. | |
523 | ||
f3806916 DJ |
524 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
525 | ||
526 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move | |
527 | .note.gnu.arm.ident to after allocated sections. Mark its | |
528 | address as 0. | |
529 | ||
4c8e70d7 DJ |
530 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
531 | ||
532 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
533 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. | |
534 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. | |
535 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. | |
536 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. | |
537 | ||
ff71f4f7 NC |
538 | 2004-02-05 Nick Clifton <nickc@redhat.com> |
539 | ||
540 | * emultempl/pe.em (_after_open): Fix typo in previous delta. | |
541 | ||
07a68a80 NC |
542 | 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> |
543 | ||
544 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. | |
545 | ||
1dd3bf68 AM |
546 | 2004-01-28 Alan Modra <amodra@bigpond.net.au> |
547 | ||
586196d5 AM |
548 | * genscripts.sh: Fix typo. |
549 | ||
1dd3bf68 AM |
550 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
551 | ||
13d9421f JJ |
552 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
553 | ||
554 | * emulparams/elf64_ia64.sh: Put .rela.opd into | |
555 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. | |
556 | ||
4d8907ac DS |
557 | 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
558 | ||
559 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. | |
560 | * ld.texinfo (--omagic): Note that writable text section | |
561 | does not conform to published PE-COFF specs. | |
562 | (--enable-auto-import): Likewise. | |
563 | ||
e5c60db5 AM |
564 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
565 | ||
566 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. | |
567 | ||
6bdafbeb NC |
568 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
569 | ||
570 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' | |
571 | which if true will prevent the LMA region being used as a | |
572 | replacement for a default VMA region. | |
586196d5 AM |
573 | (lang_leave_output_section_statement): Pass extra parameter. |
574 | (lang_leave_overlay): Likewise. | |
575 | * ld.texinfo (Output Section LMA): Document that the LMA | |
6bdafbeb NC |
576 | region can be set to the VMA region if no VMA has been set. |
577 | * ldlang.h (struct lang_output_section_phdr_list): Create a | |
578 | typedef for this type. Minor formatting fixes. | |
586196d5 | 579 | |
9dfc8ab2 NC |
580 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
581 | ||
582 | * ldlang.c (lang_size_sections_1): If dot is advanced, then | |
583 | assume that the section should be allocated. | |
584 | ||
8325c4dd AM |
585 | 2004-01-13 Alan Modra <amodra@bigpond.net.au> |
586 | ||
587 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD | |
588 | sections. Do ignore SEC_NEVER_LOAD sections. | |
589 | (lang_size_sections_1): Remove test made redundant with the above. | |
590 | ||
83490352 AM |
591 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
592 | ||
593 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached | |
594 | program_header_size. | |
595 | ||
005e1118 AO |
596 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
597 | ||
598 | 2003-11-28 Alexandre Oliva <aoliva@redhat.com> | |
599 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. | |
600 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> | |
601 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. | |
602 | (MAXPAGESIZE): Set to 64Kb. | |
603 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and | |
604 | __ROFIXUP_END__. Don't map .rofixup.got any more. | |
605 | * emulparams/elf32frv.sh (NOP): Set. | |
606 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> | |
607 | * configure.tgt: Add frv-*-*linux*. | |
608 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> | |
609 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. | |
610 | (eelf32frvfd.c): New. | |
611 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. | |
612 | * emulparams/elf32frv.sh: Reverted previous two patches. | |
613 | * emulparams/elf32frvfd.sh: New. | |
614 | * Makefile.in: Rebuilt. | |
615 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> | |
616 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added | |
617 | .rofixup.got to .rofixup. | |
618 | 2003-09-15 Alexandre Oliva <aoliva@redhat.com> | |
619 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. | |
620 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. | |
621 | ||
060feee5 JJ |
622 | 2004-01-05 Jakub Jelinek <jakub@redhat.com> |
623 | ||
624 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. | |
625 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. | |
626 | ||
5e2f1575 AM |
627 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
628 | ||
e5caa5e0 AM |
629 | * ldexp.c (align_n): Make static. |
630 | * ldexp.h (align_n): Delete declaration. | |
631 | * ldlang.h (lang_enter_output_section_statement): Remove | |
632 | block_value param. | |
633 | * ldlang.c (lang_enter_output_section_statement): Likewise. | |
634 | (TO_ADDR, TO_SIZE): Define. | |
c2df3ea5 | 635 | (opb_shift): New var. |
e5caa5e0 AM |
636 | (init_opb): New function. |
637 | (print_input_section): Call init_opb and use TO_ADDR. | |
638 | (print_data_statement, print_reloc_statement): Likewise. | |
639 | (print_padding_statement): Likewise. | |
c2df3ea5 | 640 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
e5caa5e0 AM |
641 | (lang_check_section_addresses): Likewise. |
642 | (lang_size_sections_1): Likewise. | |
643 | (lang_do_assignments_1): Likewise. | |
644 | (lang_set_startof): Likewise. | |
c2df3ea5 | 645 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
e5caa5e0 | 646 | (lang_process): Call init_opb. |
c2df3ea5 | 647 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
e5caa5e0 AM |
648 | (lang_enter_overlay_section): Adjust |
649 | lang_enter_output_section_statement call. | |
650 | * ldgram.y: Likewise. | |
651 | * mri.c (mri_draw_tree): Likewise. | |
652 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
653 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
654 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
655 | ||
5e2f1575 AM |
656 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
657 | * ldfile.h (ldfile_set_output_arch): Ditto. | |
658 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use | |
659 | ldfile_set_output_arch. | |
660 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
661 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
662 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
663 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
664 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
665 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
666 | * ldgram.y: Adjust ldfile_set_output_arch call. | |
667 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
668 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
669 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
670 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
671 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. | |
672 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
673 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
674 | ||
b50c15dc NC |
675 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
676 | ||
677 | * configure.tgt: Add m68k-uClinux target. | |
6edf0760 | 678 | |
c9e214e5 | 679 | For older changes see ChangeLog-0203 |
252b5132 RH |
680 | \f |
681 | Local Variables: | |
682 | mode: change-log | |
683 | left-margin: 8 | |
684 | fill-column: 74 | |
685 | version-control: never | |
686 | End: |