Commit | Line | Data |
---|---|---|
8b803601 L |
1 | 2005-05-21 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * Makefile.am (ld.1): Revert the last 2 changes. | |
4 | (info-recursive): Depend on ld.1. | |
5 | * Makefile.in: Regenerated. | |
6 | ||
e366efef L |
7 | 2005-05-21 H.J. Lu <hongjiu.lu@intel.com> |
8 | ||
9 | * Makefile.am (ld.1): Depend on "info" instead of | |
10 | "configdoc.texi ldver.texi". | |
11 | * Makefile.in: Regenerated. | |
12 | ||
abf32a89 L |
13 | 2005-05-21 H.J. Lu <hongjiu.lu@intel.com> |
14 | ||
15 | * Makefile.am (ld.1): Depend on "info". | |
16 | * Makefile.in: Regenerated. | |
17 | ||
e3e71e27 ZW |
18 | 2005-05-19 Zack Weinberg <zack@codesourcery.com> |
19 | ||
20 | * Makefile.am: Have 'all' depend on 'info' and 'ld.1'. | |
21 | * Makefile.in: Regenerate. | |
22 | ||
c19d1205 ZW |
23 | 2005-05-17 Zack Weinberg <zack@codesourcery.com> |
24 | ||
25 | * ld-arm/mixed-app.d: Adjust expected disassembly a little. | |
26 | ||
970c3dbc DJ |
27 | 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> |
28 | ||
29 | * Makefile.am (ldver.texi): Don't use $<. | |
30 | * Makefile.in: Regenerated. | |
31 | ||
6e1b59d2 DJ |
32 | 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> |
33 | ||
34 | * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include | |
35 | $(srcdir) before $(BFDDIR)/doc. | |
36 | * Makefile.in: Regenerated. | |
37 | ||
75ff4589 L |
38 | 2005-05-17 H.J. Lu <hongjiu.lu@intel.com> |
39 | ||
40 | PR 797 | |
41 | * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and | |
42 | take take a bfd_boolean, mark_used. Ignore assert failure if | |
43 | mark_used is TRUE. | |
44 | (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE. | |
45 | (exp_fold_tree_no_dot): Updated to take a bfd_boolean, | |
46 | mark_used and pass down. | |
47 | (fold_unary): Likewise. | |
48 | (fold_binary): Likewise. | |
49 | (fold_trinary): Likewise. | |
50 | (exp_binop): Add FALSE to call to exp_fold_tree_no_dot. | |
51 | (exp_trinop): Likewise. | |
52 | (exp_unop): Likewise. | |
53 | (exp_nameop): Likewise. | |
54 | (exp_get_vma): Likewise. | |
55 | (exp_get_fill): Likewise. | |
56 | (exp_get_abs_int): Likewise. | |
57 | (fold_name): Likewise. Set SEC_KEEP in output section flags. | |
58 | (exp_mark_used_section): New. | |
59 | ||
60 | * ldexp.h (exp_mark_used_section): New. | |
61 | ||
62 | * ldlang.c (lang_output_section_statement_lookup_1): Set the | |
63 | ignored field to FALSE. | |
64 | (lang_mark_used_section_1): New. | |
65 | (lang_mark_used_section): Call lang_mark_used_section_1. | |
66 | (strip_excluded_output_sections): Call lang_mark_used_section | |
67 | and check for unused sections. | |
68 | (lang_size_sections_1): Skip an output section if it should | |
69 | be ignored. | |
70 | (lang_do_assignments_1): Likewise. | |
71 | (lang_process): Don't call lang_mark_used_section here. | |
72 | ||
73 | * ldlang.h (lang_output_section_statement_type): Change | |
74 | all_input_readonly to bitfield. Add ignored. | |
75 | ||
25ba8e7b NC |
76 | 2005-05-17 Lennert Buytenhek <buytenh@wantstofly.org> |
77 | Peter S. Mazinger" <ps.m@gmx.net> | |
78 | ||
c19d1205 ZW |
79 | * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes". |
80 | * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes". | |
25ba8e7b | 81 | |
10dbd1f3 NC |
82 | 2005-05-17 Julian Brown <julian@codesourcery.com> |
83 | ||
84 | * ldlang.c (print_assignment): Do not rely upon a valid result | |
85 | having a section associated with it. | |
86 | ||
3b83e13a NC |
87 | 2005-05-17 Nick Clifton <nickc@redhat.com> |
88 | ||
89 | * ldlang.c (Scan_for_self_assignment): Check an assignment tree to | |
90 | see if the same value is being used on the rhs as on the lhs. | |
91 | (print_assignment): Call scan_for_self_assignment and if it | |
92 | returns true, do no display the result of the computation but | |
93 | instead just the final value of the symbol on the lhs. | |
94 | * ld.texinfo: Document this behaviour and provide an example of | |
95 | when it will happen. | |
96 | ||
42ecbf5e DJ |
97 | 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> |
98 | ||
99 | * Makefile.am (AM_MAKEINFOFLAGS): Define. | |
100 | (TEXI2DVI): Define. | |
101 | (ldver.texi): Depend on distributed files instead of built files. | |
102 | (ld.info): Include $(srcdir) in the rule target. Remove actions. | |
103 | (ld.dvi): Remove actions. | |
104 | (MAINTAINERCLEANFILES): Add configdoc.texi. | |
105 | (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. | |
106 | (install-data-local): Renamed from install. | |
107 | (Makefile): Remove explicit dependency. | |
108 | * acinclude.m4: Remove obsolete code. | |
109 | * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. | |
110 | * Makefile.in, aclocal.m4, config.in, configure: Regenerated. | |
111 | ||
be2c2e39 BW |
112 | 2005-05-11 Bob Wilson <bob.wilson@acm.org> |
113 | ||
114 | * scripttempl/elfxtensa.sc: Sync up with elf.sc. | |
115 | * emulparams/elf32xtensa.sh (PLT, GOT): Define. | |
116 | ||
0cf7d72c AM |
117 | 2005-05-11 Alan Modra <amodra@bigpond.net.au> |
118 | ||
119 | * ldgram.y: Add SPECIAL token. | |
120 | (sect_constraint): Handle SPECIAL. | |
121 | * ldlang.c (lang_output_section_find_1): Don't match SPECIAL. | |
122 | (map_input_to_output_sections): Likewise. | |
123 | * ldlex.l (SPECIAL): Define. | |
124 | * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT, | |
125 | GOT, PLT, GOTPLT): Define. | |
126 | * emultempl/ppc32elf.em (old_plt, old_got): New static vars. | |
127 | (ppc_after_open): New function. | |
128 | (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT. | |
129 | (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got". | |
130 | (PARSE_AND_LIST_OPTIONS): Document them. | |
131 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
132 | (LDEMUL_AFTER_OPEN): Define. | |
133 | * scripttempl/elf.sc (PLT): Don't override existing define. | |
134 | (DATA_GOT, SDATA_GOT): Define and use to enable alternate got | |
135 | placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW. | |
136 | ||
4ca02259 AM |
137 | 2005-05-10 Alan Modra <amodra@bigpond.net.au> |
138 | ||
139 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete. | |
140 | (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value. | |
141 | (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after | |
142 | DATA_SEGMENT_RELRO_END in script. | |
143 | ||
baf6e97f L |
144 | 2005-05-09 H.J. Lu <hongjiu.lu@intel.com> |
145 | ||
146 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): | |
147 | Don't use a removed section. | |
148 | ||
a6e1b90f L |
149 | 2005-05-09 H.J. Lu <hongjiu.lu@intel.com> |
150 | ||
151 | * ldmain.c (reloc_overflow): Use output_bfd if the symbol | |
152 | is defined in the ABS section. | |
153 | ||
c18bae34 L |
154 | 2005-05-06 H.J. Lu <hongjiu.lu@intel.com> |
155 | ||
156 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): | |
157 | Put back !link_info.relocatable. | |
158 | ||
4ef24a2e L |
159 | 2005-05-06 H.J. Lu <hongjiu.lu@intel.com> |
160 | ||
3f693ed5 | 161 | PR 878 |
4ef24a2e L |
162 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): |
163 | Just check link_info.executable. | |
164 | ||
e06fb9c3 NC |
165 | 2005-05-06 Nick Clifton <nickc@redhat.com> |
166 | ||
167 | * Update the address and phone number of the FSF organization in | |
168 | the GPL notices in the following files: | |
169 | aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c, | |
170 | ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c, | |
171 | ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h, | |
172 | ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h, | |
173 | ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h, | |
174 | sysdep.h, emultempl/aix.em, emultempl/alphaelf.em, | |
175 | emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em, | |
176 | emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em, | |
177 | emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em, | |
178 | emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em, | |
179 | emultempl/lnk960.em, emultempl/m68hc1xelf.em, | |
180 | emultempl/m68kcoff.em, emultempl/m68kelf.em, | |
181 | emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em, | |
182 | emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em, | |
183 | emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em, | |
184 | emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em, | |
185 | emultempl/vanilla.em, emultempl/xtensaelf.em | |
186 | ||
01d9ad14 L |
187 | 2005-05-05 H.J. Lu <hongjiu.lu@intel.com> |
188 | ||
189 | * scripttempl/elf.sc: Document the usage of __bss_start. | |
190 | ||
eac338cf PB |
191 | 2005-05-05 Paul Brook <paul@codesourcery.com> |
192 | ||
193 | * Makefile.am: Add eelf_i386_vxworks. | |
194 | * Makefile.in: Regenerate. | |
195 | * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks. | |
196 | * emulparams/elf_i386_vxworks.sh: New file. | |
197 | * emulparams/vxworks.sh: New file. | |
198 | * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME. | |
199 | ||
f652615e L |
200 | 2005-05-04 H.J. Lu <hongjiu.lu@intel.com> |
201 | ||
202 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): | |
203 | Call _bfd_elf_provide_section_bound_symbols. | |
204 | ||
8423293d AM |
205 | 2005-05-04 Alan Modra <amodra@bigpond.net.au> |
206 | ||
207 | * ldemul.c: Include bfdlink.h. | |
208 | (ldemul_before_allocation): Assume before_allocation is non-zero. | |
209 | (before_allocation_default): Call strip_excluded_output_sections. | |
210 | * ldlang.c (stripped_excluded_sections): New variable. | |
211 | (lang_add_section): Build input section list for each output | |
212 | section, attached via map_head and map_tail pointers. | |
213 | (strip_excluded_output_sections): Make global. Traverse the | |
214 | input section lists to find which output sections can go. Clear | |
215 | link_order pointers and set stripped_excluded_sections. | |
216 | (lang_process): Call strip_excluded_output_sections. | |
217 | * ldlang.h (strip_excluded_output_sections): Declare. | |
218 | * ldwrite.c: Update throuhout for link_order_head -> map_head change. | |
219 | * emultempl/aix.em (before_allocation): Call | |
220 | strip_excluded_output_sections. | |
221 | * emultempl/armcoff.em (before_allocation): Likewise. | |
222 | * emultempl/beos.em (before_allocation): Likewise. | |
223 | * emultempl/linux.em (before_allocation): Likewise. | |
224 | * emultempl/pe.em (before_allocation): Likewise. | |
225 | * emultempl/sunos.em (before_allocation): Likewise. | |
226 | * emultempl/elf32.em (before_allocation): Likewise. Call | |
227 | bfd_elf_size_dynsym_hash_dynstr too. | |
228 | * emultempl/lnk960.em (lnk960_before_allocation): Delete. | |
229 | (ld_lnk960): Use before_allocation_default. | |
230 | ||
5daa8fe7 L |
231 | 2005-05-02 H.J. Lu <hongjiu.lu@intel.com> |
232 | ||
233 | * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section): | |
234 | Updated for bfd_section_list_remove change. | |
235 | * ldlang.c (lang_insert_orphan): Likewise. | |
236 | (strip_excluded_output_sections): Likewise. | |
237 | (sort_sections_by_lma): New. | |
238 | (lang_check_section_addresses): Sort the sections before | |
239 | checking addresses. | |
240 | ||
009b6a7a DJ |
241 | 2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> |
242 | ||
243 | * configure.tgt: Add h8300*-*-rtemscoff. | |
244 | Switch h8300*-*-rtems* to elf. | |
245 | ||
279e75dc BE |
246 | 2005-04-29 Ben Elliston <bje@au.ibm.com> |
247 | ||
248 | * ldgram.y (lang_memory_region_type): Make static. | |
249 | (ldgram_want_filename): Likewise. | |
250 | * ldemul.c (ld_emulation): Make static. | |
251 | * ldfile.h (ldfile_find_command_file): Remove extern. | |
252 | * ldfile.c (ldfile_find_command_file): Make static. | |
253 | * ldlang.h (unique_section_list): Remove extern declaration. | |
254 | * ldlang.c (unique_section_list): Make static. | |
255 | * mri.h (symbol_truncate): Remove extern declaration. | |
256 | * mri.c (symbol_truncate): Make static. | |
257 | (order, only_load, address, alias): Likewise. | |
258 | (alignment, subalignment): Likewise. | |
259 | ||
4a2afbc1 L |
260 | 2005-04-27 H.J. Lu <hongjiu.lu@intel.com> |
261 | ||
262 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): | |
263 | Use the first SEC_ALLOC section which isn't SEC_READONLY or the | |
264 | last SEC_ALLOC section if such a section doesn't exist. | |
265 | ||
fd9719b1 MK |
266 | 2005-04-24 Mark Kettenis <kettenis@gnu.org> |
267 | ||
268 | * configure.host: Add *-*-openbsd support. | |
269 | ||
33bfe774 JB |
270 | 2005-04-15 Julian Brown <julian@codesourcery.com> |
271 | ||
272 | * ld.texinfo: Document --use-blx. | |
273 | * emultempl/armelf.em (use_blx): New variable. | |
274 | (arm_elf_create_output_section_statements): Communicate value of | |
275 | use_blx to bfd. | |
276 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX. | |
277 | (PARSE_AND_LIST_OPTIONS): Add --use-blx option. | |
278 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case. | |
279 | ||
9e9b66a9 AM |
280 | 2005-04-14 Alan Modra <amodra@bigpond.net.au> |
281 | ||
282 | * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. | |
283 | * configure.in: Include ../bfd/warning.m4 contents. | |
284 | * Makefile.in: Regenerate. | |
285 | * configure: Regenerate. | |
286 | ||
ceae3e33 AM |
287 | 2005-04-12 Alan Modra <amodra@bigpond.net.au> |
288 | ||
289 | * Makefile.am: Run "make dep-am". | |
290 | (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command. | |
291 | * Makefile.in: Regenerate. | |
292 | * config.in: Regenerate. | |
293 | ||
7cedef86 AM |
294 | 2005-04-11 Alan Modra <amodra@bigpond.net.au> |
295 | ||
296 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore | |
297 | as_needed libs that were not needed. | |
298 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
299 | ||
187ffe95 NC |
300 | 2005-04-07 Nick Clifton <nickc@redhat.com> |
301 | ||
302 | * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that | |
0cf7d72c | 303 | ldfile.h can use the lang_input_statement type. |
187ffe95 | 304 | |
72223188 JJ |
305 | 2005-04-06 Jakub Jelinek <jakub@redhat.com> |
306 | ||
307 | * ldlang.c: Formatting. | |
308 | (walk_wild_consider_section): Remember return value from wildcardp. | |
309 | (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen. | |
310 | (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen. | |
311 | ||
312 | 2005-04-06 Robert O'Callahan <rocallahan@novell.com> | |
313 | ||
314 | * ld.h (lean_section_userdata_type): Remove. | |
315 | (fat_section_userdata_type): Remove file field. | |
316 | (SECTION_USERDATA_SIZE): Remove. | |
317 | * ldlang.c (init_os): Eliminate initialization of unused | |
318 | lean_section_userdata_type. | |
319 | ||
320 | * ldlang.h (callback_t, walk_wild_section_handler_t): New | |
321 | typedefs. | |
322 | (struct lang_wild_statement_struct): Add walk_wild_section_handler | |
323 | and handler_data fields. | |
324 | * ldlang.c (callback_t): Removed. | |
325 | (walk_wild_consider_section, walk_wild_section_general, | |
326 | section_iterator_callback, find_section, is_simple_wild, | |
327 | match_simple_wild, walk_wild_section_specs1_wild0, | |
328 | walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1, | |
329 | walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2, | |
330 | wild_spec_can_overlap, analyze_walk_wild_section_handler): New | |
331 | functions. | |
332 | (lang_add_wild): Call analyze_walk_wild_section_handler. | |
333 | (walk_wild_section): Renamed to walk_wild_section_general and | |
334 | created a wrapper function. | |
335 | (section_iterator_callback_data): New typedef. | |
336 | ||
34875e64 NC |
337 | 2005-04-04 Nick Clifton <nickc@redhat.com> |
338 | ||
339 | * configure.in: Add a check for <unistd.h> providing a prototype | |
340 | for getopt() which is compatible with the one in | |
341 | include/getopt.h. If so then define HAVE_DECL_GETOPT. | |
342 | * configure: Regenerate. | |
343 | * config.in (HAVE_DECL_GETOPT): Add. | |
344 | * ldemul.c: Include config.h | |
345 | * lexsup.c: Likewise. | |
346 | * emultempl/elf32.sc: Likewise. | |
347 | ||
deb04cdb AM |
348 | 2005-03-29 Alan Modra <amodra@bigpond.net.au> |
349 | ||
350 | * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again): | |
351 | New function, extracted from static void gld${EMULATION_NAME}_finish. | |
352 | (gld${EMULATION_NAME}_strip_empty_sections): Likewise. | |
353 | (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise. | |
354 | * emultempl/ppc64elf.em: Revert last change. | |
355 | (ppc_layout_sections_again): Use | |
356 | gld${EMULATION_NAME}_layout_sections_again. | |
357 | (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call | |
358 | gld${EMULATION_NAME}_strip_empty_sections and | |
359 | gld${EMULATION_NAME}_provide_init_fini_syms. | |
360 | * emultempl/hppaelf.em: Similarly. | |
361 | ||
8b4e5e28 AM |
362 | 2005-03-29 Alan Modra <amodra@bigpond.net.au> |
363 | ||
364 | * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs. | |
365 | (ppc_finish): Don't call bfd_elf_discard_info. | |
366 | * emultempl/hppaelf.em: Similarly. | |
367 | ||
510a939b NC |
368 | 2005-03-24 Nick Clifton <nickc@redhat.com> |
369 | ||
370 | * po/fr.po: Updated French translation. | |
371 | ||
ed84e695 NC |
372 | 2005-03-23 Mike Frysinger <vapier@gentoo.org> |
373 | Nick Clifton <nickc@redhat.com> | |
374 | ||
375 | * configure.host: Accept any C library to accompany a GNU Linux | |
376 | implementation, not just the GNU C library. | |
377 | * configure.tgt: Likewise. | |
378 | * emultempl/elf32.em: Likewise. | |
deb04cdb | 379 | |
81e1b023 L |
380 | 2005-03-22 H.J. Lu <hongjiu.lu@intel.com> |
381 | ||
382 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New | |
383 | (gld${EMULATION_NAME}_finish): Call | |
384 | gld${EMULATION_NAME}_provide_bound_symbols to provide | |
385 | __preinit_array_start, __preinit_array_end, __init_array_start, | |
386 | __init_array_end, __fini_array_start and __fini_array_end. | |
387 | ||
388 | * scripttempl/elf.sc: Don't provide __preinit_array_start, | |
389 | __preinit_array_end, __init_array_start, __init_array_end, | |
390 | __fini_array_start nor __fini_array_end. | |
391 | ||
11d2f718 AM |
392 | 2005-03-23 Alan Modra <amodra@bigpond.net.au> |
393 | ||
394 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set | |
395 | SEC_EXCLUDE on .gnu.warning sections. | |
396 | ||
644285ef AM |
397 | 2005-03-22 Alan Modra <amodra@bigpond.net.au> |
398 | ||
399 | * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms. | |
400 | ||
c9a2f333 AM |
401 | 2005-03-21 Alan Modra <amodra@bigpond.net.au> |
402 | ||
403 | * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New | |
404 | function. | |
405 | (LDEMUL_AFTER_ALLOCATION): Define. | |
406 | ||
b1ab9777 AM |
407 | 2005-03-21 Alan Modra <amodra@bigpond.net.au> |
408 | ||
409 | * emultempl/ppc64elf.em (ppc_finish): Rename from | |
410 | gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. | |
411 | (LDEMUL_FINISH): Update. | |
412 | * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. | |
413 | * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. | |
414 | ||
2a2a7c94 JB |
415 | 2005-03-18 Julian Brown <julian@codesourcery.com> |
416 | ||
417 | * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array, | |
418 | .rel.fini_array. | |
419 | (.rela.dyn): Add .rela.init_array, .rela.fini_array. | |
420 | (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs. | |
421 | ||
98720c64 L |
422 | 2005-03-18 H.J. Lu <hongjiu.lu@intel.com> |
423 | ||
424 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set | |
425 | bfd_section when removing unused empty output sections for | |
426 | non-relocatable link. | |
427 | ||
41c7ba7c AM |
428 | 2005-03-19 Alan Modra <amodra@bigpond.net.au> |
429 | ||
430 | * ldlang.c (lang_insert_orphan): Use old section_tail rather than | |
431 | traversing the bfd section list to find pointer to new section. | |
432 | ||
0fb53118 AM |
433 | 2005-03-18 Alan Modra <amodra@bigpond.net.au> |
434 | ||
435 | * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2 | |
436 | input sections into .sdata and .sbss output respectively. | |
437 | ||
de7f8cc8 BW |
438 | 2005-03-16 David Heine <dlheine@tensilica.com> |
439 | Bob Wilson <bob.wilson@acm.org> | |
440 | ||
441 | * ldlang.c (IGNORE_SECTION): Remove check for zero size. | |
442 | (lang_check_section_addresses): Ignore zero size sections here. | |
443 | ||
57316bff L |
444 | 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> |
445 | ||
446 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove | |
447 | unused empty output sections for non-relocatable link. | |
448 | ||
449 | * ld.h (args_type): Remove gc_sections. | |
450 | ||
451 | * ldlang.c (lang_mark_used_section): New. | |
452 | (lang_gc_sections): Use link_info.gc_sections instead of | |
453 | command_line.gc_sections. | |
454 | * ldmain.c (main): Likewise. | |
455 | * lexsup.c (parse_args): Likewise. | |
456 | * ldlang.c (lang_process): Call lang_mark_used_section. | |
457 | ||
458 | * ldmain.c (main): Initialize link_info.gc_sections to FALSE. | |
459 | ||
1ad12f97 NC |
460 | 2005-03-16 Nick Clifton <nickc@redhat.com> |
461 | Ben Elliston <bje@au.ibm.com> | |
462 | ||
569acd2c | 463 | * configure.in (werror): New switch: Add -Werror to the |
1ad12f97 | 464 | compiler command line. Enabled by default. Disable via |
569acd2c | 465 | --disable-werror. |
1ad12f97 NC |
466 | * configure: Regenerate. |
467 | ||
cb2d1ef2 AM |
468 | 2005-03-16 Alan Modra <amodra@bigpond.net.au> |
469 | ||
470 | * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete. | |
471 | (OTHER_RELRO_SECTIONS): Set this instead. | |
472 | ||
957d91c1 NC |
473 | 2005-03-15 Nick Clifton <nickc@redhat.com> |
474 | ||
475 | * NEWS: Add cutoff for changes in 2.16 release. | |
476 | ||
34723071 NC |
477 | 2005-03-15 Mikkel Krautz <krautz@gmail.com> |
478 | ||
479 | * configure.tgt (x86_64-elf): Add target. | |
480 | ||
729ae8d2 AM |
481 | 2005-03-15 Alan Modra <amodra@bigpond.net.au> |
482 | ||
483 | * po/es.po: Commit new Spanish translation. | |
484 | ||
8b3d8fa8 AM |
485 | 2005-03-14 Alan Modra <amodra@bigpond.net.au> |
486 | ||
487 | * ldexp.c (exp_fold_tree): Ensure return value is initialized. | |
488 | Tidy etree_assert case. | |
489 | ||
882cb63e AM |
490 | 2005-03-14 Alan Modra <amodra@bigpond.net.au> |
491 | ||
492 | * po/tr.po: Commit new Turkish translation. | |
493 | ||
61c84b48 DJ |
494 | 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com> |
495 | ||
496 | * Makefile.am: Remove references to em68klynx.o and esparclynx.o. | |
497 | * Makefile.in: Regenerated. | |
498 | * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove. | |
499 | ||
41c9e29d NC |
500 | 2005-03-07 Nick Clifton <nickc@redhat.com> |
501 | ||
502 | * po/fr.po: Updated translation. | |
503 | ||
06647dfd AM |
504 | 2005-03-05 Alan Modra <amodra@bigpond.net.au> |
505 | ||
506 | * po/ld.pot: Regenerate. | |
507 | ||
bb14f524 JB |
508 | 2005-03-02 Jan Beulich <jbeulich@novell.com> |
509 | ||
510 | * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. | |
511 | * pe-dll.c (pe_dll_generate_implib): Likewise. | |
512 | ||
0ef622cb BE |
513 | 2005-02-24 Ben Elliston <bje@au.ibm.com> |
514 | ||
515 | * ldfile.c: Remove GNU960 conditional code. | |
516 | * emultempl/gld960.em: Likewise. | |
517 | * emultempl/gld960c.em: Likewise. | |
518 | * emultempl/lnk960.em: Likewise. | |
519 | ||
f3f4bcca NC |
520 | 2005-02-24 Nick Clifton <nickc@redhat.com> |
521 | ||
522 | * emultempl/lnk960.em (lnk960_before_parse): Remove redundant | |
523 | empty string from calls to concat. | |
524 | ||
525 | 2005-02-23 Nick Clifton <nickc@redhat.com> | |
526 | ||
527 | * emultempl/lnk960.em (lnk960_before_parse): Terminate list of | |
528 | arguments passed to concat() with a NULL. | |
529 | ||
530 | * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they | |
531 | define types needed by ldfile.h | |
532 | ||
47639182 AM |
533 | 2005-02-23 Alan Modra <amodra@bigpond.net.au> |
534 | ||
535 | * pe-dll.c: Warning fixes. | |
536 | * emultempl/sunos.em: Likewise. | |
537 | ||
ace66bb2 DJ |
538 | 2005-02-22 Daniel Jacobowitz <dan@codesourcery.com> |
539 | ||
540 | * ldlang.c (section_already_linked): Don't call | |
541 | bfd_section_already_linked for dynamic objects. | |
542 | ||
5718918d AM |
543 | 2005-02-22 Alan Modra <amodra@bigpond.net.au> |
544 | ||
545 | * ldexp.c: Warning fixes. | |
546 | * ldwrite.c: Likewise. | |
547 | * emultempl/elf32.em: Likewise. | |
548 | ||
ebe372c1 L |
549 | 2005-02-21 H.J. Lu <hongjiu.lu@intel.com> |
550 | ||
551 | * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI | |
552 | tic54x input only. | |
553 | (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF | |
554 | and ECOFF output only. | |
555 | ||
0ca2f5d5 AM |
556 | 2005-02-21 Alan Modra <amodra@bigpond.net.au> |
557 | ||
558 | * config.in: Regenerate. | |
559 | * configure: Regenerate. | |
560 | ||
fbbb9ac5 ZW |
561 | 2005-02-17 Zack Weinberg <zack@codesourcery.com> |
562 | ||
563 | * ldexp.c (assigning_to_dot): New global flag. | |
564 | (fold_name): If assigning_to_dot is true, object immediately to | |
565 | an undefined symbol. | |
566 | (exp_fold_tree): Set and clear assigning_to_dot around the | |
567 | recursive call to exp_fold_tree to process the right-hand side | |
568 | of an assignment to the location counter. | |
569 | ||
c68dac40 PB |
570 | 2005-02-17 Paul Brook <paul@codesourcery.com> |
571 | ||
572 | * scripttempl/armbpabi.sc: Add dummy name to version block. | |
573 | ||
20c2cbe3 AM |
574 | 2005-02-17 Alan Modra <amodra@bigpond.net.au> |
575 | ||
576 | * ldexp.c (new_abs): Init new.str. | |
577 | ||
0b48acfe MM |
578 | 2005-02-15 Mark Mitchell <mark@codesourcery.com> |
579 | ||
580 | * configure.in (AC_CHECK_FUNCS): Add glob. | |
581 | * configure: Regenerated. | |
582 | * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is | |
583 | not defined. | |
584 | (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob | |
585 | if HAVE_GLOB is not defined. | |
fbbb9ac5 | 586 | |
ff925e69 KK |
587 | 2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
588 | ||
589 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define | |
590 | lib_path if NATIVE is yes. | |
591 | ||
92b7a70f AM |
592 | 2005-02-16 Alan Modra <amodra@bigpond.net.au> |
593 | ||
594 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make | |
595 | an error creating fake bfd fatal. | |
596 | (ppc_before_allocation): Continue on after errors. | |
597 | (gld${EMULATION_NAME}_finish): Likewise. | |
598 | ||
297ba367 NC |
599 | 2005-02-15 Nick Clifton <nickc@redhat.com> |
600 | ||
601 | * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is | |
602 | not declared. It is not used and its presence causes a compile | |
603 | time warning. | |
fbbb9ac5 | 604 | |
9eabd475 ZW |
605 | 2005-02-11 Zack Weinberg <zack@codesourcery.com> |
606 | ||
607 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): | |
608 | If st.st_ino is zero, do not treat the library as a duplicate. | |
609 | ||
d457dcf6 JJ |
610 | 2005-02-10 Jakub Jelinek <jakub@redhat.com> |
611 | ||
612 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
613 | Set BFD_LINKER_CREATED on the stubs bfd. | |
614 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): | |
615 | Likewise. | |
616 | ||
4e5db43b MM |
617 | 2005-02-08 Mark Mitchell <mark@codesourcery.com> |
618 | ||
619 | * scripttempl/armbpabi.sc (VERSION): Make special section symbols | |
9eabd475 | 620 | local. |
4e5db43b MM |
621 | (Image$$ER_RO$$Base): Define whenever RELOCATING. |
622 | (Image$$ER_RO$$Limit): Likewise. | |
623 | (SHT$$INIT_ARRAY$$Base): Likewise. | |
624 | (SHT$$INIT_ARRAY$$Limit): Likeise. | |
625 | ||
4297f9f1 BE |
626 | 2005-02-10 Ben Elliston <bje@au.ibm.com> |
627 | ||
628 | * emultempl/beos.em: Remove #if 0 and #if 1 blocks. | |
629 | ||
1c7c5e5b RS |
630 | 2005-02-08 Richard Sandiford <rsandifo@redhat.com> |
631 | ||
632 | * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath | |
633 | to include o32 and n64 emulations. | |
634 | (mips64*-*-linux-gnu*): Likewise. | |
635 | ||
300475fe HPN |
636 | 2005-02-08 Hans-Peter Nilsson <hp@axis.com> |
637 | ||
638 | * ldmain.c (warning_callback, warning_find_reloc): Prepend | |
639 | "warning: " to warning messages. | |
640 | ||
4ea42fb7 AM |
641 | 2005-02-04 Alan Modra <amodra@bigpond.net.au> |
642 | ||
643 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't | |
644 | look up symbol for etree_provide here. | |
645 | ||
161f49a3 DJ |
646 | 2005-02-02 Daniel Jacobowitz <dan@codesourcery.com> |
647 | ||
648 | * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set. | |
649 | ||
73ae6183 NC |
650 | 2005-02-01 Edward Welbourne <eddy@opera.com> |
651 | Nick Clifton <nickc@redhat.com> | |
652 | ||
653 | * ld.texinfo (Source Code Reference): New node describing how to | |
654 | access linker script defined variables from source code. | |
655 | ||
77cfaee6 AM |
656 | 2005-02-01 Alan Modra <amodra@bigpond.net.au> |
657 | ||
658 | * ld.texinfo: Clarify --as-needed operation. | |
659 | ||
c46f8c51 AC |
660 | 2005-01-31 Andrew Cagney <cagney@gnu.org> |
661 | ||
662 | * configure: Regenerate to track ../gettext.m4. | |
663 | ||
d342277e NC |
664 | 2005-01-31 Nick Clifton <nickc@redhat.com> |
665 | ||
666 | * ldver.c (ldversion): Bump reported copyright date to 2005. | |
667 | ||
d6486796 NC |
668 | 2005-01-31 Nick Clifton <nickc@redhat.com> |
669 | ||
670 | * configure.tgt: Remove obsolete targets m68k-lynxos and | |
671 | sparc-lynxos. | |
672 | ||
319850b4 JB |
673 | 2005-01-28 Julian Brown <julian@codesourcery.com> |
674 | ||
675 | * emultempl/armelf.em (fix_v4bx): New variable. | |
676 | (arm_elf_create_output_section_statements): Communicate fix_v4bx flag | |
677 | value to bfd. | |
678 | (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX. | |
679 | (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx. | |
680 | (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx. | |
9eabd475 | 681 | (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX. |
319850b4 JB |
682 | * NEWS: Mention --fix-v4bx. |
683 | * ld.texinfo: Document --fix-v4bx. | |
684 | ||
dc4c9c19 MM |
685 | 2005-01-25 Mark Mitchell <mark@codesourcery.com> |
686 | ||
687 | * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so | |
688 | as to include .ARM.exidx$${Base,Limit}. | |
689 | * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment. | |
690 | Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}. | |
691 | Put .init_array, .fini_array, etc. into the read-only data | |
9eabd475 ZW |
692 | segment. |
693 | ||
7e9f0867 AM |
694 | 2005-01-25 Alan Modra <amodra@bigpond.net.au> |
695 | ||
696 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting. | |
697 | (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were | |
698 | only needed by an as-needed lib that didn't get linked. | |
699 | ||
7e69709c AM |
700 | 2005-01-23 Alan Modra <amodra@bigpond.net.au> |
701 | ||
702 | * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct | |
703 | __DTOR_LIST__ description. | |
704 | ||
b5666f2f AM |
705 | 2005-01-23 Alan Modra <amodra@bigpond.net.au> |
706 | ||
707 | * ld.texinfo (Location Counter <dot outside sections>): Document | |
708 | effects of orphan section placement, and ". = ." workaround. | |
709 | * Makefile.in: Regenerate. | |
710 | ||
4e25343c RS |
711 | 2005-01-22 Richard Sandiford <rsandifo@redhat.com> |
712 | ||
713 | * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;". | |
714 | * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise. | |
715 | ||
b717d30e JJ |
716 | 2005-01-21 Jakub Jelinek <jakub@redhat.com> |
717 | ||
718 | * ldgram.y (AS_NEEDED): New token. | |
719 | (input_list): Handle AS_NEEDED ( input_list ). | |
720 | * ldlex.l (AS_NEEDED): Add. | |
721 | * ld.texinfo: Document AS_NEEDED (). | |
722 | * NEWS: Mention AS_NEEDED (). | |
723 | ||
7a64f7b8 BE |
724 | 2005-01-21 Ben Elliston <bje@au.ibm.com> |
725 | ||
726 | * ldlang.c (lang_reasonable_defaults): Remove. | |
727 | (lang_process): Don't call lang_reasonable_defaults. | |
728 | ||
729 | * ldexp.c (exp_assop): Remove #if 0'd code. | |
730 | (exp_print_tree): Likewise. | |
731 | * ldlang.c (lang_memory_region_lookup): Likewise. | |
732 | (open_output): Likewise. | |
733 | (lang_do_assignments_1): Likewise. | |
734 | (lang_place_orphans): Likewise. | |
735 | (lang_enter_output_section_statement): Likewise. | |
736 | (lang_reasonable_defaults): Likewise. | |
737 | * ldlang.h (struct lang_input_statement_struct): Likewise. | |
738 | * mri.c (mri_draw_tree): Likewise. | |
739 | (mri_load): Likewise. | |
740 | * pe-dll.c (generate_reloc): Likewise. | |
741 | (make_import_fixup_entry): Likewise. | |
742 | (pe_as16): Likewise. | |
743 | * emultempl/beos.em (set_pe_subsystem): Likewise. | |
744 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. | |
745 | * emultempl/pe.em: Likewise. | |
746 | * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. | |
747 | ||
a154a8ad MM |
748 | 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
749 | ||
750 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. | |
751 | (earmelfb_linux_eabi.c): New target. | |
752 | * Makefile.in: Regenerated. | |
753 | * configure.tgt (arm*b-*-linux-gnueabi): New target. | |
754 | * emulparams/armelfb_linux_eabi.sh: New file. | |
755 | ||
9c183183 AM |
756 | 2005-01-20 Nick Hudson <skrll@netbsd.org> |
757 | ||
758 | PR ld/676 | |
759 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
760 | Handle bfd_elf32_hppa_nbsd_vec. | |
761 | ||
e2243057 RS |
762 | 2005-01-19 Richard Sandiford <rsandifo@redhat.com> |
763 | ||
764 | * ldmain.h (ld_sysroot): Change type to a constant string. | |
765 | * ldmain.c (ld_sysroot): Likewise. | |
766 | (get_relative_sysroot, get_sysroot): New functions, adding command-line | |
767 | support for changing the sysroot. | |
768 | (main): Call the new functions. | |
769 | * lexsup.c (OPTION_SYSROOT): New. | |
770 | (ld_options): Add --sysroot. | |
771 | (parse_args): Add a dummy handler for it. | |
772 | * ld.texinfo (--sysroot): Document. | |
773 | * NEWS: Mention the new --sysroot option. | |
774 | ||
1449d79b AM |
775 | 2005-01-18 Alan Modra <amodra@bigpond.net.au> |
776 | ||
777 | * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. | |
778 | (lang_place_orphans): Don't abort on just_syms_flag, instead call | |
779 | bfd_link_just_syms. | |
780 | ||
a880c748 DS |
781 | 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> |
782 | ||
783 | * defilep.y (def_name, def_library): Combine into... | |
784 | (def_image_name): New function. Strip name to basename, | |
785 | with warning. | |
786 | ||
07baa8ee MK |
787 | 2005-01-12 Mark Kettenis <kettenis@gnu.org> |
788 | ||
789 | * configure.in: Be sure to invoke config.sub using the shell. | |
790 | * configure: Regenerate. | |
791 | ||
e9b181b8 AM |
792 | 2005-01-11 Alan Modra <amodra@bigpond.net.au> |
793 | ||
794 | * configure.host: Correct sed patterns for last change. | |
795 | ||
59ef2528 NC |
796 | 2005-01-10 Nick Clifton <nickc@redhat.com> |
797 | ||
798 | PR binutils/609 | |
799 | * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this | |
800 | to determine whether config.make_executable should be set to FALSE in | |
801 | conjunction with config.fatal_warnings. | |
802 | (info_msg, minfo, lfinof): Pass FALSE as the extra argument. | |
803 | (einfo): Pass TRUE as the extra argument. | |
804 | ||
71a2d53a NC |
805 | 2005-01-10 Greg Schaffer <gschafer@zip.com.au> |
806 | ||
807 | * configure.host (linux targets): Use "${CC} -dumpspecs" instead | |
808 | of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. | |
809 | (ia64-*-aix): Delete - this target is obsolete, and would be | |
810 | broken by this patch. | |
811 | ||
d6d0b336 EB |
812 | 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
813 | ||
814 | * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. | |
815 | (sparc64-sun-solaris2*): New host. | |
816 | ||
4e7fd91e PB |
817 | 2005-01-06 Paul Brook <paul@codesourcery.com> |
818 | ||
819 | * Makefie.am: Add earmelf_vxworks. | |
820 | * Makefile.in: Regenerate. | |
821 | * configure.tgt: Make arm-*-vxworks a separate case. | |
822 | * emulparams/armelf_vxworks.sh: New function. | |
823 | ||
4c52953f AM |
824 | 2005-01-06 Alan Modra <amodra@bigpond.net.au> |
825 | ||
826 | * emultempl/ppc64elf.em (no_multi_toc): New var. | |
827 | (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. | |
828 | (OPTION_NO_MULTI_TOC): Define. | |
829 | (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. | |
830 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. | |
831 | ||
98d87ee7 NC |
832 | 2005-01-05 Nick Clifton <nickc@redhat.com> |
833 | ||
834 | PR binutils/614 | |
835 | * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding | |
4c52953f | 836 | Standard's specification for parsable error messages. |
98d87ee7 | 837 | |
5f81b918 PB |
838 | 2005-01-04 Paul Brook <paul@codesourcery.com> |
839 | ||
840 | * Makefile.am: Correct dependency for earmsymbian.c. | |
841 | * Makefile.in: Regenerate. | |
842 | ||
2af59bab DS |
843 | 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net> |
844 | ||
845 | * emultempl/pe.em (set_pe_subsystem): Change second arg to | |
846 | lang_add_entry to FALSE. | |
847 | ||
c38f024c NC |
848 | 2004-12-23 Nick Clifton <nickc@redhat.com> |
849 | ||
850 | PR 600 | |
851 | * emulparams/shelf.sh (.stack): Increase stack start address to | |
852 | 0x300000. | |
853 | ||
550bdea6 NC |
854 | 2004-12-20 Nick Clifton <nickc@redhat.com> |
855 | ||
856 | * ldmain.c (main): Issue an error message if -static and -shared | |
857 | are used together. | |
858 | ||
e3070fef JJ |
859 | 2004-12-17 Jakub Jelinek <jakub@redhat.com> |
860 | ||
861 | * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields. | |
862 | * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them. | |
863 | * ldlang.c (lang_size_sections): Use them to avoid wasting virtual | |
864 | address space at DATA_SEGMENT_ALIGN. Fix computation of expected | |
865 | PT_GNU_RELRO segment end. | |
866 | ||
2fbd2a87 NC |
867 | 2004-12-14 P.J. Darcy <darcypj@us.ibm.com> |
868 | ||
869 | * configure.tgt: Add s390x-ibm-tpf support. | |
870 | ||
f2763b01 NC |
871 | 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at> |
872 | ||
873 | * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL | |
874 | BFD. | |
875 | ||
cb9faf63 BE |
876 | 2004-12-07 Ben Elliston <bje@gnu.org> |
877 | ||
878 | * ldemul.h: Forward declare struct option. | |
879 | ||
02f80eef DS |
880 | 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net> |
881 | ||
882 | * scripttempl/pe.sc (.data): Add .jcr subsection. | |
883 | ||
dea514f5 PB |
884 | 2004-11-30 Paul Brook <paul@codesourcery.com> |
885 | ||
886 | * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge. | |
887 | ||
32118081 NC |
888 | 2004-11-30 Tero Niemela <tero_niemela@yahoo.com> |
889 | ||
890 | * Makefile.am: Change LOCALEDIR to $(datadir)/share. | |
891 | * Makefile.in: Regenerate. | |
892 | ||
33f362e1 NC |
893 | 2004-11-26 Melissa Mears <asterisk@graces.dricas.com> |
894 | ||
895 | * emultempl/pe.em: Add --subsystem:xbox as well as | |
896 | --subsystem:%d. | |
897 | * ld.texinfo: (ld_options): Document acceptance of subsystem xbox | |
898 | and numeric subsystems. | |
899 | ||
3eda52aa AM |
900 | 2004-11-24 Alan Modra <amodra@bigpond.net.au> |
901 | ||
902 | * ldexp.c (fold_name): Correct PR 338 fix. | |
903 | ||
6b3221b4 MM |
904 | 2004-11-19 Mark Mitchell <mark@codesourcery.com> |
905 | ||
906 | * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. | |
907 | (earmelf_linux_eabi.c): New target. | |
908 | * configure.tgt (arm*-*-linux-gnueabi): Handle it. | |
909 | * emulparams/armelf_linux_eabi.sh: New file. | |
910 | * Makefile.in: Regenerated. | |
911 | ||
9cd6d51a NC |
912 | 2004-11-19 Nick Clifton <nickc@redhat.com> |
913 | ||
914 | PR 518 | |
915 | * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and | |
916 | LENGTH fields in the MEMORY command, to explicitly state that | |
917 | symbols cannot be used in their expressions. | |
918 | ||
3ec57632 NC |
919 | 2004-11-19 Jon Beniston <jon@beniston.com> |
920 | ||
921 | * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION. | |
922 | * ld/ldgram.y: Add ORIGIN and LENGTH expressions. | |
4c52953f | 923 | * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions |
3ec57632 NC |
924 | which return the length and origin of a memory. |
925 | * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions. | |
926 | * NEWS: Mention support for ORIGIN and LENGTH operators. | |
927 | ||
b7693d02 DJ |
928 | 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> |
929 | ||
930 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use | |
931 | a dynamic object for stubs. | |
932 | ||
fc0e6df6 PB |
933 | 2004-11-04 Paul Brook <paul@codesourcery.com> |
934 | ||
935 | * ld.texinfo: Document --default-imported-symver. | |
936 | * ldmain.c (main): Set link_info.default_imported_symver. | |
937 | * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. | |
938 | (ld_options): Add --default-imported-symver. | |
939 | (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER. | |
940 | ||
7499d566 NC |
941 | 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> |
942 | Vineet Sharma <vineets@noida.hcltech.com> | |
943 | ||
944 | * Makefile.am: Add entries for new maxq-coff target. | |
945 | * Makefile.in: Regenerate. | |
946 | * configure.tgt: Add support for maxq. | |
947 | * emulparams/maxqcoff.sh: New File. | |
948 | * scripttempl/maxqcoff.sc: New linker script for target maxq. | |
949 | * NEWS: Mention the new target. | |
950 | ||
7f266840 DJ |
951 | 2004-11-04 Daniel Jacobowitz <dan@debian.org> |
952 | ||
953 | * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. | |
954 | (earmelf_oabi.c): Remove rule. | |
955 | * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. | |
956 | * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. | |
957 | * Makefile.in: Regenerated. | |
958 | ||
a0055007 HPN |
959 | 2004-11-04 Hans-Peter Nilsson <hp@axis.com> |
960 | ||
961 | * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout. | |
962 | * emulparams/criself.sh (INIT_START): Remove emitted "push srp". | |
963 | (FINI_START): Ditto. | |
964 | (INIT_END): Remove emitted "jump [sp+]". | |
965 | (FINI_END): Ditto. | |
966 | ||
c5614fa4 AM |
967 | 2004-11-04 Alan Modra <amodra@bigpond.net.au> |
968 | ||
969 | * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt. | |
970 | (no_opd_opt, no_toc_opt): New static vars. | |
971 | (ppc_before_allocation): Don't edit opt if no_opd_opt. Call | |
972 | ppc64_elf_edit_toc. | |
973 | (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define. | |
974 | (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize. | |
975 | (PARSE_AND_LIST_OPTIONS): Describe new options. | |
976 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
977 | ||
7a5df8d0 NC |
978 | 2004-10-27 Nick Clifton <nickc@redhat.com> |
979 | ||
980 | * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, | |
981 | parameter to invocation of lang_section_start. | |
982 | * emultempl/aix.em (_handle_option): Likewise. | |
c5614fa4 | 983 | |
7a5df8d0 NC |
984 | * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, |
985 | eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. | |
986 | * Makefile.in: Regenerate. | |
987 | ||
6f372e19 MM |
988 | 2004-10-26 Mark Mitchell <mark@codesourcery.com> |
989 | ||
990 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit | |
991 | __exidx_{start,end} when not relocating. | |
992 | ||
ba916c8a MM |
993 | 2004-10-25 Mark Mitchell <mark@codesourcery.com> |
994 | ||
995 | * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc. | |
996 | * ldexp.h (segment_type): New type. | |
997 | (segments): New variable. | |
998 | * ldexp.c (segments): New variable. | |
999 | (exp_print_token): Handle SEGMENT_START. | |
1000 | (fold_binary): Likewise. | |
1001 | * ldgram.y (SEGMENT_START): Declare it as a token. | |
1002 | (exp): Handle SEGMENT_START. | |
1003 | * ldlang.h (lang_address_statement_type): Add segment field. | |
1004 | (lang_section_start): Change prototype. | |
1005 | * ldlang.c (map_input_to_output_sections): Do not process section | |
1006 | assignments if a corresponding SEGMENT_START has already been | |
1007 | seen. | |
1008 | (lang_section_start): Add segment parameter. | |
1009 | * ldlex.l (SEGMENT_START): Add it. | |
1010 | * lexsup.c (seg_segment_start): New function. | |
1011 | (parse_args): Use it for -Tbss, -Tdata, and -Ttext. | |
1012 | * ld.texinfo (SEGMENT_START): Document it. | |
1013 | * emulparams/armsymbian.sh (EMBEDDED): Set it. | |
1014 | * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment | |
1015 | base addresses. Do not map relocations. | |
1016 | * NEWS: Mention SEGMENT_START. | |
1017 | ||
3e3b46e5 PB |
1018 | 2004-10-26 Paul Brook <paul@codesourcery.com> |
1019 | ||
1020 | * ld.texinfo: Document --default-symver. | |
1021 | * ldmain.c (main): Set link_info.create_default_symver. | |
1022 | * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. | |
1023 | (ld_options): Add default-symver. | |
1024 | (parse_args): Handle OPTION_DEFAULT_SYMVER. | |
1025 | ||
7b0eaa22 DS |
1026 | 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net> |
1027 | ||
1028 | * pe-dll.c (process_def_file): Don't export all symbols by default if | |
1029 | building a position-independent executable. | |
1030 | ||
dfeffb9f L |
1031 | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
1032 | ||
1033 | PR 463 | |
1034 | * ldmain.c (reloc_overflow): Accept a pointer to struct | |
1035 | bfd_link_hash_entry. Report symbol location for relocation | |
1036 | overflow. | |
1037 | ||
dc4f76f8 L |
1038 | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
1039 | ||
1040 | * genscripts.sh (libpath.exp): Really generate for first | |
1041 | emulation only. | |
1042 | ||
2a08daf3 DS |
1043 | 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net> |
1044 | ||
1045 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify | |
1046 | comparison and replacement of filenames. | |
1047 | ||
532345f2 L |
1048 | 2004-10-19 H.J. Lu <hongjiu.lu@intel.com> |
1049 | ||
1050 | PR 459 | |
1051 | * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic | |
1052 | option on linker script as the one for linker script. | |
1053 | ||
b58f81ae DJ |
1054 | 2004-10-16 Daniel Jacobowitz <dan@debian.org> |
1055 | ||
1056 | * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) | |
1057 | (check_excluded_libs): New. | |
1058 | (load_symbols): Call check_excluded_libs. | |
1059 | * ldlang.h (add_excluded_libs): New prototype. | |
1060 | * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. | |
1061 | (gld${EMULATION_NAME}_add_options): Add --exclude-libs. | |
1062 | (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. | |
1063 | * ld.texinfo (Command Line Variables): Document --exclude-libs. | |
1064 | (Options Specific to i386 PE Targets): Remove --exclude-libs. | |
1065 | ||
95c148b4 AM |
1066 | 2004-10-15 Alan Modra <amodra@bigpond.net.au> |
1067 | ||
c468c8bc AM |
1068 | * ldexp.c (exp_fold_tree): Don't immediately exit ld on a |
1069 | failing link script assert. | |
1070 | ||
95c148b4 AM |
1071 | * ldctor.c (ldctor_add_set_entry): Fix comment typo. |
1072 | ||
951e9133 L |
1073 | 2004-10-14 H.J. Lu <hongjiu.lu@intel.com> |
1074 | ||
1075 | PR 445 | |
1076 | * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. | |
1077 | (SMALL_DATA_DTOR): Set. | |
1078 | * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. | |
1079 | (SMALL_DATA_DTOR): Unset. | |
1080 | * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors | |
1081 | after .data. If SMALL_DATA_DTOR is set, move .dtors after | |
1082 | .data. | |
1083 | ||
afd7a018 AM |
1084 | 2004-10-14 Alan Modra <amodra@bigpond.net.au> |
1085 | ||
1086 | PR 63 | |
1087 | * ldlang.h (lang_output_section_statement_type): Make "next" a | |
1088 | struct lang_output_section_statement_struct *. | |
1089 | (struct orphan_save): Move from elf32.em. Add "name" and "flags". | |
1090 | (lang_output_section_find_by_flags, lang_insert_orphan): Declare. | |
1091 | * ldlang.c (lang_output_section_find_1): Adjust for changed | |
1092 | output_section_statement "next". | |
1093 | (strip_excluded_output_sections): Likewise. | |
1094 | (lang_record_phdrs): Likewise. | |
1095 | (lang_output_section_find_by_flags): New function. | |
1096 | (output_prev_sec_find): Move from pe.em. Adjust iterator. | |
1097 | (lang_insert_orphan): New function. Tail end of elf32.em's | |
1098 | place_orphan merged with that from pe.em. Allow bfd_section to | |
1099 | be placed first. New heuristic for placing new output section | |
1100 | statement in existing script, and accompanying split of __start | |
1101 | symbol alignment into a separate assignment to dot. | |
1102 | (lang_add_section): Consistently use output->bfd_section rather than | |
1103 | an alias, section->output_section. | |
1104 | (map_input_to_output_sections): Rename overly long arg. Move | |
1105 | initialization of data_statement output section to here.. | |
1106 | (lang_check_section_addresses): ..from here. | |
1107 | (print_assignment): Correct printing of etree_assert. | |
1108 | (print_all_symbols): Don't bomb if userdata is NULL. | |
1109 | (IGNORE_SECTION): Rearrange. | |
1110 | * emultempl/elf32.em (output_rel_find): Adjust interator. | |
1111 | (output_prev_sec_find): Delete. | |
1112 | (struct orphan_save): Delete. | |
1113 | (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section | |
1114 | flags without creating a duplicate output section statement. | |
1115 | Revise code holding history of various orphan section placements. | |
1116 | Allow orphan sections to place before script specified output | |
1117 | sections. Call lang_output_section_find_by_flags when placement | |
1118 | by name fails. Use lang_insert_orphan. | |
1119 | * emultempl/mmo.em (output_prev_sec_find): Delete. | |
1120 | (struct orphan_save): Delete. | |
1121 | (mmo_place_orphan): Revise code holding history of orphan placement. | |
1122 | Allow orphans to place before existing output sections. Use | |
1123 | lang_insert_orphan. | |
1124 | * emultempl/pe.em (output_prev_sec_find): Delete. | |
1125 | (struct orphan_save): Delete. | |
1126 | (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of | |
1127 | lang_insert_orphan. | |
1128 | ||
c0042f5d MM |
1129 | 2004-10-13 Mark Mitchell <mark@codesourcery.com> |
1130 | ||
1131 | * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a | |
1132 | loadable segment. | |
1133 | ||
1af699f4 AM |
1134 | 2004-10-13 Alan Modra <amodra@bigpond.net.au> |
1135 | ||
1136 | PR 44 | |
09c112da AM |
1137 | * ldcref.c (check_section_sym_xref): Delete. |
1138 | (check_local_sym_xref): New function. | |
1139 | (check_nocrossrefs): Adjust call. | |
1af699f4 AM |
1140 | * emultempl/pe.em (struct orphan_save): Add os_tail. |
1141 | (place_orphan): Backport assorted fixes from elf32.em. | |
1142 | ||
7fa3d080 BW |
1143 | 2004-10-12 Bob Wilson <bob.wilson@acm.org> |
1144 | ||
1145 | * emultempl/xtensaelf.em: Use ISO C90 formatting. | |
1146 | ||
d3989512 JJ |
1147 | 2004-10-11 Jakub Jelinek <jakub@redhat.com> |
1148 | ||
563f4125 JJ |
1149 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid |
1150 | getline for portability. | |
1151 | ||
d3989512 JJ |
1152 | * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. |
1153 | (gld${EMULATION_NAME}_parse_ld_so_conf, | |
1154 | gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. | |
1155 | (gld${EMULATION_NAME}_check_ld_so_conf): Use them. | |
1156 | ||
6c0c5b1e AM |
1157 | 2004-10-11 Alan Modra <amodra@bigpond.net.au> |
1158 | ||
1159 | PR 423 | |
1160 | * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are | |
1161 | rejected when linking statically. | |
1162 | ||
d2b2c203 DJ |
1163 | 2004-10-08 Daniel Jacobowitz <dan@debian.org> |
1164 | ||
1165 | * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. | |
1166 | ||
43cd72b9 BW |
1167 | 2004-10-07 Bob Wilson <bob.wilson@acm.org> |
1168 | ||
1169 | * ld.texinfo (Xtensa): Describe new linker relaxation to optimize | |
1170 | assembler-generated longcall sequences. Describe new --size-opt | |
1171 | option. | |
1172 | * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. | |
1173 | * emultempl/xtensaelf.em (remove_section, | |
1174 | replace_insn_sec_with_prop_sec, replace_instruction_table_sections, | |
1175 | elf_xtensa_after_open): New. | |
1176 | (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, | |
1177 | OPTION_NO_LITERAL_MOVEMENT): Define. | |
1178 | (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. | |
1179 | (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. | |
1180 | (PARSE_AND_LIST_OPTIONS): Add --size-opt. | |
1181 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, | |
1182 | OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. | |
1183 | (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. | |
1184 | * scripttempl/elfxtensa.sc: Update with changes from elf.sc. | |
1185 | * Makefile.am (eelf32xtensa.c): Update dependencies. | |
1186 | * Makefile.in: Regenerate. | |
1187 | ||
8fdd7217 | 1188 | 2004-10-07 Jeff Baker <jbaker@qnx.com> |
6c0c5b1e | 1189 | |
8fdd7217 NC |
1190 | * lexsup.c: Handle --warn-shared-textrel option. |
1191 | (ld_options): Restore alpha sorting of options. | |
1192 | * ldmain.c (main): Initialise warn_shared_info field to FALSE. | |
1193 | * ld.texinfo: Add documentation for --warn-shared-textrel. | |
1194 | * NEWS: Added mention of --warn-shared-textrel option. | |
1195 | ||
339207f8 | 1196 | 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com> |
6c0c5b1e | 1197 | |
339207f8 | 1198 | * emultempl/crxelf.em (disable_relaxation): Add. |
6c0c5b1e | 1199 | (crxelf_before_allocation): Enable --relax option by default. |
339207f8 TL |
1200 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. |
1201 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. | |
1202 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. | |
1203 | ||
bcaa7b3e L |
1204 | 2004-10-04 H.J. Lu <hongjiu.lu@intel.com> |
1205 | ||
1206 | * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
1207 | --sort-section name|alignment. | |
1208 | ||
1209 | * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
1210 | --sort-section name|alignment. | |
1211 | ||
1212 | * ld.h (sort_type): New enum. | |
1213 | (wildcard_spec): Change the type of `sorted' to sort_type. | |
1214 | ||
1215 | * ldgram.y (SORT): Removed. | |
1216 | (SORT_BY_NAME): Added. | |
1217 | (SORT_BY_ALIGNMENT): Added. | |
1218 | (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and | |
1219 | SORT_BY_ALIGNMENT. | |
1220 | (input_section_spec_no_keep): Updated `sorted'. | |
1221 | (statement): Replace SORT with SORT_BY_NAME. | |
1222 | ||
1223 | * ldlang.c (compare_section): New function to compare 2 | |
1224 | sections with different sorting schemes. | |
1225 | (wild_sort): Updated. Use compare_section. | |
1226 | (update_wild_statements): New function. | |
1227 | (lang_process): Call update_wild_statements before | |
1228 | map_input_to_output_sections. | |
1229 | ||
1230 | * ldlex.l (SORT_BY_NAME): New. | |
1231 | (SORT_BY_ALIGNMENT): New. | |
1232 | (SORT): Return SORT_BY_NAME. | |
1233 | ||
1234 | * ldmain.c (sort_section): New. Defined. | |
1235 | (main): Initialize it to none. | |
1236 | ||
1237 | * lexsup.c (option_values): Add OPTION_SORT_SECTION. | |
1238 | (ld_options): Add an entry for OPTION_SORT_SECTION. | |
1239 | (parse_args): Handle OPTION_SORT_SECTION. | |
1240 | ||
1241 | * mri.c (mri_draw_tree): Updated `sorted'. | |
1242 | ||
a4f5ad88 JJ |
1243 | 2004-10-04 Jakub Jelinek <jakub@redhat.com> |
1244 | ||
1245 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. | |
1246 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first | |
1247 | argument. | |
1248 | (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first | |
1249 | and . as second argument. | |
1250 | (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. | |
1251 | * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. | |
1252 | (fold_binary): Add it here. Insert padding to make relro_end | |
1253 | COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in | |
1254 | exp_dataseg_relro_adjust phase just use previously computed | |
1255 | exp_data_seg.base. | |
1256 | * ldlang.c (lang_size_sections): Set exp_data_seg.base for | |
1257 | relro_adjust here. Call lang_size_sections_1 once more if there | |
1258 | was too big padding at DATA_SEGMENT_RELRO_END. | |
1259 | * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. | |
1260 | ||
40a18ebd NC |
1261 | 2004-10-01 Paul Brook <paul@codesourcery.com> |
1262 | ||
1263 | * emulparams/armelf.sh: Add unwinding table sections. | |
1264 | ||
db8acf26 NC |
1265 | 2004-09-30 Filip Navara <navaraf@reactos.com> |
1266 | ||
1267 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate | |
1268 | correct base address for position independant executables. | |
1269 | * pe-dll.c (pe_dll_fill_sections): Don't mark position independant | |
1270 | executables as DLLs. | |
1271 | ||
eeac373a PB |
1272 | 2004-09-30 Paul Brook <paul@codesourcery.com> |
1273 | ||
1274 | * ld.texinfo: Document --target2=abs. | |
1275 | * emulparms/armsymbian.sh (TARGET2_TYPE): Set. | |
1276 | ||
1ee7cf4c NC |
1277 | 2004-09-29 Nick Clifton <nickc@redhat.com> |
1278 | ||
1279 | * scripttempl/xstormy16.sc: Only perform the assignments to the | |
1280 | ROM region when not performing a relocatable link. The ROM region | |
1281 | does not start at address 0, but the sections will. | |
1282 | * Makefile.am: Fix linker script dependency for the generation of | |
1283 | eelf32xstormy16.c. | |
1284 | * Makefile.in: Regenerate. | |
1285 | ||
03098a9a CF |
1286 | 2004-09-18 Filip Navara <navaraf@reactos.com> |
1287 | ||
1288 | * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, | |
1289 | emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, | |
1290 | emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define | |
1291 | TARGET_PAGE_SIZE. | |
1292 | * scripttempl/pe.sc: Make the virtual address and file offset synced if | |
1293 | the alignment is lower than the target page size. | |
1294 | ||
f2d3750d CF |
1295 | 2004-09-27 Filip Navara <navaraf@reactos.com> |
1296 | ||
1297 | * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow | |
1298 | def_file_parse to handle pe_def_file if NULL and prevent crash with | |
1299 | invalid .def files. | |
1300 | ||
a23d8409 AM |
1301 | 2004-09-27 Alan Modra <amodra@bigpond.net.au> |
1302 | ||
1303 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable | |
1304 | --emit-stub-syms automatically when --emit-relocs. | |
1305 | ||
7b89fa29 PB |
1306 | 2004-09-24 Paul Brook <paul@codeosurcery.com> |
1307 | ||
1308 | * scripttempl/elf.sc: Keep .preinit_array, .init_array and | |
1309 | .fini_array sections. | |
1310 | ||
e2a68bcc AS |
1311 | 2004-09-19 Andreas Schwab <schwab@suse.de> |
1312 | ||
1313 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment | |
1314 | base so that relro end is suitably aligned. | |
1315 | ||
3674e28a PB |
1316 | 2004-09-17 Paul Brook <paul@codesourcery.com> |
1317 | ||
1318 | * ld.texinfo: Rename arm-specific section. Document --target* | |
1319 | * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. | |
1320 | * emulparams/armelf_linux.sh: Ditto. | |
1321 | * emulparams/armelf_nbsd.sh: Ditto. | |
1322 | * emultempl/armelf.em: Set default for TARGET2_TYPE. | |
1323 | (target2_type): New variable. | |
1324 | (arm_elf_before_allocation): Don't pass target1_type. | |
1325 | (arm_elf_create_output_section_statements): New function. | |
1326 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. | |
1327 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. | |
1328 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. | |
1329 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. | |
1330 | * emultempl/armelf_oabi.em (_before_allocation): Remove extra | |
1331 | argument to bfd_elf32_arm_process_before_allocation. | |
1332 | ||
f6e332e6 AM |
1333 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
1334 | ||
1335 | * ldexp.c (fold_name): Update u.undef.next refs. | |
1336 | * emultempl/pe.em: Likewise. | |
1337 | * emultempl/sunos.em: Likewise. | |
1338 | ||
9c933e04 AM |
1339 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
1340 | ||
1341 | * Makefile.am: Run "make dep-am". | |
1342 | * Makefile.in: Regenerate. | |
1343 | * config.in: Regenerate. | |
1344 | * configure: Regenerate. | |
1345 | * aclocal.m4: Regenerate. | |
1346 | * po/ld.pot: Regenerate. | |
1347 | ||
1fa32646 TL |
1348 | 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com> |
1349 | ||
9c933e04 AM |
1350 | * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. |
1351 | (.fini): Likewise. | |
1352 | (.jcr): Likewise. | |
1fa32646 | 1353 | |
b6ee372a AM |
1354 | 2004-09-16 Alan Modra <amodra@bigpond.net.au> |
1355 | ||
1356 | * emultempl/armelf_oabi.em (before_allocation): Add extra zero param | |
1357 | to bfd_elf32_arm_process_before_allocation call. | |
1358 | ||
9c504268 PB |
1359 | 2004-09-13 Paul Brook <paul@codesourcery.com> |
1360 | ||
1361 | * emulparams/armsymbian.sh: Set TARGET1_IS_REL. | |
1362 | * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. | |
1363 | ||
d15b04bd L |
1364 | 2004-09-07 H.J. Lu <hongjiu.lu@intel.com> |
1365 | ||
1366 | * configure: Regenerated with autconfig 2.13. | |
1367 | ||
875c4330 AS |
1368 | 2004-09-07 Andreas Schwab <schwab@suse.de> |
1369 | ||
1370 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment | |
1371 | alignment before adjusting DATA_SEGMENT_RELRO_END. | |
1372 | ||
229fcec5 MM |
1373 | 2004-09-06 Mark Mitchell <mark@codesourcery.com> |
1374 | ||
1375 | * emulparams/armsymbian.sh: Use armbpabi script. | |
1376 | * scripttempl/armbpabi.sc: New script. | |
1377 | ||
e5a52504 MM |
1378 | 2004-09-02 Mark Mitchell <mark@codesourcery.com> |
1379 | ||
1380 | * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. | |
1381 | (earmsymbian.c): New target. | |
1382 | * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. | |
1383 | * Makefile.in: Regenerated. | |
1384 | * aclocal.m4: Likewise. | |
1385 | * configure: Likewise. | |
1386 | * emulparams/armsymbian.sh: New file. | |
1387 | ||
42851540 NC |
1388 | 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> |
1389 | ||
1390 | * scripttempl/elf32crx.sc: Edit file with comments. | |
1391 | (.init): Add new section. | |
1392 | (.fini): Likewise. | |
1393 | (.ctor): Control the linkage order. | |
1394 | (.dtor): Likewise. | |
1395 | ||
c034e3e0 NC |
1396 | 2004-08-27 Nick Clifton <nickc@redhat.com> |
1397 | ||
1398 | * emultempl/pe.em (after_open): Do not assume that either bfd is | |
9c933e04 | 1399 | an archive. |
c034e3e0 | 1400 | |
688c58f3 AM |
1401 | 2004-08-26 Alan Modra <amodra@bigpond.net.au> |
1402 | ||
1403 | * ldlang.c (lang_init): Don't compare with TRUE. | |
1404 | ||
b18c562e NC |
1405 | 2004-08-25 Dmitry Diky <diwil@spec.ru> |
1406 | ||
1407 | * emulparams/msp430all.sh: Fix RAM sizes for all targets. | |
1408 | * scripttempl/elf32msp430.sc: Add .profiler section definition. | |
1409 | ||
61f5d054 L |
1410 | 2004-08-24 H.J. Lu <hongjiu.lu@intel.com> |
1411 | ||
1412 | * ldlang.c (wildcardp): Defined as a macro with strpbrk. | |
1413 | ||
e77d3d77 MM |
1414 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
1415 | ||
1416 | * configure.tgt (arm*-*-symbianelf*): New target. | |
1417 | (arm*-*-eabi*): Likewise. | |
1418 | ||
3f764659 JJ |
1419 | 2004-08-19 Jakub Jelinek <jakub@redhat.com> |
1420 | ||
1421 | * emultempl/ppc64elf.em (non_overlapping_opd): New variable. | |
1422 | (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). | |
1423 | (OPTION_NON_OVERLAPPING_OPD): Define. | |
1424 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add | |
1425 | --non-overlapping-opd option. | |
1426 | ||
a010d60f AM |
1427 | 2004-08-18 Alan Modra <amodra@bigpond.net.au> |
1428 | ||
1429 | PR 338 | |
1430 | * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol | |
1431 | was already on the undefs list. | |
1432 | ||
c4e33880 AM |
1433 | 2004-08-17 Alan Modra <amodra@bigpond.net.au> |
1434 | ||
1435 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot | |
1436 | prefix the symbol field too. | |
1437 | ||
d003868e AM |
1438 | 2004-08-13 Alan Modra <amodra@bigpond.net.au> |
1439 | ||
1440 | * ldmain.c (link_callbacks): Remove "error_handler". | |
1441 | * ldmisc.c: Include elf-bfd.h. | |
1442 | (vfinfo): Sort comment. Handle %A. Use %A instead of | |
1443 | bfd_get_section_indent. | |
1444 | (error_handler): Delete. | |
1445 | * ldmisc.h (error_handler): Delete declaration. | |
1446 | ||
99877b66 AM |
1447 | 2004-08-10 Alan Modra <amodra@bigpond.net.au> |
1448 | ||
1449 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call | |
1450 | ppc64_elf_restore_symbols. | |
1451 | ||
40e45c8b AM |
1452 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
1453 | ||
1454 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if | |
1455 | .toc is too large on relocatable linking. | |
1456 | ||
ccfa59ea AM |
1457 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
1458 | ||
1459 | * emultempl/ppc64elf.em (ppc_after_open): Delete. | |
1460 | (LDEMUL_AFTER_OPEN): Don't define. | |
1461 | ||
93fd0973 SC |
1462 | 2004-08-02 Stephane Carrez <stcarrez@nerim.fr> |
1463 | ||
1464 | * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. | |
1465 | ||
f1b123db SC |
1466 | 2004-08-01 Stephane Carrez <stcarrez@nerim.fr> |
1467 | ||
1468 | * scripttempl/elfm68hc12.sc: Align text, rodata and data section | |
1469 | on power of 2. | |
1470 | ||
e7fbc2bf JT |
1471 | 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> |
1472 | ||
1473 | * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". | |
1474 | ||
c05e9f04 NC |
1475 | 2004-07-26 Dmitry Diky <diwil@spec.ru> |
1476 | ||
1477 | * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, | |
1478 | msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, | |
1479 | msp430xG439. | |
1480 | * configure.tgt: Likewise. | |
1481 | * emulparams/msp430all.sh: Likewise. | |
1482 | * Makefile.in: Regenerate. | |
1483 | ||
9f61903d NC |
1484 | 2004-07-23 Nick Clifton <nickc@redhat.com> |
1485 | ||
1486 | * emultempl/elf32.em (_place_orphan): Use an already existing | |
1487 | section name if that section does not have any flags set. | |
1488 | ||
082b7297 L |
1489 | 2004-07-21 H.J. Lu <hongjiu.lu@intel.com> |
1490 | ||
1491 | * ldlang.c (already_linked_hash_entry): Removed. | |
1492 | (already_linked): Likewise. | |
1493 | (already_linked_table): Likewise. | |
1494 | (section_already_linked): Call bfd_section_already_linked. | |
1495 | (lang_process): Replace already_linked_table_init with | |
1496 | bfd_section_already_linked_table_init and check return. Replace | |
1497 | already_linked_table_free with bfd_section_already_linked_table_free. | |
1498 | ||
76d7af2d NC |
1499 | 2004-07-21 Nick Clifton <nickc@redhat.com> |
1500 | ||
1501 | * ldlang.c (init_os): Make sure that the newly allocated userdata | |
1502 | structure is zeroed out. | |
1503 | ||
14b3c463 L |
1504 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
1505 | ||
1506 | * NEWS: Mention the new --add-needed/--no-add-needed and | |
1507 | --as-needed/--no-as-needed options. | |
1508 | ||
e56f61be L |
1509 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
1510 | ||
1511 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also | |
1512 | check the add_needed field. | |
1513 | (dt_needed): New struct. | |
1514 | (gld${EMULATION_NAME}_try_needed): Change the first argument | |
1515 | to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED | |
1516 | bit in the file where the DT_NEEDED entry comes from. | |
1517 | (gld${EMULATION_NAME}_search_needed): Change the second | |
1518 | argument to a pointer to struct dt_needed. | |
1519 | (gld${EMULATION_NAME}_check_ld_so_conf): Updated. | |
1520 | (gld${EMULATION_NAME}_after_open): Likewise. | |
1521 | ||
1522 | * ld.texinfo: Add --add-needed document. | |
1523 | * ldlang.c (new_afile): Set p->add_needed. | |
1524 | * ldlang.h (lang_input_statement_type): Add add_needed field. | |
1525 | * ldmain.h (add_needed): Declare. | |
1526 | * ldmain.c (add_needed): New global var. | |
1527 | * lexsup.c (option_values): Add OPTION_ADD_NEEDED and | |
1528 | OPTION_NO_ADD_NEEDED. | |
1529 | (ld_options): Likewise. | |
1530 | (parse_args): Handle them. | |
1531 | ||
c99b8138 NC |
1532 | 2004-07-13 Christof Petig <christof@petig-baender.de> |
1533 | ||
1534 | * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct | |
1535 | for endian-ness of extracted addend. | |
1536 | ||
13ed4151 NC |
1537 | 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net> |
1538 | ||
1539 | * pe-dll.c (auto_export): Filter on just the import prefix, | |
1540 | "_imp_", not "_imp__". | |
1541 | ||
1a320fbb NC |
1542 | 2004-07-09 Nick Clifton <nickc@redhat.com> |
1543 | ||
1544 | * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. | |
1545 | ||
1fe1f39c NC |
1546 | 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com> |
1547 | ||
1548 | * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. | |
1549 | (eelf32crx.c): New target. | |
1550 | * Makefile.in: Regenerate. | |
1551 | * configure.tgt: Handle crx-*-elf*. | |
1552 | * emulparams/elf32crx.sh: New file. | |
1553 | * emultempl/crxelf.em: New file. | |
1554 | * scripttempl/elf32crx.sc: New file. | |
1555 | * NEWS: Mention new target. | |
1556 | ||
85fbca6a NC |
1557 | 2004-07-06 Nick Clifton <nickc@redhat.com> |
1558 | ||
1559 | * Makefile.am: Add eshlsymbian.c. | |
1560 | * Makefile.in: Regenerate. | |
1561 | * configure.tgt: Add sh*-symbian-elf target. | |
1562 | * emulparams/shlsymbian.sh: New file. Configure the | |
1563 | sh-symbian-elf linker scripts. | |
1564 | * scripttemp/elf32sh-symbian.sc: New file. Linker script | |
1565 | template for the sh-symbian-elf target. | |
1566 | ||
b71a5181 DA |
1567 | 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1568 | ||
1569 | * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. | |
1570 | * emulparams/hppalinux.sh: Likewise. | |
1571 | * scripttempl/elf.sc: Place .plt just before .got when .plt is in | |
1572 | data segment and PLT_BEFORE_GOT is defined. | |
1573 | ||
c87db184 CF |
1574 | 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
1575 | ||
1576 | * ld.texinfo (WIN32): Document PE weak symbols. | |
1577 | ||
f6a8ae81 KK |
1578 | 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1579 | ||
1580 | * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
1581 | ||
b602c853 L |
1582 | 2004-07-01 H.J. Lu <hongjiu.lu@intel.com> |
1583 | ||
1584 | * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify | |
1585 | the section. | |
1586 | ||
1a23a9e6 AM |
1587 | 2004-06-29 Alan Modra <amodra@bigpond.net.au> |
1588 | ||
1589 | * ldlang.c (lang_reset_memory_regions): Save last relax pass section | |
1590 | size in rawsize. | |
1591 | ||
eea6121a AM |
1592 | 2004-06-24 Alan Modra <amodra@bigpond.net.au> |
1593 | ||
1594 | * ldlang.c (print_output_section_statement): Don't print size before | |
1595 | relaxation. | |
1596 | (IGNORE_SECTION): Remove bfd arg. Update all callers. | |
1597 | ||
1598 | * ldexp.c (fold_name): .. See below. | |
1599 | * ldlang.c (section_already_linked, print_output_section_statement, | |
1600 | print_input_section, insert_pad, size_input_section, | |
1601 | lang_check_section_addresses, lang_size_sections_1, | |
1602 | lang_size_sections, lang_do_assignments_1, lang_set_startof, | |
1603 | lang_one_common, lang_reset_memory_regions, lang_process, | |
1604 | lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. | |
1605 | * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. | |
1606 | * pe-dll.c (process_def_file, generate_reloc): .. | |
1607 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, | |
1608 | gld${EMULATION_NAME}_before_allocation): .. | |
1609 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. | |
1610 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, | |
1611 | sh64_elf_${EMULATION_NAME}_after_allocation): .. | |
1612 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. | |
1613 | * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, | |
1614 | ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use | |
1615 | "size" instead of "_raw_size" and "_cooked_size". Expand | |
1616 | bfd_section_size macro invocations. | |
1617 | ||
552f8272 CF |
1618 | 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
1619 | ||
1620 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, | |
1621 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, | |
1622 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and | |
1623 | ___crt_xt_end__. | |
1624 | (.tls): Define ___tls_start__ and ___tls_end__. | |
1625 | ||
aee6f5b4 AO |
1626 | 2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
1627 | ||
1628 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
1629 | ||
eea6121a | 1630 | 2004-06-18 Adam Nemet <anemet@lnxw.com> |
f234d5fe | 1631 | |
eea6121a AM |
1632 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. |
1633 | * configure: Regenerate. | |
f234d5fe | 1634 | |
dfff4fbe JJ |
1635 | 2004-06-15 Jakub Jelinek <jakub@redhat.com> |
1636 | ||
1637 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to | |
1638 | .gcc_except_table output sections lost accidentally with | |
1639 | -z relro patch. | |
1640 | ||
a9e0c0c6 AM |
1641 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
1642 | ||
1643 | * ldwrite.c (build_link_order): Use bfd_get_section_size | |
1644 | instead of bfd_get_section_size_before_reloc or _raw_size. | |
1645 | * pe-dll.c (process_def_file): Likewise. | |
1646 | ||
7115639b AM |
1647 | 2004-06-14 Alan Modra <amodra@bigpond.net.au> |
1648 | ||
1649 | From Richard Wirth <r.wirth@wirthware.de> | |
1650 | * ldlang.c (lang_finish): Don't free lang_definedness_table. | |
1651 | ||
9ca57817 AM |
1652 | 2004-05-29 Alan Modra <amodra@bigpond.net.au> |
1653 | ||
1654 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. | |
1655 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. | |
1656 | ||
164e712d AM |
1657 | 2004-05-28 Alan Modra <amodra@bigpond.net.au> |
1658 | ||
6feb9908 AM |
1659 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
1660 | throughout file. | |
1661 | * lexsup.c: Formatting. Wrap long lines. | |
1662 | * ldwrite.c: Update copyright date. | |
1663 | ||
164e712d AM |
1664 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
1665 | (output_section_callback): Nor SEC_KEEP here. | |
1666 | (gc_section_callback): Twiddle SEC_EXCLUDE here. | |
1667 | (lang_gc_wild): Delete. Fold into.. | |
1668 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage | |
1669 | collecting. | |
1670 | (lang_process): Always call lang_gc_sections. | |
1671 | (lang_place_orphans): Handle SEC_EXCLUDE sections. | |
1672 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove | |
1673 | SEC_EXCLUDE code. | |
1674 | ||
b3096250 L |
1675 | 2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
1676 | ||
1677 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear | |
1678 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. | |
1679 | * ldlang.c (lang_add_section): Likewise. | |
1680 | ||
e49f5022 AM |
1681 | 2004-05-26 Alan Modra <amodra@bigpond.net.au> |
1682 | ||
1683 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP | |
1684 | sections when doing a final link. Clear SEC_EXCLUDE when doing | |
1685 | a relocable link, except for SEC_DEBUGGING sections. | |
1686 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the | |
1687 | same condition here to drop SEC_EXCLUDE orphan sections. | |
1688 | ||
57ceae94 AM |
1689 | 2004-05-25 Alan Modra <amodra@bigpond.net.au> |
1690 | ||
1691 | * ldlang.c (lang_process): Call bfd_merge_sections later, and | |
1692 | only when not a relocatable link. | |
1693 | (print_input_section): Handle SEC_EXCLUDE sections. | |
1694 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. | |
1695 | (lang_do_assignments_1): Likewise. | |
1696 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. | |
1697 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. | |
1698 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
1699 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
1700 | (build_section_lists): Likewise. | |
1701 | ||
a85785bc AS |
1702 | 2004-05-23 Andreas Schwab <schwab@suse.de> |
1703 | ||
1704 | * ld.texinfo (Options): Fix typo in last change. | |
1705 | ||
2d643429 NC |
1706 | 2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
1707 | ||
1708 | * ld.h (ld_config_type): Add new field: hash_table_size. | |
1709 | * ldmain.c: Initialise the new field to zero. If it is non-zero | |
1710 | after parsing the linker's command line call | |
1711 | bfd_hash_set_default_size. | |
1712 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. | |
1713 | (ld_options): Add hash-size. | |
1714 | (parse_args): Parse --hash-size option. Allow | |
1715 | --reduce-memory-overheads to set the default hash table size as | |
1716 | well. | |
1717 | * ld.texinfo: Document the new switch. Also mention that | |
1718 | --reduce-memory-overheads can affect the hash table size. | |
1719 | * NEWS: Mention the new feature. | |
1720 | ||
35835446 JR |
1721 | 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> |
1722 | ||
1723 | * NEWS: Mention new linker map file generation and the | |
1724 | --reduce-memory-overheads option. | |
1725 | * ld.texinfo: Document --reduce-memory-overheads option. | |
1726 | * ld.h (map_symbol_def): New struct. | |
1727 | (struct user_section_struct, section_userdata_type): Rename to: | |
1728 | (struct lean_user_section_struct, lean_section_userdata_type). | |
1729 | (struct fat_user_section_struct, fat_section_userdata_type): New. | |
1730 | (SECTION_USERDATA_SIZE): Define. | |
1731 | (args_type): New member reduce_memory_overheads. | |
1732 | * ldlang.c (map_obstack): New static variable. | |
1733 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. | |
1734 | (lang_map): Unless command_line.reduce_memory_overheads is set, | |
1735 | initialize lists of defined symbols for each section. | |
1736 | (print_input_section): Unless command_line.reduce_memory_overheads | |
1737 | is set, use print_all_symbols. | |
1738 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. | |
1739 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. | |
1740 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. | |
1741 | (ld_options): Add entry for --reduce-memory-overheads. | |
1742 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. | |
1743 | ||
0841712e JJ |
1744 | 2004-05-19 Jakub Jelinek <jakub@redhat.com> |
1745 | ||
1746 | * ldgram.y (sect_constraint): New. | |
1747 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
1748 | (section): Add sect_constraint. Pass additional argument | |
1749 | to lang_enter_output_section_statement. | |
1750 | * mri.c (mri_draw_tree): Pass additional argument to | |
1751 | lang_enter_output_section_statement. | |
1752 | * emultempl/pe.em (place_orphan): Likewise. | |
1753 | (output_prev_sec_find): Disregard output section statements with | |
1754 | constraint == -1. | |
1755 | * emultempl/mmo.em (output_prev_sec_find): Likewise. | |
1756 | (mmo_place_orphan): Pass additional argument to | |
1757 | lang_enter_output_section_statement. | |
1758 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section | |
1759 | statements with constraint == -1. | |
1760 | (place_orphan): Pass additional argument to | |
1761 | lang_enter_output_section_statement. | |
1762 | * ldlang.c (lang_enter_overlay_section): Likewise. | |
1763 | (lang_output_section_find_1): New. | |
1764 | (lang_output_section_find): Use it. | |
1765 | (lang_output_section_statement_lookup_1): New. | |
1766 | (lang_output_section_statement_lookup): Use it. | |
1767 | (check_section_callback, check_input_sections): New. | |
1768 | (map_input_to_output_sections): Check if all input sections | |
1769 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. | |
1770 | (strip_excluded_output_sections): Disregard output section statements | |
1771 | with constraint == -1. | |
1772 | (lang_record_phdrs): Likewise. | |
1773 | (lang_enter_output_section_statement): Add constraint argument. | |
1774 | Use lang_output_section_statement_lookup_1. | |
1775 | * ldlang.h (lang_output_section_statement_type): Add constraint | |
1776 | and all_input_readonly fields. | |
1777 | (lang_enter_output_section_statement): Adjust prototype. | |
1778 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
1779 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text | |
1780 | segment if all input sections are readonly. | |
1781 | ||
eea6121a | 1782 | 2004-05-19 Adam Nemet <anemet@lnxw.com> |
f2c50328 NC |
1783 | |
1784 | * scripttempl/i386lynx.sc: Remove file. | |
1785 | ||
2a16d82a BW |
1786 | 2004-05-17 Bob Wilson <bob.wilson@acm.org> |
1787 | ||
1788 | * ld.texinfo (Output Section Address): Correct subsection name. | |
1789 | ||
eea6121a | 1790 | 2004-05-17 Adam Nemet <anemet@lnxw.com> |
b2d65c0b NC |
1791 | |
1792 | * configure.tgt (powerpc-*-lynxos* case): New case. | |
1793 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. | |
1794 | * emulparams/ppclynx.sh: New file. | |
1795 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. | |
1796 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o | |
1797 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. | |
1798 | (eppclynx.c): New rule. | |
1799 | * Makefile.in: Regenerate. | |
1800 | ||
4b363073 NC |
1801 | 2004-05-13 Joel Sherrill <joel@oarcorp.com> |
1802 | ||
1803 | * configure.tgt (or32-*-rtems*): Switch to elf and | |
1804 | support versioned targets. | |
1805 | ||
9598fbe5 NC |
1806 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
1807 | ||
1808 | * po/fr.po: Updated French translation. | |
1809 | ||
8c37241b JJ |
1810 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
1811 | ||
1812 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts | |
1813 | for binaries, -shared and -pie. | |
1814 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. | |
1815 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. | |
1816 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... | |
1817 | (OTHER_RELRO_SECTIONS): ... this. | |
1818 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. | |
1819 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
1820 | -z relro and -z norelro. | |
1821 | (gld${EMULATION_NAME}_list_options): Add it to usage. | |
1822 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now | |
1823 | -z relro scripts when appropriate. | |
1824 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. | |
1825 | Create separate .got.plt section if SEPARATE_GOTPLT. | |
1826 | Move sections which are only written during relocation handling | |
1827 | to the beginning of RW segment. If NO_SMALL_DATA, move .got | |
1828 | before .data. Add DATA_SEGMENT_RELRO_END directive. | |
1829 | Include OTHER_RELRO_SECTIONS. | |
1830 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. | |
1831 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. | |
1832 | (fold_unary): Likewise. | |
1833 | (fold_binary): Handle -z relro. | |
1834 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and | |
1835 | exp_dataseg_relro_adjust phases. Add relro_end field. | |
1836 | * ldmain.c (main): Initialize link_info.relro to FALSE. | |
1837 | * ldlang.c (lang_size_sections): Handle -z relro. | |
1838 | ||
e21059f2 MM |
1839 | 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1840 | ||
1841 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. | |
1842 | ||
5f9b8920 JR |
1843 | 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> |
1844 | ||
1845 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma | |
1846 | before printing it with %W. | |
1847 | ||
26d2d8a2 | 1848 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
eea6121a | 1849 | DJ Delorie <dj@redhat.com> |
26d2d8a2 BF |
1850 | |
1851 | * emultempl/pe.em (real_flags): New static. | |
1852 | (OPTION_LARGE_ADDRESS_AWARE): New define. | |
1853 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. | |
1854 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
1855 | (gld${EMULATION_NAME}_handle_option): Likewise. | |
1856 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. | |
1857 | * ld.texinfo: Document it. | |
1858 | * NEWS: Mention it. | |
1859 | ||
1b169501 BF |
1860 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
1861 | ||
1862 | * NEWS: Mention DWARF 2 support for i386pe. | |
1863 | ||
41cf0c62 AO |
1864 | 2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
1865 | ||
1866 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new | |
1867 | elf32-frvfdpic. | |
1868 | ||
d0d6a25b AM |
1869 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
1870 | ||
1871 | * ldlang.c (unique_section_p): Pass section parm, return true on | |
1872 | group sections. | |
1873 | (output_section_callback): Adjust. | |
1874 | * ldlang.h (unique_section_p): Update prototype. | |
1875 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. | |
1876 | ||
755306be EB |
1877 | 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> |
1878 | ||
eea6121a | 1879 | * ld.texinfo (--gc-sections): Remove restriction for |
755306be EB |
1880 | dynamic linking. |
1881 | ||
8a7140c3 NC |
1882 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
1883 | ||
1884 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections | |
1885 | for DWARF 2/3. Update stab section's syntax. | |
1886 | ||
2f9636ba AM |
1887 | 2004-04-29 Alan Modra <amodra@bigpond.net.au> |
1888 | ||
1889 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. | |
1890 | (fill_edata): Correct pointer arithmetic. | |
1891 | ||
23867d67 CD |
1892 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
1893 | ||
1894 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. | |
1895 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. | |
1896 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. | |
1897 | (EXTRA_EM_FILE): Use mipsecoff.em | |
1898 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. | |
1899 | (EXTRA_EM_FILE): Use mipsecoff.em | |
1900 | * emultempl/mipsecoff.em: Restructure to be included as an | |
1901 | extra emulation file. | |
1902 | (check_sections, gld${EMULATION_NAME}_after_open) | |
1903 | (gld${EMULATION_NAME}_after_allocation) | |
1904 | (gld${EMULATION_NAME}_get_script) | |
1905 | (ld_${EMULATION_NAME}_emulation): Remove | |
1906 | (gld${EMULATION_NAME}_before_parse): Rename to... | |
1907 | (mipsecoff_before_parse): This. | |
1908 | (LDEMUL_BEFORE_PARSE): Define. | |
1909 | * emultempl/mipself.em: Remove file. | |
1910 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. | |
1911 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing | |
1912 | these symbols. | |
1913 | * Makefile.am: Remove dependencies on emultempl/mipself.em. | |
1914 | * Makefile.in: Regenerate. | |
1915 | ||
1502569c NC |
1916 | 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> |
1917 | ||
1918 | * ld.texinfo (synthesizing on H8/300): Information about linker | |
1919 | relaxation support for bit manipulation instructions and system | |
1920 | control instructions is added. | |
1921 | ||
c894ddfb HPN |
1922 | 2004-04-21 Hans-Peter Nilsson <hp@axis.com> |
1923 | ||
1924 | * NEWS: Mention change in DEFINED semantics. | |
1925 | ||
a85bf78e EB |
1926 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
1927 | ||
1928 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. | |
1929 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. | |
1930 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. | |
1931 | ||
58434bc1 BE |
1932 | 2004-04-21 Ben Elliston <bje@au.ibm.com> |
1933 | ||
1934 | * ld.texinfo (Simple Example): Add missing punctuation. | |
1935 | ||
7a7f4e42 CD |
1936 | 2004-04-20 Chris Demetriou <cgd@broadcom.com> |
1937 | ||
1938 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. | |
1939 | ||
3737f867 JJ |
1940 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
1941 | ||
1942 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section | |
1943 | specially. | |
1944 | ||
3c17e4f7 DS |
1945 | 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> |
1946 | ||
1947 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors | |
1948 | with default priority. Likewise for dtors. | |
1949 | ||
279500de TS |
1950 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1951 | ||
1952 | * configure.host: Remove mips*-dec-bsd* target. | |
1953 | * configure.tgt: Likewise. | |
1954 | ||
52f89c0a RS |
1955 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
1956 | ||
1957 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. | |
1958 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. | |
1959 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. | |
1960 | * emultempl/irix.em: New file. | |
1961 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update | |
1962 | dependencies. | |
1963 | * Makefile.in: Regenerate. | |
1964 | ||
e489d0ae PB |
1965 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
1966 | ||
1967 | * emultempl/armelf.em (byteswap_code): Add. | |
1968 | (arm_elf_before_allocation): Pass extra parameter. | |
1969 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. | |
1970 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. | |
1971 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. | |
1972 | * emultempl/armelf_oabi.em: Pass extra parameter. | |
1973 | * ld.texinfo: Document --be8. | |
1974 | ||
7cc8057a SS |
1975 | 2004-03-30 Stan Shebs <shebs@apple.com> |
1976 | ||
1977 | Remove long-obsolete MPW support. | |
1978 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. | |
1979 | * Makefile.am (mpw): Remove file-presynthesizing actions. | |
1980 | * Makefile.in: Likewise. | |
1981 | * ldfile.c (slash): Remove MPW case. | |
1982 | * ldlex.l [MPW]: Remove unused definition. | |
1983 | ||
0949843d NC |
1984 | 2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
1985 | ||
1986 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. | |
1987 | (eelf32cr16c.c): New target. | |
1988 | * Makefile.in: Regenerate. | |
1989 | * configure.tgt: Handle cr16c-*-elf*. | |
1990 | * emulparams/elf32cr16c.sh: New file. | |
1991 | * scripttempl/elfcr16c.sc: Likewise | |
1992 | * NEWS: Mention support for new target. | |
1993 | ||
0a159ef8 NC |
1994 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
1995 | ||
1996 | * po/sv.po: Updated Swedish translation. | |
1997 | ||
7a945db6 AM |
1998 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
1999 | ||
2000 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. | |
2001 | * emultempl/hppaelf.em: Likewise. | |
2002 | * emultempl/ppc64elf.em: Likewise. | |
2003 | * emultempl/sh64elf.em: Likewise. | |
2004 | ||
5a580b3a AM |
2005 | 2004-03-25 Alan Modra <amodra@bigpond.net.au> |
2006 | ||
2007 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update | |
2008 | size_dynamic_sections call. | |
2009 | ||
b9cf773d AM |
2010 | 2004-03-23 Alan Modra <amodra@bigpond.net.au> |
2011 | ||
2012 | PR 51. | |
2013 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set | |
2014 | link_info.wrap_char. | |
2015 | ||
59c2e50f L |
2016 | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
2017 | ||
2018 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects | |
2019 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. | |
2020 | ||
44349745 AO |
2021 | 2004-03-20 Alexandre Oliva <aoliva@redhat.com> |
2022 | ||
2023 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. | |
2024 | ||
81359a70 AM |
2025 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
2026 | ||
2027 | * config.in: Regenerate. | |
2028 | * po/ld.pot: Regenerate. | |
2029 | ||
4a43e768 AM |
2030 | 2004-03-18 Alan Modra <amodra@bigpond.net.au> |
2031 | ||
2032 | * ld.texinfo: Add --as-needed doco. | |
2033 | * ldmain.c (as_needed): New global var. | |
2034 | * ldmain.h (as_needed): Declare. | |
2035 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and | |
2036 | OPTION_NO_AS_NEEDED. | |
2037 | (ld_options): Likewise. | |
2038 | (parse_args): Handle them. | |
2039 | * ldlang.h (lang_input_statement_type): Add as_needed field. | |
2040 | * ldlang.c (new_afile): Set p->as_needed. | |
2041 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. | |
2042 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. | |
2043 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. | |
2044 | ||
2045 | * ldlang.c (open_input_bfds): Remove useless cast. | |
2046 | (lang_do_assignments_1): Likewise. | |
2047 | (lang_for_each_input_section): Delete. | |
2048 | ||
9183ed4b AM |
2049 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
2050 | ||
2051 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
2052 | ||
ee31fbd0 NC |
2053 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
2054 | ||
2055 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as | |
2056 | private when building implib. | |
2057 | ||
e5caec89 NS |
2058 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
2059 | ||
2060 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on | |
2061 | SEC_THREAD_LOCAL. | |
2062 | (IGNORE_SECTION): Ignore .tbss sections too. | |
2063 | (lang_size_sections_1): .tbss sections do not advance dot. | |
2064 | ||
cc2f008e AS |
2065 | 2004-03-01 Andreas Schwab <schwab@suse.de> |
2066 | ||
2067 | * ld.texinfo (Options): Fix example for --wrap. | |
2068 | ||
f5a95868 DS |
2069 | 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> |
2070 | ||
2071 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is | |
2072 | not NULL. | |
2073 | ||
177b729b ILT |
2074 | 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
2075 | ||
2076 | * ldlang.c (lang_check): Use %P, not %E, in error message. | |
2077 | ||
1b493742 NS |
2078 | 2004-02-23 Nathan Sidwell <nathan@codesourcery.com> |
2079 | ||
2080 | * ldlang.h (struct lang_output_section_state): Change processed | |
2081 | field's type. | |
2082 | * ldexp.c (check, invalid): Remove. | |
2083 | (fold_name): Move valid_p assignments. Create undefined symbol | |
2084 | when needed. Directly exampine section's processd flag. | |
2085 | * ldlang.c (lang_output_section_statement_lookup): Adjust | |
2086 | processed field init. | |
2087 | (lang_size_sections_1): Allow LOADADDR when determining section's | |
2088 | VMA. Adjust error message. Fold data statement's expr. | |
2089 | (lang_size_sections): Correctly increment lang_statement_iteration. | |
2090 | ||
2091 | 2004-02-23 Alan Modra <amodra@bigpond.net.au> | |
2092 | ||
2093 | * ldexp.c (fold_tree): Follow indirect symbols. | |
b9cf773d | 2094 | |
876f4090 NS |
2095 | 2004-02-20 Nathan Sidwell <nathan@codesourcery.com> |
2096 | ||
2097 | * ldgram.y (exp): Add two operand ALIGN. | |
2098 | * ldexp.c (fold_binary): Add ALIGN_K case. | |
2099 | * ld.texinfo (ALIGN): Document two operand version. | |
2100 | ||
384d938f NS |
2101 | 2004-02-19 Nathan Sidwell <nathan@codesourcery.com> |
2102 | ||
2103 | * ldlang.c (map_input_to_output_sections): Initialize sections | |
2104 | mentioned in a data statement expression. | |
2105 | (lang_do_assignments_1): Add data statement's expression's | |
2106 | section's vma. | |
2107 | ||
b6ca8815 NS |
2108 | 2004-02-18 Nathan Sidwell <nathan@codesourcery.com> |
2109 | ||
2110 | * ldgram.y (statement_anywhere): Add assert rule. | |
2111 | * ldlang.c (exp_init_os): Add assert case. | |
2112 | ||
c92c35e7 AC |
2113 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
2114 | ||
2115 | * ldmain.c (remove_output): Call bfd_cache_close. | |
2116 | ||
9bf78c99 RS |
2117 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
2118 | ||
2119 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard | |
2120 | .MIPS.content* and .MIPS.events* sections. | |
2121 | ||
f3806916 DJ |
2122 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
2123 | ||
2124 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move | |
2125 | .note.gnu.arm.ident to after allocated sections. Mark its | |
2126 | address as 0. | |
2127 | ||
4c8e70d7 DJ |
2128 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
2129 | ||
2130 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
2131 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. | |
2132 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. | |
2133 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. | |
2134 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. | |
2135 | ||
ff71f4f7 NC |
2136 | 2004-02-05 Nick Clifton <nickc@redhat.com> |
2137 | ||
2138 | * emultempl/pe.em (_after_open): Fix typo in previous delta. | |
2139 | ||
07a68a80 NC |
2140 | 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> |
2141 | ||
2142 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. | |
2143 | ||
1dd3bf68 AM |
2144 | 2004-01-28 Alan Modra <amodra@bigpond.net.au> |
2145 | ||
586196d5 AM |
2146 | * genscripts.sh: Fix typo. |
2147 | ||
1dd3bf68 AM |
2148 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
2149 | ||
13d9421f JJ |
2150 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
2151 | ||
2152 | * emulparams/elf64_ia64.sh: Put .rela.opd into | |
2153 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. | |
2154 | ||
4d8907ac DS |
2155 | 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
2156 | ||
2157 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. | |
2158 | * ld.texinfo (--omagic): Note that writable text section | |
2159 | does not conform to published PE-COFF specs. | |
2160 | (--enable-auto-import): Likewise. | |
2161 | ||
e5c60db5 AM |
2162 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
2163 | ||
2164 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. | |
2165 | ||
6bdafbeb NC |
2166 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
2167 | ||
2168 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' | |
2169 | which if true will prevent the LMA region being used as a | |
2170 | replacement for a default VMA region. | |
586196d5 AM |
2171 | (lang_leave_output_section_statement): Pass extra parameter. |
2172 | (lang_leave_overlay): Likewise. | |
2173 | * ld.texinfo (Output Section LMA): Document that the LMA | |
6bdafbeb NC |
2174 | region can be set to the VMA region if no VMA has been set. |
2175 | * ldlang.h (struct lang_output_section_phdr_list): Create a | |
2176 | typedef for this type. Minor formatting fixes. | |
586196d5 | 2177 | |
9dfc8ab2 NC |
2178 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
2179 | ||
2180 | * ldlang.c (lang_size_sections_1): If dot is advanced, then | |
2181 | assume that the section should be allocated. | |
2182 | ||
8325c4dd AM |
2183 | 2004-01-13 Alan Modra <amodra@bigpond.net.au> |
2184 | ||
2185 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD | |
2186 | sections. Do ignore SEC_NEVER_LOAD sections. | |
2187 | (lang_size_sections_1): Remove test made redundant with the above. | |
2188 | ||
83490352 AM |
2189 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
2190 | ||
2191 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached | |
2192 | program_header_size. | |
2193 | ||
005e1118 AO |
2194 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
2195 | ||
2196 | 2003-11-28 Alexandre Oliva <aoliva@redhat.com> | |
2197 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. | |
2198 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> | |
2199 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. | |
2200 | (MAXPAGESIZE): Set to 64Kb. | |
2201 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and | |
2202 | __ROFIXUP_END__. Don't map .rofixup.got any more. | |
2203 | * emulparams/elf32frv.sh (NOP): Set. | |
2204 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> | |
2205 | * configure.tgt: Add frv-*-*linux*. | |
2206 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> | |
2207 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. | |
2208 | (eelf32frvfd.c): New. | |
2209 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. | |
2210 | * emulparams/elf32frv.sh: Reverted previous two patches. | |
2211 | * emulparams/elf32frvfd.sh: New. | |
2212 | * Makefile.in: Rebuilt. | |
2213 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> | |
2214 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added | |
2215 | .rofixup.got to .rofixup. | |
2216 | 2003-09-15 Alexandre Oliva <aoliva@redhat.com> | |
2217 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. | |
2218 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. | |
2219 | ||
060feee5 JJ |
2220 | 2004-01-05 Jakub Jelinek <jakub@redhat.com> |
2221 | ||
2222 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. | |
2223 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. | |
2224 | ||
5e2f1575 AM |
2225 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
2226 | ||
e5caa5e0 AM |
2227 | * ldexp.c (align_n): Make static. |
2228 | * ldexp.h (align_n): Delete declaration. | |
2229 | * ldlang.h (lang_enter_output_section_statement): Remove | |
2230 | block_value param. | |
2231 | * ldlang.c (lang_enter_output_section_statement): Likewise. | |
2232 | (TO_ADDR, TO_SIZE): Define. | |
c2df3ea5 | 2233 | (opb_shift): New var. |
e5caa5e0 AM |
2234 | (init_opb): New function. |
2235 | (print_input_section): Call init_opb and use TO_ADDR. | |
2236 | (print_data_statement, print_reloc_statement): Likewise. | |
2237 | (print_padding_statement): Likewise. | |
c2df3ea5 | 2238 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
e5caa5e0 AM |
2239 | (lang_check_section_addresses): Likewise. |
2240 | (lang_size_sections_1): Likewise. | |
2241 | (lang_do_assignments_1): Likewise. | |
2242 | (lang_set_startof): Likewise. | |
c2df3ea5 | 2243 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
e5caa5e0 | 2244 | (lang_process): Call init_opb. |
c2df3ea5 | 2245 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
e5caa5e0 AM |
2246 | (lang_enter_overlay_section): Adjust |
2247 | lang_enter_output_section_statement call. | |
2248 | * ldgram.y: Likewise. | |
2249 | * mri.c (mri_draw_tree): Likewise. | |
2250 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
2251 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
2252 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
2253 | ||
5e2f1575 AM |
2254 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
2255 | * ldfile.h (ldfile_set_output_arch): Ditto. | |
2256 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use | |
2257 | ldfile_set_output_arch. | |
2258 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2259 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2260 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2261 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2262 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2263 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2264 | * ldgram.y: Adjust ldfile_set_output_arch call. | |
2265 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2266 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2267 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2268 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2269 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. | |
2270 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2271 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
2272 | ||
b50c15dc NC |
2273 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
2274 | ||
2275 | * configure.tgt: Add m68k-uClinux target. | |
6edf0760 | 2276 | |
c9e214e5 | 2277 | For older changes see ChangeLog-0203 |
252b5132 RH |
2278 | \f |
2279 | Local Variables: | |
2280 | mode: change-log | |
2281 | left-margin: 8 | |
2282 | fill-column: 74 | |
2283 | version-control: never | |
2284 | End: |