]>
Commit | Line | Data |
---|---|---|
5b0e55b6 JT |
1 | 2002-06-04 Jason Thorpe <[email protected]> |
2 | ||
3 | * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, | |
4 | eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. | |
5 | (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) | |
6 | (eshlelf64_nbsd.c): New rules. | |
7 | * Makefile.in: Regenerate. | |
8 | * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) | |
9 | (sh64-*-netbsd*): New targets. | |
10 | * emulparams/shelf32_nbsd.sh: New file. | |
11 | * emulparams/shelf64_nbsd.sh: New file. | |
12 | * emulparams/shlelf32_nbsd.sh: New file. | |
13 | * emulparams/shlelf64_nbsd.sh: New file. | |
14 | ||
9ad85d9b AM |
15 | 2002-06-04 Alan Modra <[email protected]> |
16 | ||
17 | * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix. | |
18 | ||
0c9b4fee MM |
19 | 2002-06-02 Marek Michalkiewicz <[email protected]> |
20 | ||
21 | * scripttempl/avr.sc: Changes to support current GCC and avr-libc, | |
22 | C++ constructors/destructors, loosely based on the m68hc11 port. | |
23 | ||
2c538bde AM |
24 | 2002-05-31 Alan Modra <[email protected]> |
25 | ||
26 | * Makefile.in: Regenerate. | |
27 | * aclocal.m4: Regenerate. | |
28 | * config.in: Regenerate. | |
29 | * configure: Regenerate. | |
30 | ||
a0cb91c6 AM |
31 | 2002-05-31 Graeme Peterson <[email protected]> |
32 | ||
33 | * Makefile.am (ALL_EMULATIONS): Add ei386nto.o. | |
34 | (ei386nto.c): Add rule. | |
35 | * Makefile.in: Regenerate. | |
36 | * configure.tgt: Add i[3456]86-*-nto-qnx*. | |
37 | * emulparams/i386nto.sh: New file. | |
38 | ||
37020578 JT |
39 | 2002-05-29 Jason Thorpe <[email protected]> |
40 | ||
41 | * NEWS: Add entry for VAX ELF support. | |
42 | ||
ab68f3e0 JT |
43 | 2002-05-29 Matt Thomas <[email protected]> |
44 | Jason Thorpe <[email protected]> | |
45 | ||
46 | * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. | |
47 | (eelf32vax.c) | |
48 | (evaxnbsd.c): New rules. | |
49 | * Makefile.in: Regenerate. | |
50 | * configure.tgt (vax-*-netbsdelf*) | |
51 | (vax-*-netbsdaout*) | |
52 | (vax-*-netbsd*): New targets. | |
53 | * emulparams/elf32vax.sh: New file. | |
54 | * emulparams/vaxnbsd.sh: New file. | |
55 | ||
8afb0e02 NC |
56 | 2002-05-29 Adam Nemet <[email protected]> |
57 | ||
58 | * emultempl/armelf.em (arm_elf_after_open): Don't determine | |
59 | bfd_for_interwork, instead add glue sections to each input bfd. | |
60 | (bfd_for_interwork): New global. | |
61 | (arm_elf_set_bfd_for_interworking): New function. | |
62 | (arm_elf_before_allocation): Use it. | |
63 | ||
d172d4ba NC |
64 | 2002-05-28 Kuang Hwa Lin <[email protected]> |
65 | ||
66 | * Makefile.am: Add DLX make target. | |
67 | * configure.tgt: Add DLX configuration. | |
68 | * Makefile.in: Regenerate. | |
69 | * emulparams/elf32_dlx.sh: New file | |
70 | * scripttempl/dlx.sc: New file | |
71 | ||
b4477fa8 NC |
72 | 2002-05-27 Per Lundberg <[email protected]> |
73 | ||
74 | * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script. | |
75 | * Makefile.in: Regenerate. | |
76 | * emulparams/elf_chaos.sh: Use elf_chaos script. | |
77 | * scripttempl/elf_chaos.sc: New file. | |
78 | ||
ee3cc2e2 RS |
79 | 2002-05-27 Richard Sandiford <[email protected]> |
80 | ||
81 | * ldlang.c (lang_size_sections_1): Move check for conflicting load | |
82 | addresses and regions from here... | |
83 | (lang_get_regions): ...to this new function. | |
84 | (lang_leave_output_section_statement): Use lang_get_regions. | |
85 | (lang_leave_overlay): Likewise. | |
86 | * mri.c (mri_draw_tree): Pass null as last argument to | |
87 | lang_leave_output_section_statement. | |
88 | * emultempl/elf32.em (gld*_place_orphan): Likewise. | |
89 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
90 | * emultempl/pe.em (gld*_place_orphan): Likewise. | |
91 | ||
aa501e5c JT |
92 | 2002-05-26 Jason Thorpe <[email protected]> |
93 | ||
94 | * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. | |
95 | ||
658957db KH |
96 | 2002-05-25 Kazu Hirata <[email protected]> |
97 | ||
98 | * ldemul.c: Fix formatting. | |
99 | * ldfile.c: Likewise. | |
100 | * pe-dll.c: Likewise. | |
101 | * pe-dll.h: Likewise. | |
102 | ||
3511b595 AM |
103 | 2002-05-25 Alan Modra <[email protected]> |
104 | ||
0d6d936f AM |
105 | * ldlang.c (lang_process): Formatting, grammar. |
106 | ||
3511b595 AM |
107 | * ldlex.l: Use #include "" instead of <> for local header files. |
108 | ||
436e8db0 NC |
109 | 2002-05-24 TAMURA Kent <[email protected]> |
110 | ||
111 | * configure.tgt: Add a target for i386-netbsdpe. | |
112 | ||
13ae64f3 JJ |
113 | 2002-05-23 Jakub Jelinek <[email protected]> |
114 | ||
115 | * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss. | |
116 | * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for | |
117 | output section if necessary. Handle .tbss. | |
118 | (lang_size_sections): Clear _raw_size for .tbss section | |
119 | (it allocates space in PT_TLS segment only). | |
120 | * ldwrite.c (build_link_order): Build link order for .tbss too. | |
121 | ||
68b2fc7a AM |
122 | 2002-05-23 Alan Modra <[email protected]> |
123 | ||
124 | * configure.in: Correct spelling of AC_PREREQ. | |
125 | ||
70b0be79 CF |
126 | 2002-05-21 Danny Smith <[email protected]> |
127 | ||
128 | * pe-dll.c (autofilter_liblist): Add more system libs excluded by | |
129 | default. | |
130 | (autofilter_objlist): Add crtbegin.o, crtend.o. | |
131 | ||
132 | 2002-05-21 Danny Smith <[email protected]> | |
133 | ||
134 | * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. | |
135 | (longopts): Add new option --exclude-libs. | |
136 | (gld_${EMULATION_NAME}_list_options): Give quick help about it. | |
137 | (gld_${EMULATION_NAME}_parse_args): Use it. | |
138 | * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. | |
139 | * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols | |
140 | from whole archives. | |
141 | (pe_dll_add_excludes): Set excludes->type. | |
142 | (auto_export): Add new variable libname and set to archive basename if | |
143 | abfd. Use it when filtering default and user-specified libarary | |
144 | excludes. Let string "ALL" mean all libs when filtering user-specified | |
145 | libs. | |
146 | * ld.texinfo: Document --exclude-libs. | |
147 | ||
fac1652d AM |
148 | 2002-05-22 Alan Modra <[email protected]> |
149 | ||
150 | * ldemul.c (ldemul_new_vers_pattern): New function. | |
151 | * ldemul.h (ldemul_new_vers_pattern): Declare. | |
152 | (struct ld_emulation_xfer_struct): Add new_vers_pattern. | |
153 | * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern. | |
154 | * emultempl/ppc64elf.em (dotsyms): New static var. | |
155 | (gld${EMULATION_NAME}_new_vers_pattern): New function. | |
156 | (LDEMUL_NEW_VERS_PATTERN): Define. | |
157 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS. | |
158 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
159 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
160 | * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update | |
161 | initialiser. | |
162 | * emultempl/armcoff.em: Likewise. | |
163 | * emultempl/armelf_oabi.em: Likewise. | |
164 | * emultempl/beos.em: Likewise. | |
165 | * emultempl/elf32.em: Likewise. | |
166 | * emultempl/generic.em: Likewise. | |
167 | * emultempl/gld960.em: Likewise. | |
168 | * emultempl/gld960c.em: Likewise. | |
169 | * emultempl/linux.em: Likewise. | |
170 | * emultempl/lnk960.em: Likewise. | |
171 | * emultempl/m68kcoff.em: Likewise. | |
172 | * emultempl/mipsecoff.em: Likewise. | |
173 | * emultempl/pe.em: Likewise. | |
174 | * emultempl/sunos.em: Likewise. | |
175 | * emultempl/ticoff.em: Likewise. | |
176 | * emultempl/vanilla.em: Likewise. | |
177 | ||
eb3d6bb8 AM |
178 | 2002-05-22 Alan Modra <[email protected]> |
179 | ||
180 | * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir | |
181 | and $NATIVE_LIB_DIRS. Add $tool_lib before other libs. | |
182 | (LIB_SEARCH_DIRS): No need to use "tr". | |
183 | (COMPILE_IN): Only set for native targets. | |
184 | * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs | |
185 | here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh. | |
186 | * configure.tgt (powerpc*): Set tdir_*. | |
187 | (powerpcle*): Correct targ_extra_emuls. | |
188 | * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs. | |
189 | * emulparams/elf64ppc.sh (LIB_PATH): Likewise. | |
190 | ||
54f24647 AM |
191 | 2002-05-22 Alan Modra <[email protected]> |
192 | ||
193 | * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when | |
194 | calling lang_add_entry. | |
195 | ||
aa713662 L |
196 | 2002-05-21 H.J. Lu ([email protected]) |
197 | ||
198 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle | |
199 | "-z muldefs". | |
200 | (gld${EMULATION_NAME}_list_options): Add "-z muldefs". | |
201 | ||
202 | * ld.texinfo: Updated for --allow-multiple-definition and | |
203 | "-z muldefs". | |
204 | ||
205 | * ldmain.c (main): Initialize the allow_multiple_definition | |
206 | field to false. | |
207 | ||
208 | * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. | |
209 | (ld_options): Add --allow-multiple-definition. | |
210 | (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. | |
211 | ||
658f2588 JT |
212 | 2002-05-21 Jason Thorpe <[email protected]> |
213 | ||
214 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. | |
215 | (earmelfb_nbsd.c): New rule. | |
216 | * Makefile.in: Regenerate. | |
217 | * configure.tgt (armeb-*-netbsdelf*): New target. | |
218 | (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls. | |
219 | (arm-*-netbsd*): Likewise. | |
220 | * emulparams/armelfb_nbsd.sh: New file. | |
221 | ||
ca10c62d TR |
222 | 2002-05-18 Tom Rix <[email protected]> |
223 | ||
224 | * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib | |
225 | support. | |
226 | ||
fae1e84f MM |
227 | 2002-05-17 Marek Michalkiewicz <[email protected]> |
228 | ||
229 | * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5. | |
230 | * Makefile.in: Regenerate. | |
231 | * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls. | |
232 | ||
7c8bf1e8 MM |
233 | 2002-05-16 Marek Michalkiewicz <[email protected]> |
234 | ||
235 | * emulparams/avr1.sh: New file. | |
236 | * emulparams/avr2.sh: New file. | |
237 | * emulparams/avr3.sh: New file. | |
238 | * emulparams/avr4.sh: New file. | |
239 | * emulparams/avr5.sh: New file. | |
240 | * scripttempl/avr.sc: New file. | |
241 | ||
c2c01aa7 AM |
242 | 2002-05-15 Alan Modra <[email protected]> |
243 | ||
244 | * ldlang.c (section_already_linked): Call bfd_link_just_syms. | |
245 | (lang_place_orphans): Abort if just_syms_flag. | |
246 | ||
f1f0d9ab TR |
247 | 2002-05-10 Tom Rix <[email protected]> |
248 | ||
249 | * emultempl/aix.em: (gld*_set_output_arch): New function. Use | |
250 | architecture and machine information in the output bfd. | |
251 | (gld*_before_parse): Remove old arch and machine code. | |
252 | (choose_target): Rename to gld*_choose_target. | |
253 | (rtld): Change type to int. | |
254 | * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for | |
255 | objects in XCOFF archives. | |
256 | * ldfile.h: Update copyright date. | |
257 | ||
f4d73366 JJ |
258 | 2002-05-10 Jakub Jelinek <[email protected]> |
259 | ||
260 | * ldmain.c (main): Enable -z combreloc by default. | |
261 | ||
d3d8a9ee NC |
262 | 2002-05-07 Federico G. Schwindt <[email protected]> |
263 | ||
264 | * Makefile.am: Honour DESTDIR. | |
265 | * Makefile.in: Regenerate. | |
266 | ||
9f88b410 RS |
267 | 2002-05-07 Richard Sandiford <[email protected]> |
268 | ||
269 | * ldlang.h (lang_output_section_statement_type): Add update_dot_tree. | |
270 | (lang_enter_overlay): Remove the last two parameters. | |
271 | (lang_leave_overlay): Take them here instead. | |
272 | * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. | |
273 | (section): Pass LMA and crossref flag to lang_leave_overlay rather | |
274 | than lang_enter_overlay. | |
275 | * ldlang.c (lang_memory_region_lookup): Return null for null names. | |
276 | (lang_output_section_statement_lookup): Initialize update_dot_tree. | |
277 | (lang_size_sections_1): Evaluate it. | |
278 | (lang_leave_output_section_statement): Rework LMA lookup. | |
279 | (overlay_lma, overlay_nocrossrefs): Remove. | |
3511b595 | 280 | (lang_enter_overlay): Remove LMA and crossref arguments. |
9f88b410 RS |
281 | (lang_enter_overlay_section): Don't set the LMA here. |
282 | (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' | |
283 | assignment to the last section's update_dot_tree. Unconditionally | |
284 | use the load and run-time regions specified in the OVERLAY statement. | |
285 | Likewise the first section's LMA. Only set the other sections' LMAs | |
286 | when no load region is given. | |
287 | ||
b9a743c8 NC |
288 | 2002-05-06 Nick Clifton <[email protected]> |
289 | ||
290 | * po/sv.po: New translation. | |
291 | ||
a3d60be3 AM |
292 | 2002-05-04 Alan Modra <[email protected]> |
293 | ||
294 | * emultempl/hppaelf.em (build_section_lists): New function. | |
295 | (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists | |
296 | and build_section_lists. | |
297 | ||
b7a26f91 KH |
298 | 2002-05-03 Kazu Hirata <[email protected]> |
299 | ||
300 | * ld.h: Fix formatting. | |
301 | * ldexp.c: Likewise. | |
302 | * ldfile.c: Likewise. | |
303 | * ldlang.c: Likewise. | |
304 | * ldmain.c: Likewise. | |
305 | * lexsup.c: Likewise. | |
306 | * pe-dll.c: Likewise. | |
307 | ||
805fc799 AM |
308 | 2002-05-02 Alan Modra <[email protected]> |
309 | ||
310 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): | |
311 | Adjust for ppc64_elf_set_toc change. #include libbfd.h. | |
312 | (build_section_lists): Do output_section tests here. | |
313 | ||
cc7e59b2 TR |
314 | 2002-04-30 Tom Rix <[email protected]> |
315 | ||
316 | * emultempl/aix.em : (gld*_parse_arge): Formatting changes. | |
317 | ||
9c1d81c1 AM |
318 | 2002-05-01 Alan Modra <[email protected]> |
319 | ||
320 | Long branch stubs, multiple stub sections. | |
321 | * emultempl/ppc64elf.em: Include ldctor.h. | |
322 | (stub_file): New var. | |
323 | (group_size): New var. | |
324 | (ppc_create_output_section_statements): New function. | |
325 | (struct hook_stub_info): New. | |
326 | (hook_in_stub): New function. | |
327 | (ppc_add_stub_section): New function. | |
328 | (ppc_layout_sections_again): New function. | |
329 | (build_section_lists): New function. | |
330 | (gld${EMULATION_NAME}_finish): Rewrite. | |
331 | (real_func): New var. | |
332 | (ppc_for_each_input_file_wrapper): New function. | |
333 | (ppc_lang_for_each_input_file): New function. | |
334 | (lang_for_each_input_file): Define. | |
335 | (PARSE_AND_LIST_PROLOGUE): Define. | |
336 | (PARSE_AND_LIST_LONGOPTS): Define. | |
337 | (PARSE_AND_LIST_OPTIONS): Define. | |
338 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
339 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. | |
340 | ||
aa67bccf TR |
341 | 2002-04-30 Tom Rix <[email protected]> |
342 | ||
343 | * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add | |
344 | -blibpath, -bnolibpath support. | |
345 | ||
94349e12 MM |
346 | 2002-04-30 Mark Mitchell <[email protected]> |
347 | ||
348 | * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o. | |
349 | (eelf32ppcwindiss.c): New target. | |
350 | * Makefile.in: Regenerated. | |
351 | * configure.tgt: Add support for powerpc-*-windiss. | |
352 | * emulparams/elf32ppcwindiss.sh: New file. | |
353 | ||
7b17f854 RS |
354 | 2002-04-30 Richard Sandiford <[email protected]> |
355 | ||
356 | * ldlang.c (print_assignment): Update print_dot for assignments to ".". | |
357 | * ldexp.c (exp_print_token): Add "infix_p" argument. | |
358 | (exp_print_tree): Update accordingly. | |
359 | ||
596dafeb AM |
360 | 2002-04-28 Alan Modra <[email protected]> |
361 | ||
362 | * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files. | |
363 | * Makefile.in: Regenerate. | |
364 | * mpw-elfmips.c: Delete. | |
365 | * mpw-eppcmac.c: Delete. | |
366 | * mpw-esh.c: Delete. | |
367 | * mpw-idtmips.c: Delete. | |
368 | ||
a44d7f9c JR |
369 | Wed Apr 17 19:23:14 2002 J"orn Rennecke <[email protected]> |
370 | ||
371 | * emulparams/shelf32.sh (MACHINE): Now sh5. | |
372 | ||
944cd72c TS |
373 | 2002-04-17 Thiemo Seufer <[email protected]> |
374 | ||
375 | * ldgram.y: Fix syntax warning. | |
376 | ||
5835c212 NC |
377 | 2002-04-11 Nick Clifton <[email protected]> |
378 | ||
379 | * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order | |
380 | to prevent "-n" from being taken as an abbreviation for | |
381 | "--no-pipeline-knowledge". | |
382 | ||
024531e2 AM |
383 | 2002-04-08 Alan Modra <[email protected]> |
384 | ||
d08a14c3 AM |
385 | * ldlang.c (lang_size_sections_1): Don't complain about |
386 | SEC_NEVER_LOAD sections having no memory region specified. | |
387 | ||
024531e2 AM |
388 | * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix. |
389 | ||
c657a1f0 MG |
390 | 2002-04-07 matthew green <[email protected]> |
391 | ||
392 | * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF. | |
393 | ||
61bef6f1 AM |
394 | 2002-04-04 Alan Modra <[email protected]> |
395 | ||
396 | * dep-in.sed: Cope with absolute paths. | |
397 | * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. | |
398 | Run "make dep-am". | |
399 | * Makefile.in: Regenerate. | |
400 | ||
49ba2791 TS |
401 | 2002-04-04 Thiemo Seufer <[email protected]> |
402 | ||
403 | * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options. | |
404 | ||
50e60fb5 JJ |
405 | 2002-04-03 Jakub Jelinek <[email protected]> |
406 | ||
407 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size | |
408 | is smaller than maximum, round dot up to common page boundary. | |
409 | ||
6f12f4ca AM |
410 | 2002-03-28 Alan Modra <[email protected]> |
411 | ||
412 | * configure.host: Set up for generic hosts first, then tweak as | |
413 | necessary in more specific targets. | |
414 | (HOSTING_LIBS): Include libgcc_eh.a if found. | |
415 | ||
a8f1f017 AJ |
416 | 2002-03-23 Andreas Jaeger <[email protected]> |
417 | ||
418 | * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it. | |
419 | ||
1d3fdf38 AM |
420 | 2002-03-21 Alan Modra <[email protected]> |
421 | ||
422 | * Makefile.am: Run "make dep-am". | |
423 | * Makefile.in: Regenerate. | |
424 | ||
79b1faa8 AM |
425 | 2002-03-21 Albert Chin-A-Young <[email protected]> |
426 | ||
427 | * genscripts.sh (LIB_SEARCH_DIRS): Quote path. | |
428 | ||
fcf0e35b AM |
429 | 2002-03-20 Alan Modra <[email protected]> |
430 | ||
431 | * ldlang.c (ldlang_add_undef): If the output bfd has been opened, | |
432 | add the symbol to the linker hash table immediately. | |
433 | (lang_place_undefineds): Split symbol creation out.. | |
434 | (insert_undefined): ..to here. | |
435 | ||
fed2999d DB |
436 | 2002-03-18 David O'Brien <[email protected]> |
437 | ||
438 | * emultempl/elf32.em: Use lbasename vs. basename to fix problem where | |
439 | the contents of the buffer returned from basename function will are | |
440 | getting overwritten while still being used. | |
441 | ||
beb43bb9 JH |
442 | Mon Mar 18 17:38:39 CET 2002 Jan Hubicka <[email protected]> |
443 | Andreas Jaeger <[email protected]> | |
444 | Andreas Schwab <[email protected]> | |
445 | ||
446 | * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. | |
447 | * elf_x86_64.sh (ARCH): Set to i386:x86-64 | |
448 | set libraries to default to lib64 paths. | |
449 | ||
eb1e0e80 NC |
450 | 2002-03-18 Tom Rix <[email protected]> |
451 | ||
452 | * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support. | |
453 | * configure.tgt : Same. | |
454 | * emulparms/aix5ppc.sh : New file. For eaix5ppc. | |
455 | * emulparms/aix5rs6.sh : New file. For eaix5rs6. | |
456 | * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT | |
457 | emulation parameters for better -b32, -b64 support. | |
458 | * emulparms/aixrs6.sh : Same. | |
459 | * emulparms/ppcmacos.sh : Same. | |
460 | * emultempl/aix.em (choose_target) : Use new emulation parameters | |
461 | OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT. | |
462 | * Makefile.in : Regenerate. | |
463 | ||
a1c259a1 NC |
464 | 2002-03-18 Nick Clifton <[email protected]> |
465 | ||
466 | * po/fr.po: Updated version. | |
467 | ||
862120bd AM |
468 | 2002-03-18 Alan Modra <[email protected]> |
469 | ||
470 | * ldmain.c (main): Move .text readonly flag fudges from here.. | |
471 | * ldlang.c (lang_process): ..to here. | |
472 | ||
d35a52e2 AM |
473 | 2002-03-14 Alan Modra <[email protected]> |
474 | ||
475 | * ldlang.c (lang_check): Remove the word size check added in last | |
476 | change. Treat emitrelocations case as for relocatable links. | |
477 | ||
9ce88e60 NC |
478 | 2002-03-13 Nick Clifton <[email protected]> |
479 | ||
480 | * po/fr.po: Updated version. | |
481 | ||
30cba025 AM |
482 | 2002-03-13 Alan Modra <[email protected]> |
483 | ||
484 | * ldlang.c (lang_check): Do relocatable link checks first, so that | |
485 | warn_mismatch can't override. Check compatible and word size too. | |
486 | ||
84ec0e6d DJ |
487 | 2002-03-07 Daniel Jacobowitz <[email protected]> |
488 | ||
489 | * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo. | |
490 | ||
2d13d8c5 JJ |
491 | 2002-03-05 Jakub Jelinek <[email protected]> |
492 | ||
493 | * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with | |
494 | DATA_SEGMENT_ALIGN. | |
495 | ||
b5090659 L |
496 | 2002-03-04 H.J. Lu <[email protected]> |
497 | ||
498 | * scripttempl/elf.sc: Put .preinit_array, .init_array and | |
499 | .fini_array in the data segment. | |
500 | ||
f42ce16e AM |
501 | 2002-03-04 Alan Modra <[email protected]> |
502 | ||
503 | * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit. | |
504 | ||
de77b6ac RH |
505 | 2002-03-01 David Mosberger <[email protected]> |
506 | ||
507 | * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, | |
508 | .init_array, and .fini_array. | |
509 | ||
997e08c0 AS |
510 | 2002-02-20 Andreas Schwab <[email protected]> |
511 | ||
512 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold | |
513 | .IA64_unwind* in a relocatable link. | |
514 | ||
9a66911f NC |
515 | 2002-02-20 Nick Clifton <[email protected]> |
516 | ||
517 | * NEWS: Mark 2.12 branch. | |
518 | ||
d86bcc10 MS |
519 | 2002-02-19 Martin Schwidefsky <[email protected]> |
520 | ||
521 | * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". | |
522 | * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit". | |
523 | ||
69f284c7 TR |
524 | 2002-02-18 Tom Rix <[email protected]> |
525 | ||
526 | * emultempl/aix.em (gld*_parse_args): Add -brtl support. | |
527 | (gld*_before_allocation): Same. | |
a8f1f017 | 528 | (gld*_create_output_section_statements): Generate |
69f284c7 TR |
529 | __rtinit if run time linking. Add librtl.a to the link. |
530 | (gld*_read_file): Clean. | |
531 | ||
82bd7b59 AM |
532 | 2002-02-18 Alan Modra <[email protected]> |
533 | ||
534 | * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define. | |
535 | ||
ac3e50bf DB |
536 | 2002-02-18 David O'Brien <[email protected]> |
537 | ||
6a7f963b | 538 | * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, |
ac3e50bf DB |
539 | eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, |
540 | and eelf64alpha_fbsd. | |
6a7f963b | 541 | * Makefile.in: Regenerate. |
ac3e50bf DB |
542 | * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, |
543 | x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): | |
544 | use a FreeBSD-specific emulation rather than the psABI one. | |
545 | * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value | |
546 | for all FreeBSD ELF systems. | |
547 | * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI | |
548 | emulation. | |
549 | * emulparams/elf32ppc_fbsd.sh: Likewise. | |
550 | * emulparams/elf64_ia64_fbsd.sh: Likewise. | |
551 | * emulparams/elf64_sparc_fbsd.sh: Likewise. | |
552 | * emulparams/elf64alpha_fbsd.sh: Likewise. | |
553 | * emulparams/elf_i386_fbsd.sh: Likewise. | |
554 | * emulparams/elf_x86_64_fbsd.sh: Likewise. | |
555 | ||
6ad738c5 NC |
556 | 2002-02-18 Nick Clifton <[email protected]> |
557 | ||
558 | * po/tr.po: Updated version. | |
559 | ||
9673c93c AM |
560 | 2002-02-18 Alan Modra <[email protected]> |
561 | ||
562 | * ld.texinfo (Output Section Fill): Fix amateur texinfo. | |
563 | (FILL): Likewise. | |
564 | ||
1c5e6447 HPN |
565 | 2002-02-17 Hans-Peter Nilsson <[email protected]> |
566 | ||
567 | * emultempl/mmo.em (mmo_after_open): Don't call | |
568 | _bfd_mmix_check_all_relocs when producing ELF output. | |
569 | ||
8bb57516 RH |
570 | 2002-02-15 Richard Henderson <[email protected]> |
571 | ||
de77b6ac | 572 | * emulparams/elf64alpha.sh (NOP): Adjust for big-endian |
8bb57516 RH |
573 | definition. Emit a unop+nop pair. |
574 | ||
49fda6c8 HPN |
575 | 2002-02-15 Hans-Peter Nilsson <[email protected]> |
576 | ||
83c2d653 HPN |
577 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check |
578 | for presence of .MMIX.reg_contents.linker_allocated before early | |
579 | exit. | |
580 | ||
49fda6c8 HPN |
581 | * NEWS: Mention support for MMIX. |
582 | ||
2c382fb6 AM |
583 | 2002-02-15 Alan Modra <[email protected]> |
584 | ||
585 | Support arbitrary length fill patterns. | |
a139d329 AM |
586 | * ld.texinfo (Output Section Fill): Describe fill expressions. |
587 | (FILL): Refer to the above. | |
2c382fb6 AM |
588 | * ldexp.h (etree_value_type): Add "str" field. |
589 | (union etree_union): Add "str" to "value" struct. | |
590 | (exp_bigintop): Declare. | |
591 | (exp_get_fill): Declare. | |
592 | * ldexp.c: Include "safe-ctype.h". | |
593 | (exp_intop): Set value.str to NULL. | |
594 | (exp_bigintop): New function. | |
595 | (new_rel): Pass in "str", and set new.str from it. | |
596 | (new_rel_from_section): Set new.str to NULL. | |
597 | (fold_name): Adjust calls to new_rel. | |
598 | (exp_fold_tree): Likewise. | |
599 | (exp_get_fill): New function. | |
600 | * ldgram.y (struct big_int bigint, fill_type *fill): New. | |
601 | (INT): Returns a "bigint". Adjust all code handling INTs. | |
602 | (fill_opt): Returns a "fill". | |
603 | (fill_exp): Split out of fill_opt, use for FILL. | |
604 | * ldlang.h (struct _fill_type): New. | |
605 | (fill_type): Move typedef to ldexp.h. | |
606 | (lang_output_section_statement_type): "fill" is now a pointer. | |
607 | (lang_fill_statement_type): Likewise. | |
608 | (lang_padding_statement_type): Likewise. | |
609 | (lang_add_fill): Now takes a "fill_type *" param. | |
610 | (lang_leave_output_section_statement): Likewise. | |
611 | (lang_do_assignments): Likewise. | |
612 | (lang_size_sections): Likewise. | |
613 | (lang_leave_overlay_section): Likewise. | |
614 | (lang_leave_overlay): Likewise. | |
615 | * ldlang.c: Include ldgram.h after ldexp.h. | |
616 | (lang_output_section_statement_lookup): Adjust for fill_type change. | |
617 | (print_fill_statement): Likewise. | |
618 | (print_padding_statement): Likewise. | |
619 | (insert_pad): Now takes a "fill_type *" arg. | |
620 | (size_input_section): Likewise. | |
621 | (lang_size_sections_1): Likewise. | |
622 | (lang_size_sections): Likewise. | |
623 | (lang_do_assignments): Likewise. | |
624 | (lang_add_fill): Likewise. | |
625 | (lang_leave_output_section_statement): Likewise. | |
626 | (lang_leave_overlay_section): Likewise. | |
627 | (lang_leave_overlay): Likewise. | |
628 | Adjust all callers of the above function. | |
629 | * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers | |
630 | starting with "0X" as well as "0x". Return bigint.str for hex | |
631 | numbers starting with "0x" or "0X", zero bigint.str otherwise. | |
632 | Always use base 16 for numbers starting with "$". | |
633 | * ldmain.c: Include ldgram.h after ldexp.h. | |
634 | * ldwrite.c (build_link_order): Use bfd_data_link_order in place | |
635 | of bfd_fill_link_order. | |
636 | * pe-dll.c: Adjust lang_do_assignments calls. | |
637 | * emultempl/elf32.em: Likewise. | |
638 | * emultempl/hppaelf.em: Likewise. | |
639 | * emultempl/ppc64elf.em: Likewise. | |
640 | * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust | |
641 | lang_add_assignment call. | |
642 | * emultempl/pe.em: Likewise. | |
643 | ||
313e35ee AM |
644 | 2002-02-14 Phil Edwards <[email protected]> |
645 | ||
a139d329 | 646 | * ld.texinfo (VERSION scripts): Symbol names are globbing patterns. |
313e35ee AM |
647 | * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; |
648 | the pattern in question is not a regexp. | |
649 | * ldlang.c: Likewise. | |
650 | * ldlang.h: Likewise. | |
651 | * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also. | |
652 | ||
2d20f7bf JJ |
653 | 2002-02-12 Jakub Jelinek <[email protected]> |
654 | ||
655 | * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. | |
656 | * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. | |
657 | (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp). | |
658 | * ldexp.c (exp_data_seg): New variable. | |
659 | (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END. | |
660 | (fold_binary): Handle DATA_SEGMENT_ALIGN. | |
661 | (exp_fold_tree): Handle DATA_SEGMENT_END. | |
662 | Pass allocation_done when recursing instead of hardcoding | |
663 | lang_allocating_phase_enum. | |
664 | * ldexp.h (exp_data_seg): New. | |
665 | * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections. | |
666 | (lang_size_sections): New. | |
667 | * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document. | |
668 | * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END | |
669 | if COMMONPAGESIZE is defined. | |
670 | * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K. | |
671 | * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K. | |
672 | * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K. | |
673 | * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K. | |
674 | * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared | |
675 | libraries only. | |
676 | ||
06880219 AM |
677 | 2002-02-11 Alan Modra <[email protected]> |
678 | ||
679 | * Makefile.in: Regenerate. | |
680 | ||
37b0ac0f DJ |
681 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
682 | ||
683 | * lexsup.c: Remove strtoul declaration. | |
684 | ||
4e5bae56 DJ |
685 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
686 | ||
687 | * ldmain.c: Add prototype for main (). | |
688 | * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. | |
689 | * emultempl/lnk960.em (lnk960_choose_target): Function should | |
690 | take two arguments. | |
691 | ||
1e281515 AM |
692 | 2002-02-10 Alan Modra <[email protected]> |
693 | ||
694 | * ldlang.c (entry_section): New initialised variable. | |
695 | (lang_finish): Use it. | |
696 | * ldlang.h (entry_section): Declare. | |
697 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set | |
698 | entry_section to ".opd". | |
699 | ||
f92d92ff | 700 | 2002-02-09 Chris Demetriou <[email protected]> |
0a9c1c8e CD |
701 | |
702 | * ld.texinfo (Options): Add back in -nostdlib documentation, | |
703 | which had been inadvertently removed. | |
704 | ||
74c44237 HPN |
705 | 2002-02-09 Hans-Peter Nilsson <[email protected]> |
706 | ||
707 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust | |
708 | register section vma to a sane value after emitting error. Make | |
709 | fatal conditions cause program exit when emitting message. | |
710 | ||
5e37cc46 NC |
711 | 2002-02-08 Ivan Guzvinec <[email protected]> |
712 | ||
713 | * configure.tgt: Add or32-*-rtems target. | |
714 | ||
2d92cb7d AO |
715 | 2002-02-08 Alexandre Oliva <[email protected]> |
716 | ||
717 | Contribute sh64-elf. | |
718 | 2002-01-24 Alexandre Oliva <[email protected]> | |
719 | * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined | |
720 | in OTHER_RELOCATABLE_SECTIONS. | |
721 | 2002-01-18 Alexandre Oliva <[email protected]> | |
722 | * emulparams/shelf32.sh (STACK_ADDR): Define. | |
723 | (OTHER_RELOCATABLE_SECTIONS): Renamed to... | |
724 | (OTHER_SECTIONS): this. Removed stack settings. | |
725 | * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set. | |
726 | (OTHER_SECTIONS): Reset after sourcing shelf32.sh. | |
727 | 2001-03-12 DJ Delorie <[email protected]> | |
728 | * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable | |
729 | relaxing if any shmedia or mixed sections are found. | |
730 | 2001-03-07 DJ Delorie <[email protected]> | |
731 | * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to | |
732 | einfo. Gracefully decline to output to non-elf formats. | |
733 | 2001-03-06 Hans-Peter Nilsson <[email protected]> | |
734 | * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>: | |
735 | Default to _end aligned to next multiple of 0x40000, plus 0x40000. | |
736 | * emulparams/shelf32.sh: Ditto. | |
737 | 2001-01-14 Hans-Peter Nilsson <[email protected]> | |
738 | * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak | |
739 | comment. | |
740 | 2001-01-10 Ben Elliston <[email protected]> | |
741 | * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid | |
742 | non-portable shell constructs. From Hans-Peter Nilsson. | |
743 | 2001-01-09 Hans-Peter Nilsson <[email protected]> | |
744 | * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty. | |
745 | * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust | |
746 | dependencies to the shell script include chain. | |
747 | * Makefile.in: Regenerate. | |
748 | 2001-01-06 Hans-Peter Nilsson <[email protected]> | |
749 | * emultempl/sh64elf.em: Update and tweak comments. | |
750 | (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and | |
751 | make a .cranges section SEC_IN_MEMORY. | |
752 | 2000-12-30 Hans-Peter Nilsson <[email protected]> | |
753 | * emultempl/sh64elf.em | |
754 | (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when | |
755 | .cranges section found to be necessary; continue and set stored | |
756 | section contents flags for sections with non-mixed contents. | |
757 | Use a struct sh64_section_data container and sh64_elf_section_data | |
758 | to store contents-type flags. | |
759 | Remove unused update of "isec". | |
760 | (sh64_elf_${EMULATION_NAME}_after_allocation): Only process | |
761 | sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to | |
762 | access contents-type flags. Assert that the associated container | |
763 | is initialized. Use that container, not elf_gp_size, to hold size | |
764 | of linker-generated cranges contents. | |
765 | 2000-12-18 Hans-Peter Nilsson <[email protected]> | |
766 | * emultempl/sh64elf.em | |
767 | (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if | |
768 | there's already a .cranges section. When section flag difference | |
769 | is found, don't NULL-check cranges a second time. Tweak comments. | |
770 | (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after | |
771 | merging, not max size, as size of ld-generated .cranges contents. | |
772 | Don't set ELF section flags in output section. When checking for | |
773 | needed .cranges descriptors, don't use a variable; compare | |
774 | incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak | |
775 | comments. | |
776 | 2000-12-18 Hans-Peter Nilsson <[email protected]> | |
777 | * emultempl/sh64elf.em: New file. | |
778 | * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. | |
779 | * Makefile.in: Regenerate. | |
780 | * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set. | |
781 | (OTHER_RELOCATING_SECTIONS): Ditto. | |
782 | (EXTRA_EM_FILE): New, set to sh64elf if not set. | |
783 | * emulparams/shlelf32.sh: Stub out all settings except | |
784 | OUTPUT_FORMAT. Source shelf32.sh. | |
785 | * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and | |
786 | OTHER_RELOCATING_SECTIONS. | |
787 | (OTHER_RELOCATING_SECTIONS): Remove .cranges. | |
788 | * emulparams/shlelf64.sh: Stub out all settings except | |
789 | OUTPUT_FORMAT. Source shelf64.sh. | |
790 | 2000-12-15 Hans-Peter Nilsson <[email protected]> | |
791 | * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include | |
792 | .cranges section. | |
793 | (DATA_START_SYMBOLS): Define, provide ___data. | |
794 | (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8 | |
795 | for consecutive .data section. | |
796 | (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss | |
797 | section after .data section. | |
798 | * emulparams/shlelf64.sh: Ditto. | |
799 | * emulparams/shelf32.sh: Ditto. | |
800 | (ALIGNMENT): Define to 8. | |
801 | * emulparams/shelf32.sh: Ditto. | |
802 | 2000-12-12 Hans-Peter Nilsson <[email protected]> | |
803 | * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get | |
804 | built-in linker scripts. | |
805 | 2000-11-30 Hans-Peter Nilsson <[email protected]> | |
806 | * emulparams/shlelf64.sh: New. | |
807 | * emulparams/shelf64.sh: New. | |
808 | * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to | |
809 | targ_extra_emuls. | |
810 | * Makefile.am: Add support for shlelf64 and shelf64. | |
811 | * Makefile.in: Regenerate. | |
812 | 2000-11-29 Hans-Peter Nilsson <[email protected]> | |
813 | * configure.tgt (sh64-*-elf*): Add shelf as default. | |
814 | Add shlelf to targ_extra_emuls. | |
815 | 2000-11-24 Hans-Peter Nilsson <[email protected]> | |
816 | * emulparams/shelf32.sh: New file. | |
817 | * emulparams/shlelf32.sh: New file. | |
818 | * Makefile.am: Add support for shlelf32 and shelf32. | |
819 | * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32. | |
820 | * Makefile.in: Regenerate. | |
821 | ||
e3dc8847 HPN |
822 | 2002-02-05 Hans-Peter Nilsson <[email protected]> |
823 | ||
824 | * ldlang.c (lang_reset_memory_regions): Rename from | |
825 | reset_memory_regions. Change all callers. Make public. | |
826 | * ldlang.h (lang_reset_memory_regions): Prototype. | |
827 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call | |
828 | lang_reset_memory_regions before lang_size_sections. | |
126730bd HPN |
829 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. |
830 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise. | |
e3dc8847 | 831 | |
8017dbcb HPN |
832 | 2002-02-04 Hans-Peter Nilsson <[email protected]> |
833 | ||
834 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed | |
835 | arithmetic when checking for too many global registers. | |
836 | ||
006336b8 JT |
837 | 2002-02-02 Jason Thorpe <[email protected]> |
838 | ||
839 | * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. | |
840 | (ehppanbsd.c): New rule. | |
841 | * Makefile.in: Regenerate. | |
842 | * configure.tgt (hppa*-*-netbsd*): New target. | |
843 | * emulparams/hppalinux.sh: Add comment to check other files | |
844 | that source this file it is modified, and list which | |
845 | files that do. | |
846 | * emulparams/hppanbsd.sh: New file. | |
847 | ||
da1f2fec GK |
848 | 2002-02-01 Geoffrey Keating <[email protected]> |
849 | ||
850 | * scripttempl/xstormy16.sc: Don't allocate extra space for the | |
851 | stack. | |
852 | ||
48fa4a5d HPN |
853 | 2002-02-01 Hans-Peter Nilsson <[email protected]> |
854 | ||
855 | Support on-demand global register allocation from | |
856 | R_MMIX_BASE_PLUS_OFFSET relocs. | |
857 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from | |
858 | mmix_set_reg_section_vma. Call | |
859 | _bfd_mmix_finalize_linker_allocated_gregs. | |
860 | (mmix_before_allocation): New function. | |
861 | (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. | |
862 | (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. | |
863 | * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. | |
864 | (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated | |
865 | before .MMIX.reg_contents. | |
866 | * emultempl/mmo.em (gldmmo_before_allocation): Define to default. | |
867 | (mmo_after_open): New function. | |
868 | (LDEMUL_AFTER_OPEN): Define to mmo_after_open. | |
869 | * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add | |
870 | .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. | |
871 | ||
3b16e843 NC |
872 | 2002-01-31 Ivan Guzvinec <[email protected]> |
873 | ||
874 | * emulparams/or32.sh: New file. | |
875 | * emulparams/or32elf.sh: New file. | |
876 | * scripttempl/or32.sc: New file. | |
877 | * configure.tgt : Add support for or32. | |
878 | * configure: Regenerate | |
879 | * Makefile.am: Add support for or32. | |
880 | * Makefile.in: Regenerate. | |
881 | * NEWS: Mention support for or32. | |
882 | * po/ld.pot: Regenerate. | |
883 | ||
f744d540 | 884 | 2002-01-29 Chris Demetriou <[email protected]> |
313e35ee | 885 | Mitch Lichtenberg <[email protected]> |
f744d540 CD |
886 | |
887 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself. | |
888 | * emultempl/mipself.em: New file to handle MIPS ELF embedded | |
889 | reloc creation (ld --embedded-relocs). | |
890 | ||
4867be41 DJ |
891 | 2002-01-27 Daniel Jacobowitz <[email protected]> |
892 | ||
893 | * configure: Regenerated. | |
894 | ||
cd8e197b HPN |
895 | 2002-01-26 Hans-Peter Nilsson <[email protected]> |
896 | ||
897 | * Makefile.am (install): Depend on install-info. | |
898 | * Makefile.in: Regenerate. | |
899 | ||
9cb61eab AM |
900 | 2002-01-26 Christian Rose <[email protected]> |
901 | ||
902 | * ldmain.c (main): Use full sentences to ease translation. | |
903 | ||
1caa7b23 NC |
904 | 2002-01-26 Nick Clifton <[email protected]> |
905 | ||
906 | * po/fr.po: Updated version. | |
907 | ||
1ddbd152 NC |
908 | 2002-01-25 Nick Clifton <[email protected]> |
909 | ||
910 | * po/es.po: Updated version. | |
911 | ||
1e84433f AJ |
912 | 2002-01-25 Andreas Jaeger <[email protected]> |
913 | ||
914 | * ldlex.l (yy_input): Correct error check. | |
915 | ||
6d39955e AM |
916 | 2002-01-25 Alan Modra <[email protected]> |
917 | ||
918 | * ldmisc.c (demangle): Put back dots when string not demangled. | |
919 | ||
a9ed1e1b RH |
920 | 2002-01-22 Richard Henderson <[email protected]> |
921 | ||
922 | * emulparams/elf64alpha.sh (NOP): Use unop. | |
923 | ||
968ec2b9 AJ |
924 | 2002-01-21 Andreas Jaeger <[email protected]> |
925 | ||
926 | * ldlex.l: Use fread instead of read. | |
927 | ||
9596feea JT |
928 | 2002-01-21 Jason Thorpe <[email protected]> |
929 | ||
930 | * configure.tgt (ia64-*-netbsd*): New target. | |
931 | ||
493a6d47 L |
932 | 2002-01-21 H.J. Lu <[email protected]> |
933 | ||
934 | * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to | |
935 | 0. | |
936 | * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise. | |
937 | ||
2a538ba5 AJ |
938 | 2002-01-18 Andreas Jaeger <[email protected]> |
939 | ||
940 | * ldver.c (ldversion): Update year. | |
941 | ||
328577ad NC |
942 | 2002-01-17 Nick Clifton <[email protected]> |
943 | ||
944 | * po/ld.pot: Regenerate. | |
945 | ||
1f808cd5 AM |
946 | 2002-01-16 Alan Modra <[email protected]> |
947 | ||
948 | * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em. | |
949 | * Makefile.in: Regenerate. | |
950 | * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define. | |
951 | * emultempl/ppc64elf.em: New file. | |
952 | ||
335c5610 DD |
953 | 2002-01-15 DJ Delorie <[email protected]> |
954 | ||
955 | * scripttempl/pe.sc: Add support for constructor priorities. | |
956 | ||
c40bbade DC |
957 | 2002-01-07 Marek Michalkiewicz <[email protected]> |
958 | ||
959 | * emulparams/avr1200.sh (DATA_START): Define as 0x60. | |
960 | * emulparams/avr23xx.sh: Likewise. | |
961 | * emulparams/avr4433.sh: Likewise. | |
962 | * emulparams/avr44x4.sh: Likewise. | |
963 | * emulparams/avr85xx.sh: Likewise. | |
964 | * emulparams/avrmega103.sh: Likewise. | |
965 | * emulparams/avrmega161.sh: Likewise. | |
966 | * emulparams/avrmega603.sh: Likewise. | |
967 | * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60. | |
968 | ||
34efb449 AO |
969 | 2002-01-08 Alexandre Oliva <[email protected]> |
970 | ||
971 | * ldlang.c (walk_wild_section): Exclude object file if enclosing | |
972 | archive is excluded. | |
973 | ||
8d05742f JT |
974 | 2002-01-07 Jason Thorpe <[email protected]> |
975 | ||
976 | * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. | |
2a538ba5 | 977 | (eshelf_nbsd.c): New rule. |
8d05742f JT |
978 | (eshlelf_nbsd.c): New rule. |
979 | * Makefile.in: Regenerate. | |
980 | * configure.tgt (sh*le-*-netbsdelf*): New target. | |
981 | (sh*-*-netbsdelf*): New target. | |
982 | * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. | |
983 | * ld/emulparams/shelf_nbsd.sh: New emulation. | |
984 | * ld/emulparams/shlelf_nbsd.sh: New emulation. | |
985 | ||
be2d1673 NC |
986 | 2002-01-07 Nick Clifton <[email protected]> |
987 | ||
988 | * po/es.po: New file: Spanish translation. | |
989 | * configure.in (ALL_LINGUAS): Add es. | |
990 | * configure: Regenerate. | |
991 | ||
dbab7a7b NC |
992 | 2002-01-06 John Marshall <[email protected]> |
993 | ||
994 | * ld.texinfo: Note that --emit-relocs is currently only | |
995 | implemented for ELF. | |
996 | ||
3dfe7a8c AM |
997 | 2002-01-05 Alan Modra <[email protected]> |
998 | ||
999 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use | |
1000 | of bfd_section_list_remove and bfd_section_list_insert macros. | |
1001 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
1002 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
1003 | ||
8a8b2d4b AJ |
1004 | 2002-01-04 Jason Thorpe <[email protected]> |
1005 | ||
1006 | * configure.tgt (x86_64-*-netbsd*): New target. | |
1007 | ||
9a4c7f16 TR |
1008 | 2001-12-21 Tom Rix <[email protected]> |
1009 | ||
8a8b2d4b | 1010 | (gld*_create_output_section_statements): New function. |
9a4c7f16 TR |
1011 | For -binitfini support. |
1012 | * emultempl/aix.em (gld*_before_parse): Fix comment. | |
1013 | * emultempl/aix.em (gld*_parse_args): Fix comment. | |
1014 | ||
3695c299 AM |
1015 | 2001-12-20 Jason Thorpe <[email protected]> |
1016 | ||
cf86e6df AM |
1017 | * configure.tgt (mips*-dec-netbsd*): Delete alias for |
1018 | mips*el-*-netbsd*. | |
1019 | (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls. | |
1020 | ||
3695c299 AM |
1021 | * configure.tgt (arm-*-netbsdelf*): Add target. |
1022 | (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. | |
1023 | * emulparams/armelf_nbsd.sh: Added. | |
1024 | * Makefile.am: Add rules for earmelf_nbsd. | |
1025 | * Makefile.in: Regenerate. | |
1026 | ||
97cb79ae AJ |
1027 | 2001-12-19 Andreas Jaeger <[email protected]>, |
1028 | Susanne Oberhauser <[email protected]> | |
1029 | ||
1030 | * configure.host: Add rules for x86_64-*linux-gnu. Change | |
1031 | s390x-linux entry to use gcc to report configuration, replace gcc | |
1032 | with $CC in s390-linux | |
1033 | ||
9d201f2f AJ |
1034 | 2001-12-19 Andreas Jaeger <[email protected]> |
1035 | ||
1036 | * ld.texinfo (VERSION): Fix markup. | |
1037 | ||
0b69cd08 MG |
1038 | 2001-12-18 matthew green <[email protected]> |
1039 | ||
1040 | * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. | |
1041 | (m68kelfnbsd.c): New rule. | |
1042 | * Makefile.in: Regenerate. | |
1043 | * configure.tgt (m68*-hp-netbsd*): Renamed to .. | |
1044 | (m68*-*-netbsd*4k*): .. this. | |
1045 | (m68*-*-netbsdelf*): New target. | |
1046 | (m68*-*-netbsd*): Also include ELF support. | |
1047 | (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. | |
1048 | * emulparams/m68kelfnbsd.sh: New emulation. | |
1049 | ||
6b9b879a JJ |
1050 | 2001-12-18 Jakub Jelinek <[email protected]> |
1051 | ||
1052 | * ldgram.y (vers_node): Support anonymous version tags. | |
1053 | * ldlang.c (lang_register_vers_node): Ensure anonymous version | |
1054 | tag is not defined together with non-anonymous versions. | |
1055 | * ld.texinfo: Document it. | |
1056 | ||
9fc877ed NC |
1057 | 2001-12-18 Nick Clifton <[email protected]> |
1058 | ||
1059 | * po/tr.po: New file: Turkish translation. | |
1060 | * configure.in (ALL_LINGUAS): Add tr. | |
1061 | * configure: Regenerate. | |
1062 | ||
fc18a3f3 RH |
1063 | 2001-12-17 Jason Thorpe <[email protected]> |
1064 | ||
1065 | * Makefile.am: Add rules for eelf64alpha_nbsd. | |
1066 | * Makefile.in: Regenerate. | |
1067 | * configure.tgt (alpha*-*-netbsd*): Set | |
1068 | targ_emul to elf64alpha_nbsd. | |
1069 | * emulparams/elf64alpha_nbsd.sh: Added. | |
1070 | ||
76f63e91 AM |
1071 | 2001-12-17 Alan Modra <[email protected]> |
1072 | ||
1073 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust | |
1074 | section_tail when fiddling with section list. | |
1075 | (gld${EMULATION_NAME}_list_options): Ensure sentences aren't | |
1076 | broken into separate strings to make translation easier. | |
1077 | * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when | |
1078 | fiddling with section list. | |
1079 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
1080 | ||
d03b89bd HPN |
1081 | 2001-12-16 Hans-Peter Nilsson <[email protected]> |
1082 | ||
1083 | * scripttempl/mmo.sc: Add .debug_ranges to listed sections. | |
1084 | ||
320fec9a AM |
1085 | 2001-12-15 Alan Modra <[email protected]> |
1086 | ||
1087 | * ldmain.c (main): Initialise link_info.eh_frame_hdr. | |
1088 | ||
65765700 JJ |
1089 | 2001-12-13 Jakub Jelinek <[email protected]> |
1090 | ||
1091 | * emultempl/elf32.em (finish): Supply output_bfd | |
1092 | to bfd_elf*_discard_info. | |
1093 | (OPTION_EH_FRAME_HDR): Define. | |
1094 | (longopts): Add --eh-frame-hdr. | |
1095 | (parse_args): Handle it. | |
1096 | (list_options): Add --eh-frame-hdr to help. | |
1097 | * emultempl/hppaelf.em (finish): Supply output_bfd | |
1098 | to bfd_elf*_discard_info. | |
1099 | * scripttempl/elf.sc (.eh_frame_hdr): Add. | |
1100 | ||
89894c62 AM |
1101 | 2001-12-13 Alan Modra <[email protected]> |
1102 | ||
1103 | * lexsup.c (parse_args): Don't pass shortopts to second call to | |
1104 | getopt functions. Restore optind rather than decrementing before | |
1105 | second call. Remove errind as it now duplicates last_optind. | |
1106 | ||
583f1926 CF |
1107 | 2001-12-11 Christopher Faylor <[email protected]> |
1108 | ||
1109 | * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo. | |
1110 | ||
93fbbb04 GK |
1111 | 2001-12-07 Geoffrey Keating <[email protected]> |
1112 | Richard Henderson <[email protected]> | |
1113 | ||
1114 | * Makefile.am: Add support for xstormy16. | |
1115 | * configure.tgt: Add support for xstormy16. | |
1116 | * Makefile.in: Regenerate. | |
1117 | * emulparams/elf32xstormy16.sh: New file. | |
1118 | * scripttempl/xstormy16.sc: New file. | |
1119 | ||
583f1926 CF |
1120 | 2001-10-01 Christopher Faylor <[email protected]> |
1121 | ||
fc18a3f3 RH |
1122 | * Makefile.in (LIB_PATH): Make configurable. |
1123 | (GENSCRIPTS): Set LIB_PATH in environment. | |
1124 | * configure.in: Substitute LIB_PATH. | |
1125 | * configure: Regenerate. | |
1126 | * configure.tgt (*cygwin): Set LIB_PATH for cross build. | |
1127 | * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. | |
583f1926 | 1128 | |
ff291a48 NC |
1129 | 2001-12-07 Nick Clifton <[email protected]> |
1130 | ||
1131 | * lexsup.c (ld_options): Insert 'PROGRAM' into the text string | |
1132 | describing the -N option so that it is easier to translate into | |
1133 | foreign languages. | |
1134 | ||
e3c8793a NC |
1135 | 2001-12-05 Nick Clifton <[email protected]> |
1136 | ||
1137 | * emultempl/pe.em (..._list_options): Replace multiple fprintf | |
1138 | statements describing a single option with a single, newline | |
1139 | escaped fprintf. This allows better translation into other | |
1140 | languages. | |
9d201f2f | 1141 | |
fc18a3f3 RH |
1142 | * ldmain.c (add_archive_element): Combine multiple strings |
1143 | into a single string to permit better translation into other | |
1144 | languages. | |
e3c8793a | 1145 | |
f2eab0af TR |
1146 | 2001-12-05 Tom Rix <[email protected]> |
1147 | ||
1148 | * Makefile.am: Remove eaixppc64. | |
9d201f2f | 1149 | * Makefile.in: Regenerate. |
f2eab0af | 1150 | |
249172c3 TR |
1151 | 2001-12-04 Tom Rix <[email protected]> |
1152 | ||
9d201f2f | 1153 | * emultempl/aix.em (choose_target): Change default target to |
249172c3 TR |
1154 | OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler |
1155 | warning. | |
1156 | (gld*_read_file): Fix typo. | |
1157 | (change_symbol_mode): Add prototype. | |
1158 | (is_syscall): Same. | |
9d201f2f | 1159 | |
249172c3 TR |
1160 | * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete. |
1161 | * emulparams/aixrs6.sh : Same. | |
1162 | * emulparams/ppcmacos.sh : Same. | |
1163 | * emulparams/aixppc64.sh : Delete file. | |
1164 | * emultempl/aix.em : Formatting changes. | |
1165 | ||
5b5cd1b0 HPN |
1166 | 2001-12-04 Hans-Peter Nilsson <[email protected]> |
1167 | ||
1168 | * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes. | |
1169 | (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting | |
1170 | __Sbss. | |
1171 | (OTHER_END_SYMBOLS): Fix formatting. | |
1172 | * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes. | |
1173 | (OTHER_END_SYMBOLS): Fix formatting. | |
1174 | ||
7cecdbff AM |
1175 | 2001-12-04 Alan Modra <[email protected]> |
1176 | ||
1177 | * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. | |
1178 | ||
742aeb63 | 1179 | 2001-12-02 Tom Rix <[email protected]> |
7cecdbff | 1180 | |
742aeb63 | 1181 | * configure.tgt : Remove eaixppc64 emulations. |
7cecdbff | 1182 | * Makefile.in : Remove eaixppc64.c |
742aeb63 TR |
1183 | * ldemul.c (ldemul_choose_target): New parameters argc, argv. |
1184 | (ldemul_default_target): Same. | |
1185 | * emultempl/gld960.em (gld960_choose_target): Same. | |
7cecdbff AM |
1186 | * emultempl/gld960c.em (gld960_choose_target): Same. |
1187 | * scripttempl/aix.sc: Remove OUTPUT_FORMAT. | |
742aeb63 TR |
1188 | * emultempl/aix.em (is_syscall): syscall_mask now a variable. |
1189 | * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable. | |
1190 | * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation. | |
7cecdbff | 1191 | * emultempl/aix.em (choose_target): New function. Handle emulation of |
742aeb63 TR |
1192 | -b32 and -b64. |
1193 | ||
48459341 L |
1194 | 2001-11-27 H.J. Lu <[email protected]> |
1195 | ||
1196 | * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. | |
1197 | * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. | |
1198 | * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. | |
1199 | * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. | |
1200 | * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. | |
1201 | * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. | |
1202 | * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. | |
1203 | * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. | |
1204 | ||
7cecdbff | 1205 | * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} |
48459341 L |
1206 | is not empty. |
1207 | (SDATA): Likewise. | |
1208 | (REL_SDATA): Likewise. | |
1209 | (REL_SBSS): Likewise. | |
1210 | (REL_SDATA2): Likewise. | |
1211 | (REL_SBSS2): Likewise. | |
1212 | (SBSS2): Define if ${NO_SMALL_DATA} is not empty. | |
1213 | (SDATA2): Likewise. | |
1214 | ||
ecfdd20c SC |
1215 | 2001-11-25 Stephane Carrez <[email protected]> |
1216 | ||
1217 | * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and | |
1218 | destructor in rom. | |
7cecdbff | 1219 | * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise. |
ecfdd20c | 1220 | |
da54c6eb L |
1221 | 2001-11-22 H.J. Lu <[email protected]> |
1222 | ||
1223 | * Makefile.in: Regenerated with automake based on automake | |
1224 | 1.4-8 in RedHat 7.1. | |
1225 | ||
465bc359 AM |
1226 | 2001-11-22 Alan Modra <[email protected]> |
1227 | ||
1228 | * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. | |
1229 | (config.status): Delete rule. | |
1230 | Add extra dependencies to cover sourced emulparams files. | |
1231 | * Makefile.in: Regenerate. | |
1232 | ||
1233 | * scripttempl/elf.sc: Order <section>, <section>.* and | |
1234 | corresponding linkonce sections as seen in input files. | |
1235 | Formatting fixes. Zero vma of all sections if not relocating. | |
1236 | (STACK): Define and insert if STACK_ADDR defined. | |
1237 | (OTHER_RELOCATING_SECTIONS): Delete. | |
1238 | (OTHER_END_SYMBOLS): Define. | |
1239 | (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. | |
1240 | (OTHER_READWRITE_SECTIONS): Likewise. | |
1241 | (OTHER_GOT_SECTIONS): Likewise. | |
1242 | (OTHER_SDATA_SECTIONS): Likewise. | |
1243 | (OTHER_BSS_SECTIONS): Likewise. | |
1244 | * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. | |
1245 | (OTHER_READWRITE_SECTIONS): Likewise. | |
1246 | * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. | |
1247 | (OTHER_READWRITE_SECTIONS): Likewise | |
1248 | ||
1249 | * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. | |
1250 | (STACK_ADDR): Define. | |
1251 | * emulparams/armelf_oabi.sh: As for armelf.sh. | |
1252 | * emulparams/elf32mcore.sh: As for armelf.sh. | |
1253 | * emulparams/h8300elf.sh: As for armelf.sh. | |
1254 | * emulparams/mn10200.sh: As for armelf.sh. | |
1255 | * emulparams/shelf.sh: As for armelf.sh. | |
1256 | ||
1257 | * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. | |
1258 | (OTHER_END_SYMBOLS): Define. | |
1259 | * emulparams/m32relf.sh: As for elf32fr30.sh. | |
1260 | * emulparams/h8300helf.sh: As for elf32fr30.sh. | |
1261 | * emulparams/h8300self.sh: As for elf32fr30.sh. | |
1262 | ||
1263 | * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol | |
1264 | defines with RELOCATING test. | |
1265 | (OTHER_SDATA_SECTIONS): Likewise. | |
1266 | (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. | |
1267 | (OTHER_END_SYMBOLS): ..this. | |
1268 | * emulparams/crislinux.sh: As for criself.sh. | |
1269 | ||
1270 | * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma | |
1271 | if not relocating. | |
1272 | (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. | |
1273 | (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order | |
1274 | normal and linkonce sections as seen in input files. | |
1275 | * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. | |
1276 | (TEXT_DYNAMIC): Likewise. | |
1277 | (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. | |
1278 | (OTHER_SDATA_SECTIONS): Likewise. | |
1279 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
1280 | * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
1281 | * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. | |
1282 | * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. | |
1283 | * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. | |
1284 | (OTHER_PLT_RELOC_SECTIONS): Likewise. | |
1285 | (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce | |
1286 | sections as seen in input files. | |
1287 | * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. | |
1288 | * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma | |
1289 | if not relocating. | |
1290 | (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. | |
1291 | (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. | |
1292 | * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. | |
1293 | (OTHER_SECTIONS): Instead, use this.. | |
1294 | (OTHER_END_SYMBOLS): ..and this. | |
1295 | ||
1296 | * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. | |
1297 | * emulparams/elf32bsmip.sh: Likewise. | |
1298 | * emulparams/elf32btsmip.sh: Likewise. | |
1299 | * emulparams/elf32ebmip.sh: Likewise. | |
1300 | * emulparams/elf32lmip.sh: Likewise. | |
1301 | * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. | |
1302 | * emulparams/elf32lsmip.sh: Likewise. | |
1303 | * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. | |
1304 | * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. | |
1305 | * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. | |
1306 | * emulparams/elf64btsmip.sh: Likewise. | |
1307 | * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. | |
1308 | * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. | |
1309 | * emulparams/elf32ppclinux.sh: Likewise. | |
1310 | * emulparams/elf32ppcsim.sh: Likewise. | |
1311 | * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. | |
1312 | * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. | |
1313 | * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. | |
1314 | * emulparams/h8300self.sh: Likewise. | |
1315 | * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. | |
1316 | * emulparams/sh.sh: Comment. | |
1317 | * emulparams/shl.sh: Source sh.sh, remove duplicates. | |
1318 | * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. | |
1319 | * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates. | |
1320 | ||
abc6ab0a AM |
1321 | 2001-11-21 David Heine <[email protected]> |
1322 | Alan Modra <[email protected]> | |
1323 | ||
1324 | * ldlang.c (map_input_to_output_sections): Replace "break" | |
1325 | accidentally removed with 2001-08-03 change. | |
1326 | (lang_gc_sections_1): Likewise. | |
1327 | ||
2181f54f AM |
1328 | 2001-11-21 Alan Modra <[email protected]> |
1329 | ||
1330 | * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. | |
1331 | ||
ca0b5847 AM |
1332 | 2001-11-20 Angela Marie Thomas <[email protected]> |
1333 | ||
1334 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead | |
2181f54f AM |
1335 | of false when calling lang_size_sections. |
1336 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. | |
ca0b5847 | 1337 | |
c56feb2b AM |
1338 | 2001-11-15 Alan Modra <[email protected]> |
1339 | ||
1340 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this | |
1341 | function when LDEMUL_FINISH isn't set to the same name. Don't | |
1342 | call ${LDEMUL_FINISH}. | |
1343 | (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. | |
1344 | * emultempl/armelf.em (arm_elf_finish): Call | |
1345 | gld${EMULATION_NAME}_finish. | |
1346 | * emultempl/hppaelf.em (hppaelf_finish): Rename to | |
1347 | gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and | |
1348 | hppaelf_layout_sections_again if necessary. | |
1349 | (need_laying_out): New var. | |
1350 | (hppaelf_layaout_sections_again): Rename to | |
1351 | hppaelf_layout_sections_again. Clear need_laying_out. | |
1352 | (PARSE_AND_LIST_OPTIONS): Format text. | |
1353 | ||
a48ca7f2 L |
1354 | 2001-11-14 H.J. Lu <[email protected]> |
1355 | ||
1356 | * emultempl/armelf.em (arm_elf_finish): Renamed from | |
1357 | gld${EMULATION_NAME}_finish. | |
1358 | (LDEMUL_FINISH): Set to arm_elf_finish. | |
1359 | ||
73d074b4 DJ |
1360 | 2001-11-14 Daniel Jacobowitz <[email protected]> |
1361 | ||
1362 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. | |
1363 | (struct ld_emulation_xfer_struct): Use it. | |
1364 | ||
3b16e843 | 1365 | 2001-11-13 Ross Alexander <[email protected]> |
fc65c602 | 1366 | |
465bc359 | 1367 | * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add |
fc65c602 JL |
1368 | additional symbols referenced by newer crt0.o files from HP. |
1369 | ||
f11b7027 NC |
1370 | 2001-11-12 Anthony Green <[email protected]> |
1371 | ||
1372 | * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol. | |
1373 | ||
3bf2994f AM |
1374 | 2001-11-12 Alfred M. Szmidt <[email protected]> |
1375 | ||
1376 | * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}. | |
1377 | * Makefile.in: Regenerate. | |
1378 | ||
ff5dcc92 SC |
1379 | 2001-11-02 Stephane Carrez <[email protected]> |
1380 | ||
1381 | * ld.texinfo: Use @command for commands, @option for options. | |
1382 | * Makefile.am (POD2MAN): Use 'GNU Development Tools' for | |
1383 | the page man title. | |
1384 | * Makefile.in: Rebuild. | |
1385 | ||
9fb9af6e CD |
1386 | 2001-11-04 Chris Demetriou <[email protected]> |
1387 | ||
1388 | * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): | |
1389 | Add support for targets. | |
2181f54f | 1390 | |
3c62831e NC |
1391 | 2001-11-02 Nick Clifton <[email protected]> |
1392 | ||
1393 | * configure.in (ALL_LINGUAS): Add "fr" and "sv" | |
1394 | * configure: Regernate. | |
1395 | * po/fr.po: New file. | |
1396 | * po/sv.po: New file. | |
1397 | ||
3a9091c4 NC |
1398 | 2001-11-01 NIIBE Yutaka <[email protected]> |
1399 | ||
1400 | * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls | |
1401 | as little endian default and to support big endian. | |
2181f54f | 1402 | |
361b220e CD |
1403 | 2001-11-01 Chris Demetriou <[email protected]> |
1404 | ||
1405 | * ld.texinfo (Options): Document new option, -nostdlib. | |
1406 | * lexsup.c (OPTION_NOSTDLIB): New definition. | |
1407 | (ld_options): Add entry for "nostdlib". | |
1408 | (parse_args): Handle OPTIONS_NOSTDLIB. | |
1409 | * ldfile.c (ldfile_add_library_path): Don't add directories | |
1410 | to the search path if they weren't specified on the command line | |
1411 | and -nostdlib was specified. | |
1412 | * ld.h (ld_config_type): New member only_cmd_line_lib_dirs. | |
1413 | ||
210a7bd1 NC |
1414 | 2001-10-31 Nick Clifton <[email protected]> |
1415 | ||
1416 | * lexsup.c (parse_args): Prevent infinite parsing loop when | |
1417 | "-rpath.a" is specified on the command line. | |
1418 | Replace calls to fprintf with calls to einfo. | |
1419 | ||
114283d8 NC |
1420 | 2001-10-31 John Marshall <[email protected]> |
1421 | ||
1422 | * ld.texinfo: A historical requirement that MEMORY and SECTIONS | |
1423 | appear only once across all the linker scripts involved in a link | |
1424 | invocation no longer applies. Make the documentation reflect | |
1425 | that. | |
1426 | ||
7649aa50 NC |
1427 | 2001-10-31 NIIBE Yutaka <[email protected]> |
1428 | ||
1429 | * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu | |
1430 | targets. | |
1431 | (sh-*-linux*): Added targ_extra_libpath. | |
1432 | ||
6e814ff8 AM |
1433 | 2001-10-31 David Heine <[email protected]> |
1434 | ||
1435 | * ldlang.c (lang_size_sections): Keep a valid output_offset field | |
1436 | for padding statements. | |
1437 | ||
3c3bdf30 NC |
1438 | 2001-10-30 Hans-Peter Nilsson <[email protected]> |
1439 | ||
1440 | * configure.tgt (mmix-*-*): New target. | |
1441 | * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o. | |
1442 | Add dependencies to match. | |
1443 | * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em, | |
1444 | emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, | |
1445 | scripttempl/mmo.sc: New files. | |
1446 | * gen-doc.texi: @set MMIX. | |
1447 | * ld.texinfo: Ditto. | |
6e814ff8 | 1448 | [MMIX] Add MMIX node. |
3c3bdf30 NC |
1449 | * Makefile.in: Regenerate. |
1450 | ||
ca0c1d3e KH |
1451 | 2001-10-29 Kazu Hirata <[email protected]> |
1452 | ||
1453 | * ldlang.c: Fix a comment typo. | |
1454 | ||
1a3d33ce AM |
1455 | 2001-10-23 Alan Modra <[email protected]> |
1456 | ||
1457 | * configure.host: Move alpha*-*-linux-gnu* entry to generic | |
1458 | entries, and match *-*-linux*. | |
1459 | ||
b47c4208 AM |
1460 | 2001-10-20 Alan Modra <[email protected]> |
1461 | ||
1462 | * ldgram.y (mri_script_command): Surround processing of INCLUDE | |
1463 | with ldlex_script, ldlex_popstate. | |
1464 | (ifile_p1): Likewise. | |
1465 | * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the | |
1466 | correct slot. | |
1467 | (lex_push_file): Save current lineno to lineno_stack. Set lineno | |
1468 | to 1. Don't BEGIN(SCRIPT). | |
1469 | (lex_redirect): Similarly. | |
1470 | * ldmain.c (main): Set yydebug non-zero if YYDEBUG. | |
1471 | ||
fd521b47 NC |
1472 | 2001-10-20 Nick Clifton <[email protected]> |
1473 | ||
1474 | * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and | |
1475 | __EH_FRAME_END__ and accept eh frames into data section. | |
1476 | Add ctor and dtor sections. | |
1477 | ||
59d28a94 DD |
1478 | 2001-10-19 Danny Smith <[email protected]> |
1479 | ||
1480 | * pe-dll.c (autofilter_objectlist): Add gcrt0.o. | |
1481 | (auto-export): Fix indentation. | |
1482 | ||
663dd378 DD |
1483 | 2001-10-18 Danny Smith <[email protected]> |
1484 | ||
1485 | * pe-dll.c (autofilter_objectlist): Add startup objects | |
1486 | for profiling. | |
1487 | (auto-export): Constify char * p. | |
6e814ff8 | 1488 | Extract file basename and use strcmp rather than ststr |
663dd378 DD |
1489 | for object lookup. |
1490 | ||
31d677f9 CD |
1491 | 2001-10-18 Chris Demetriou <[email protected]> |
1492 | ||
1493 | * ldmain.c (get_emulation): Improve comment about the handling | |
1494 | of -mipsN options. | |
1495 | ||
aa200fe8 AM |
1496 | 2001-10-17 Alan Modra <[email protected]> |
1497 | ||
1498 | * po/POTFILES.in: Regenerate. | |
1499 | ||
146e7110 AM |
1500 | 2001-10-16 Vassili Karpov <[email protected]> |
1501 | ||
1502 | * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from | |
1503 | -z nocopyreloc and -z nocombreloc usage strings. | |
1504 | ||
b4330e85 NC |
1505 | 2001-10-12 Vassili Karpov <[email protected]> |
1506 | ||
146e7110 | 1507 | * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc |
b4330e85 NC |
1508 | in usage. |
1509 | ||
5af8a2fb NC |
1510 | 2001-10-11 Aleksey Romanov <[email protected]> |
1511 | ||
1512 | * scripttempl/armaout.sc: Place .bss section after end of aligned | |
1513 | data section to match behaviour of aout code in constructrion of | |
1514 | header. | |
1515 | ||
5b784096 DD |
1516 | 2001-10-11 Danny Smith <[email protected]> |
1517 | ||
1518 | * pe-dll.c (autofilter_entry_type autofilter_liblist: Add | |
1519 | startup files for mingw32 dlls to list. | |
1520 | ||
61585df2 CD |
1521 | 2001-10-10 Chris Demetriou <[email protected]> |
1522 | ||
1523 | * emultempl/elf32.em: Fix shell 'if' usage for portability. | |
1524 | ||
45cf6f3e AH |
1525 | 2001-10-08 Aldy Hernandez <[email protected]> |
1526 | ||
1527 | * configure.tgt (targ): Add arm9e-*-elf. | |
1528 | ||
e24d7c12 L |
1529 | 2001-10-05 H.J. Lu <[email protected]> |
1530 | ||
1531 | * genscripts.sh: Fix a typo in the last change. | |
1532 | ||
ec38dd05 JJ |
1533 | 2001-10-05 Jakub Jelinek <[email protected]> |
1534 | ||
1535 | * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and | |
1536 | -z nocombreloc in usage. | |
1537 | ||
cedd6b0d JB |
1538 | 2001-10-03 Jim Blandy <[email protected]> |
1539 | ||
1540 | * genscripts.sh: Include a comment at the top of each generated | |
1541 | script, explaining its purpose. | |
1542 | ||
8bd621d8 AM |
1543 | 2001-10-03 Vassili Karpov <[email protected]> |
1544 | ||
1545 | * emultempl/elf32.em (parse_args): Handle -z nocopyreloc. | |
1546 | * NEWS: Mention -z nocopyreloc. | |
1547 | * ld.texinfo (Options): Describe nocopyreloc. | |
1548 | ||
fcd8210c AM |
1549 | 2001-10-03 Alan Modra <[email protected]> |
1550 | ||
1551 | * configure: Regenerate. | |
1552 | ||
d32820f2 AM |
1553 | 2001-10-02 Alan Modra <[email protected]> |
1554 | ||
1555 | * ldver.h (ld_program_version): Remove declaration. | |
1556 | * lexsup.c (parse_args): Move printing of copyright message.. | |
1557 | * ldver.c (ldversion): .. to here. | |
1558 | Use BFD_VERSION_STRING in place of BFD_VERSION. | |
1559 | (ld_program_version): Remove. | |
1560 | * Makefile.am (Makefile): Depend on bfd/configure.in. | |
1561 | Run "make dep-am". | |
1562 | * Makefile.in: Regenerate. | |
1563 | ||
af46bcdc HPN |
1564 | 2001-09-30 Hans-Peter Nilsson <[email protected]> |
1565 | ||
1566 | * Makefile.am: Update dependencies with "make dep-am". | |
1567 | * Makefile.in: Regenerate. | |
1568 | ||
4818e05f | 1569 | 2001-09-29 John Reiser <[email protected]> |
862517b6 | 1570 | |
4818e05f AM |
1571 | * ldlang.c (lang_common): Conditionally inhibit Common allocation. |
1572 | * lexsup.c: Add --no-define-common commandline option. | |
1573 | * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. | |
1574 | * ldlex.l: Likewise. | |
1575 | * ld.h: Add command_line.inhibit_common_definition. | |
1576 | * ldmain.c (main): Initialize. | |
1577 | * ld.texinfo: Document. | |
862517b6 | 1578 | |
d5e0ebeb AM |
1579 | 2001-09-26 Alan Modra <[email protected]> |
1580 | ||
1581 | * ldmisc.c (USE_STDARG): Remove. | |
1582 | (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. | |
1583 | (einfo): Likewise. | |
1584 | (minfo): Likewise. | |
1585 | (lfinfo): Likewise. | |
1586 | ||
1587 | * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi | |
1588 | declarations. Update copyright. | |
1589 | ||
2f8d8971 NC |
1590 | 2001-09-24 Charles Wilson <[email protected]> |
1591 | ||
85c77458 NC |
1592 | * pe-dll.c: Remove obsoleted declaration of |
1593 | pe_get_data_import_dll_name. | |
1594 | (pe_create_import_fixup): Fix thinko. | |
1595 | ||
2f8d8971 NC |
1596 | * ld.texinfo(enable-auto-import): Clarify the explanation. |
1597 | ||
1598 | 2001-09-24 Nick Clifton <[email protected]> | |
1599 | ||
1600 | * pe-dll.c (pe_create_import_fixup): Revert previous patch. | |
1601 | * emultemp/pe.em (pe_data_import_dll): Move definition outside of | |
1602 | DLL_SUPPORT controlled code. | |
1603 | ||
72358f65 | 1604 | 2001-09-24 Charles Wilson <[email protected]> |
146e7110 | 1605 | |
72358f65 NC |
1606 | * emultempl/pe.em(pe_data_import_dll): Make static. |
1607 | (pe_get_data_import_dll_name): New accessor function. | |
146e7110 | 1608 | * pe-dll.c(pe_create_import_fixup): call |
72358f65 NC |
1609 | pe_get_data_import_dll_name() from pe.em, instead of |
1610 | directly accessing pe_data_import_dll variable from pe.em. | |
1611 | ||
3882b010 L |
1612 | 2001-09-18 Bruno Haible <[email protected]> |
1613 | ||
1614 | * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>. | |
1615 | (def_file_add_directive): Use ISSPACE instead of isspace. | |
1616 | (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of | |
1617 | isdigit/isxdigit/isalpha/isalnum. | |
1618 | * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>. | |
1619 | (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace. | |
1620 | * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>. | |
1621 | (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of | |
1622 | isalnum. | |
1623 | * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>. | |
1624 | (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of | |
1625 | isupper/tolower. | |
1626 | * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>. | |
1627 | (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit. | |
1628 | * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>. | |
1629 | (ctor_prio): Use ISDIGIT instead of isdigit. | |
1630 | * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>. | |
1631 | (ldfile_open_file_search): Use ISALPHA instead of isalpha. | |
1632 | (ldfile_add_arch): Use ISUPPER/TOLOWER instead of | |
1633 | isupper/tolower. | |
1634 | * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>. | |
1635 | (stricpy): Use TOLOWER instead of isupper/tolower. | |
1636 | (lang_leave_overlay_section): Use ISALNUM instead of isalnum. | |
1637 | * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>. | |
1638 | (lex_warn_invalid): Use ISPRINT instead of isprint. | |
1639 | * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>. | |
1640 | (main): For gettext, also set the LC_CTYPE locate facet. | |
1641 | (add_keepsyms_file): Use ISSPACE instead of isspace. | |
1642 | * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>. | |
1643 | (is_num, parse_args): Use ISDIGIT instead of isdigit. | |
1644 | * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>. | |
1645 | (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum. | |
1646 | * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>. | |
1647 | (gldppcmacos_read_file): Use ISSPACE instead of isspace. | |
1648 | * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>. | |
1649 | (quoteput): Use ISSPACE instead of isspace. | |
1650 | (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM | |
1651 | instead of isalnum. | |
1652 | ||
db09f25b AM |
1653 | 2001-09-18 Alan Modra <[email protected]> |
1654 | ||
1655 | * deffilep.y (def_stash_module): Constify "name" param. | |
1656 | ||
1657 | * pe-dll.c: Replace CONST with const throughout. | |
1658 | (quick_symbol): Constify "n1", "n2", "n3" params. | |
1659 | (make_singleton_name_thunk): Constify "import" param. Make | |
1660 | "buffer_len" a size_t. | |
1661 | (make_import_fixup_entry): Constify "name", "fixup_name", | |
1662 | "dll_symname" params. | |
1663 | (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. | |
1664 | (pe_get32): Likewise. | |
1665 | (pe_implied_import_dll): Likewise. | |
1666 | ||
1667 | * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". | |
1668 | (sort_by_section_name): Likewise. | |
1669 | ||
1670 | * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. | |
1671 | (make_import_fixup): Cast printf arg, rel->address to long rather | |
1672 | than int. | |
1673 | (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int. | |
1674 | ||
74699268 AM |
1675 | 2001-09-15 Alan Modra <[email protected]> |
1676 | ||
1677 | * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX | |
1678 | defines BufferSize. Increase buffer size by one. | |
1679 | ||
775cabad NC |
1680 | 2001-09-14 Ralf Habacker <[email protected]> |
1681 | ||
1682 | * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak. | |
1683 | ||
056a1d49 NC |
1684 | 2001-09-14 Kevin Lo <[email protected]> |
1685 | ||
1686 | * configure.tgt: Add arm-openbsd target. | |
1687 | ||
a7d792bb L |
1688 | 2001-09-12 H.J. Lu <[email protected]> |
1689 | ||
1690 | * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and | |
1691 | eelf64lppc.o to ... | |
1692 | (ALL_64_EMULATIONS): Here. | |
1693 | * Makefile.in: Regenerated. | |
1694 | ||
0d888aac CW |
1695 | 2001-09-12 Paul Sokolovsky <[email protected]> |
1696 | ||
1697 | * emultempl/pe.em(make_import_fixup): change signature to | |
1698 | take asection as well as arelec; we need this for proper | |
146e7110 | 1699 | error reporting. Only call pe_create_import_fixup() if |
0d888aac CW |
1700 | there is no attempt to add a constant addend to the reloc; |
1701 | otherwise, report error condition. | |
1702 | * pe-dll.c(pe_walk_relocs_of_symbol): change signature, | |
1703 | since final argument is a pointer to make_import_fixup(). | |
1704 | Change call to cb() to match make_import_fixup() signature. | |
1705 | (make_import_fixup_mark): make buffer_len unsigned. | |
1706 | * pe-dll.h: change signature of pe_walk_relocs_of_symbol. | |
1707 | ||
1708 | 2001-09-12 Charles Wilson <[email protected]> | |
1709 | ||
1710 | * ld.texinfo: add verbose documentation for auto-import | |
146e7110 | 1711 | direct-addressing workaround, to compliment the terse |
0d888aac CW |
1712 | error message. |
1713 | ||
cedacdc0 CM |
1714 | 2001-09-12 Andrew MacLeod <[email protected]> |
1715 | ||
146e7110 | 1716 | * scripttempl/v850.sc: Add gcc_except_table sections. |
cedacdc0 | 1717 | |
3b16e843 | 1718 | 2001-09-11 Jeffrey A Law ([email protected]) |
38be0bb1 JL |
1719 | |
1720 | * emulparams/h8300helf.sh: Move stack to a much higher memory address. | |
1721 | * emulparams/h8300self.sh: Similarly. | |
1722 | ||
559e4713 NC |
1723 | 2001-09-05 Danny Smith <[email protected]> |
1724 | ||
1725 | * ld.texinfo (Options, --stack): Correct default value for stack | |
1726 | reserve. | |
1727 | ||
1fdf0249 TR |
1728 | 2001-09-05 Tom Rix <[email protected]> |
1729 | ||
1730 | * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. | |
146e7110 | 1731 | |
9b5799b8 AJ |
1732 | 2001-09-03 Andreas Jaeger <[email protected]> |
1733 | ||
1734 | * emultempl/beos.em: Declare prototypes for comparions functions, | |
1735 | adjust definitions. | |
1736 | ||
48f6162b AJ |
1737 | 2001-09-02 Andreas Jaeger <[email protected]> |
1738 | ||
1739 | * emultempl/aix.em: Add missing prototype. | |
1740 | * emultempl/lnk960.em: Likewise. | |
1741 | * emultempl/vanilla.em: Likewise. | |
1742 | * emultempl/armcoff.em: Likewise. | |
1743 | * emultempl/armelf_oabi.em: Likewise. | |
1744 | * emultempl/beos.em: Likewise. | |
1745 | * emultempl/gld960c.em: Likewise. | |
1746 | * emultempl/gld960.em: Likewise. | |
1747 | ||
1748 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter | |
1749 | for prototype declaration. | |
1750 | ||
39e5585e EC |
1751 | 2001-08-31 Eric Christopher <[email protected]> |
1752 | Jason Eckhardt <[email protected]> | |
1753 | ||
1754 | * ldmain.c (get_emulation): Add support for -mips32 and -mips64. | |
1755 | ||
3fc90ddb AJ |
1756 | 2001-08-31 Andreas Jaeger <[email protected]> |
1757 | ||
1758 | * emultempl/pe.em: Add missing prototypes. | |
1759 | (gld_${EMULATION_NAME}_after_open): Remove extra args to | |
1760 | pe_find_data_imports. | |
1761 | (pr_sym): Add unused attribute. | |
1762 | ||
d43ded80 PB |
1763 | 2001-08-29 Joel Sherrill <[email protected]> |
1764 | ||
39e5585e | 1765 | * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change |
d43ded80 PB |
1766 | default from coff to elf. |
1767 | ||
3946dd2f JL |
1768 | 2001-08-29 Jeff Law <[email protected]> |
1769 | ||
1770 | * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update | |
1771 | ARCH specification. | |
1772 | * emulparams/h8300self.sh: Similarly. | |
1773 | ||
3b16e843 | 1774 | 2001-08-28 J"orn Rennecke <[email protected]> |
8af6dd41 JR |
1775 | |
1776 | * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and | |
1777 | eh8300self.o . | |
1778 | (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. | |
1779 | * configure.tgt (h8300-*-elf*): New case. | |
1780 | * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. | |
1781 | * emulparams/h8300self.sh: New file. | |
1782 | * Makefile.in: Regenerated. | |
1783 | ||
70d0c6e9 NC |
1784 | 2001-08-28 Nick Clifton <[email protected]> |
1785 | ||
1786 | * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision | |
1787 | with macro name. | |
1788 | ||
5c67d4bb AM |
1789 | 2001-08-27 Linus Nordberg <[email protected]> |
1790 | Alan Modra <[email protected]> | |
1791 | ||
1792 | * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. | |
1793 | (eelf64ppc.c, eelf64lppc.c): Add make targets. | |
1794 | Run "make dep-am" | |
1795 | * Makefile.in: Regenerate. | |
1796 | * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj | |
1797 | entries to correct alphabetical position. | |
1798 | * emulparams/elf64ppc.sh: New. | |
1799 | * emulparams/elf64lppc.sh: New. | |
1800 | ||
08131015 NC |
1801 | 2001-08-27 Nick Clifton <[email protected]> |
1802 | ||
1803 | * ldmain.c (main): Declare BSIZE as static. | |
1804 | ||
db6751f2 JJ |
1805 | 2001-08-23 Jakub Jelinek <[email protected]> |
1806 | ||
1807 | * emultempl/elf32.em (place_orphan): Place orphan .rel* sections | |
1808 | into .rel.dyn resp. .rela.dyn if combreloc. | |
1809 | (get_script): If .x linker script is equal to .xn, only put it | |
1810 | once into the binary. | |
1811 | Add .xc and .xsc scripts. | |
1812 | (parse_args): Handle -z combreloc and -z nocombreloc. | |
1813 | * scripttempl/elf.sc (.rela.sbss): Fix a typo. | |
1814 | For .xc and .xsc scripts put all .rel* or .rela* input sections | |
1815 | but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. | |
1816 | * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME | |
1817 | is elf. | |
1818 | Strip trailing whitespace from script. | |
1819 | Generate .xc and .xsc scripts if requested. | |
1820 | * ldmain.c (main): Initialize link_info.combreloc and | |
1821 | link_info.spare_dynamic_tags. | |
1822 | * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. | |
1823 | (ld_options): Add --spare-dynamic-tags option. | |
1824 | (parse_args): Likewise. | |
1825 | * ld.texinfo: Document -z combreloc and -z nocombreloc. | |
1826 | * ldint.texinfo: Document .xc and .xsc linker scripts. | |
1827 | * NEWS: Add notes about -z combreloc and SHF_MERGE. | |
1828 | ||
63d069c0 L |
1829 | 2001-08-22 H.J. Lu <[email protected]> |
1830 | ||
1831 | * emulparams/elf32fr30.sh: Add a newline. | |
1832 | ||
948f9114 AJ |
1833 | 2001-08-21 Andreas Jaeger <[email protected]> |
1834 | ||
1835 | * deffilep.y: Add missing prototypes. | |
1836 | * pe-dll.c: Likewise. | |
1837 | ||
ae7fb08f AM |
1838 | 2001-08-20 Alan Modra <[email protected]> |
1839 | ||
2af02257 AM |
1840 | * ldlang.c (insert_pad): Fix typos in last patch. |
1841 | ||
1842 | * ldlang.c: When traversing lang_statement_union_type lists, | |
1843 | consistently use "header.next" rather than "next". | |
1844 | * mpw-eppcmac.c: Likewise. | |
1845 | * emultempl/beos.em: Likewise. | |
1846 | * emultempl/hppaelf.em: Likewise. | |
1847 | * emultempl/pe.em: Likewise. | |
1848 | * ldlang.h (union lang_statement_union): Remove "next" field. | |
1849 | ||
c0c330a7 AM |
1850 | * ldlang.c (insert_pad): Use offsetof macro. |
1851 | (lang_size_sections): Always neuter padding statements. | |
1852 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. | |
1853 | ||
ae7fb08f AM |
1854 | * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param |
1855 | passed to lang_size_sections. | |
1856 | (pe_exe_fill_sections): Likewise. | |
1857 | * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. | |
1858 | (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. | |
1859 | ||
fab80407 AM |
1860 | 2001-08-18 Alan Modra <[email protected]> |
1861 | ||
1862 | * emultempl/aix.em: Formatting fixes. | |
1863 | ||
b3327aad AM |
1864 | 2001-08-18 Alan Modra <[email protected]> |
1865 | ||
1866 | * ldlang.c (insert_pad): Make use of an existing pad statement if | |
1867 | available. Move code calculating alignment, adjusting section | |
1868 | alignment power, and adjusting dot to .. | |
1869 | (size_input_section): .. here. Remove unused relax param. | |
1870 | (lang_size_sections): Change boolean `relax' param to boolean *. | |
1871 | Adjust call to size_input_section. Make use of insert_pad to | |
1872 | place pad after the assignment statement. If relaxing, zap | |
1873 | padding statements. | |
1874 | (reset_memory_regions): Reset output_bfd section sizes too. | |
1875 | (relax_again): Move to.. | |
1876 | (lang_process): ..here. Adjust call to lang_size_sections, and | |
1877 | remove duplicated code. | |
1878 | * ldlang.h (lang_size_sections): Change `relax' param to boolean *. | |
1879 | ||
563e308f AM |
1880 | 2001-08-17 Alan Modra <[email protected]> |
1881 | ||
1882 | * ld.texinfo: Document that fill values now use the four least | |
1883 | significant bytes. | |
1884 | * emulparams/elf32fr30.sh (NOP): Update. | |
1885 | * emulparams/elf32mcore.sh: Likewise. | |
1886 | * emulparams/elf64_s390.sh: Likewise. | |
1887 | * emulparams/elf_i386.sh: Likewise. | |
1888 | * emulparams/elf_i386_be.sh: Likewise. | |
1889 | * emulparams/elf_i386_chaos.sh: Likewise. | |
1890 | * emulparams/elf_i386_ldso.sh: Likewise. | |
1891 | * emulparams/elf_s390.sh: Likewise. | |
1892 | * emulparams/elf_x86_64.sh: Likewise. | |
1893 | * emulparams/i386moss.sh: Likewise. | |
1894 | * emulparams/i386nw.sh: Likewise. | |
1895 | * emulparams/m68kelf.sh: Likewise. | |
1896 | * scripttempl/elf.sc: Update NOP comment. | |
1897 | * scripttempl/elfi370.sc: Likewise. | |
1898 | * scripttempl/elfm68hc11.sc: Likewise. | |
1899 | * scripttempl/elfm68hc12.sc: Likewise. | |
1900 | * scripttempl/nw.sc: Likewise. | |
1901 | ||
b90e1c6f TR |
1902 | 2001-08-15 Tom Rix <[email protected]> |
1903 | ||
1904 | * ldgram.y (saved_script_handle): Initialize to NULL. | |
1905 | * ldmain.c (main): Change check on saved_script_handle. | |
948f9114 | 1906 | |
39dcfe18 AM |
1907 | 2001-08-14 Alan Modra <[email protected]> |
1908 | ||
cde43e70 AM |
1909 | * emultempl/elf32.em: Formatting fixes. |
1910 | (output_prev_sec_find): Test for bfd_ind_section too; do so by | |
1911 | looking at sec->owner. | |
1912 | (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. | |
1913 | (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove | |
1914 | unused code, and reorganize orphan section placement code. | |
1915 | ||
39dcfe18 AM |
1916 | * ldlang.c (wild_doit): Rename to lang_add_section. |
1917 | * ldlang.h: Here too. | |
1918 | * mpw-elfmips.c: And here. | |
1919 | * emultempl/beos.em: And here. | |
1920 | * emultempl/elf32.em: And here. | |
1921 | * emultempl/hppaelf.em: And here. | |
1922 | * emultempl/pe.em: And here. | |
1923 | ||
908d20b3 RH |
1924 | 2001-08-13 Richard Henderson <[email protected]> |
1925 | ||
1926 | * emultempl/needrelax.em: New file. | |
1927 | * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. | |
1928 | * Makefile.am (eelf64_ia64.c): Depend on it. | |
1929 | * Makefile.in: Rebuild. | |
1930 | ||
0f33d40b AM |
1931 | 2001-08-13 Alan Modra <[email protected]> |
1932 | ||
22af9fd3 AM |
1933 | * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that |
1934 | output_section is set non-NULL. | |
1935 | ||
0f33d40b AM |
1936 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return |
1937 | `true' for SEC_EXCLUDE sections so that the generic code doesn't | |
1938 | needlessly create an output_section_statement. Treat a correctly | |
1939 | named output_section_statement with NULL bfd_section as compatible. | |
1940 | ||
55ab6103 HPN |
1941 | 2001-08-13 Hans-Peter Nilsson <[email protected]> |
1942 | ||
1943 | * emultempl/generic.em: Support EXTRA_EM_FILE. | |
1944 | (ld_${EMULATION_NAME}_emulation): Support emulation parameters | |
1945 | LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, | |
1946 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, | |
1947 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, | |
1948 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, | |
1949 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, | |
1950 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, | |
1951 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, | |
1952 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, | |
1953 | LDEMUL_FIND_POTENTIAL_LIBRARIES. | |
1954 | ||
24098abb RH |
1955 | 2001-08-12 Richard Henderson <[email protected]> |
1956 | ||
1957 | * scripttempl/elf.sc, scripttempl/elfd30v.sc, | |
1958 | scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, | |
1959 | scripttempl/v850.sc: Keep .jcr data. | |
1960 | ||
b9a8de1e | 1961 | 2001-08-12 H.J. Lu <[email protected]> |
146e7110 AM |
1962 | Andrew Haley <[email protected]> |
1963 | Nick Clifton <[email protected]> | |
b9a8de1e | 1964 | |
146e7110 | 1965 | * ldgram.y (had_script): Change name to saved_script_handle. |
b9a8de1e NC |
1966 | Change type to file handle. |
1967 | * ld.h (had_script): Rename and retype. | |
1968 | * ldfile.c (ldfile_open_command_file): Save the file handle | |
1969 | used in saved_script_handle. | |
1970 | * lexsup.c (parse_args): Do not allow -c option to alter | |
1971 | saved_script_handle. | |
1972 | * ldmain.c (main): Print out the linker script used if | |
1973 | --verbose is given. Check saved_script_handle to obtain the | |
1974 | external linker script used, or if NULL, dump the builtin | |
1975 | script. | |
1976 | * ld.texinfo: Document that --verbose now dumps the linker | |
1977 | script used, regardless of whether it was an internal or an | |
1978 | external script. | |
1979 | ||
0218d1e4 AJ |
1980 | 2001-08-10 Andreas Jaeger <[email protected]> |
1981 | ||
1982 | * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes | |
1983 | to build warnings. | |
1984 | * configure: Regenerate. | |
1985 | ||
5253f23b AM |
1986 | 2001-08-09 Alan Modra <[email protected]> |
1987 | ||
73810896 AM |
1988 | * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. |
1989 | ||
5253f23b AM |
1990 | * scripttempl/elf.sc: Move non-text .dynamic section before |
1991 | .plt/.got/.sdata* group. | |
1992 | (OTHER_GOT_SECTIONS): Move to immediately after .got. | |
1993 | (OTHER_SDATA_SECTIONS): Add. | |
1994 | * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than | |
1995 | OTHER_GOT_SECTIONS. | |
1996 | * emulparams/crislinux.sh: Likewise. | |
1997 | * emulparams/elf32b4300.sh: Likewise. | |
1998 | * emulparams/elf32bmip.sh: Likewise. | |
1999 | * emulparams/elf32bmipn32.sh: Likewise. | |
2000 | * emulparams/elf32bsmip.sh: Likewise. | |
2001 | * emulparams/elf32btsmip.sh: Likewise. | |
2002 | * emulparams/elf32ebmip.sh: Likewise. | |
2003 | * emulparams/elf32elmip.sh: Likewise. | |
2004 | * emulparams/elf32l4300.sh: Likewise. | |
2005 | * emulparams/elf32lmip.sh: Likewise. | |
2006 | * emulparams/elf32lsmip.sh: Likewise. | |
2007 | * emulparams/elf32ltsmip.sh: Likewise. | |
2008 | * emulparams/elf64bmip.sh: Likewise. | |
2009 | * emulparams/elf64btsmip.sh: Likewise. | |
2010 | * emulparams/elf64ltsmip.sh: Likewise. | |
2011 | ||
179c732c AM |
2012 | 2001-08-08 Alan Modra <[email protected]> |
2013 | ||
2014 | * genscripts.sh: Source the emulparams script before each output | |
2015 | script is generated so that variables like `RELOCATING' may affect | |
2016 | variables defined in the emulparams script. | |
2017 | ||
3fd36710 AM |
2018 | 2001-08-04 Alan Modra <[email protected]> |
2019 | ||
20713691 AM |
2020 | * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this |
2021 | order. | |
2022 | ||
3fd36710 AM |
2023 | * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, |
2024 | ie. iterate over wild_statement.section_list. | |
2025 | (gld${EMULATION_NAME}_place_orphan): Likewise. | |
2026 | ||
de0b1853 SC |
2027 | 2001-08-03 Stephane Carrez <[email protected]> |
2028 | ||
2029 | * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle | |
2030 | .fini[0-4] sections used by _exit | |
2031 | (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. | |
2032 | (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. | |
2033 | * scripttempl/elfm68hc11.sc: Likewise. | |
2034 | ||
ff7e6f88 L |
2035 | 2001-08-03 H.J. Lu <[email protected]> |
2036 | ||
2037 | * emultempl/beos.em (init): Add the missing initialization. | |
2038 | ||
b6bf44ba AM |
2039 | 2001-08-03 Alan Modra <[email protected]> |
2040 | ||
2041 | * ld.texinfo (Input Section Basics): Clarify ordering of output | |
2042 | sections. | |
2043 | * ldlang.c (callback_t): Add wildcard_list param. | |
2044 | (walk_wild_section): Remove "section" param. Rewrite for | |
2045 | lang_wild_statement_type change. Remove unique_section_p test. | |
2046 | (walk_wild_file): Remove "section" param. | |
2047 | (walk_wild): Remove "section" and "file" params. | |
2048 | (lang_gc_wild): Likewise. | |
2049 | (wild): Likewise. Modify for lang_wild_statement_type change. | |
2050 | (wild_sort): Likewise. Add "sec" param. | |
2051 | (gc_section_callback): Likewise. | |
2052 | (output_section_callback): Likewise. Do unique_section_p test. | |
2053 | (map_input_to_output_sections): Modify call to wild. | |
2054 | (lang_gc_sections_1): Likewise. | |
2055 | (print_wild_statement): Modify for lang_wild_statement_type | |
2056 | change. | |
2057 | (lang_add_wild): Replace filename, filenames_sorted param with | |
2058 | filespec. Replace section_name, sections_sorted, | |
2059 | exclude_filename_list with section_list. | |
2060 | * ldlang.h (lang_add_wild): Here too. | |
2061 | (lang_wild_statement_type): Replace section_name, sections_sorted, | |
2062 | and exclude_filename_list with section_list. | |
2063 | * ldgram.y (current_file): Delete. | |
2064 | (%union): Add wildcard_list. | |
2065 | (file_NAME_list): Set type to wildcard_list. Build a linked list | |
2066 | rather than calling lang_add_wild for each entry. | |
2067 | (input_section_spec_no_keep): Call lang_add_wild here instead. | |
2068 | * ld.h (struct wildcard_list): Declare. | |
2069 | * mri.c (mri_draw_tree): Modify to suit new lang_add_wild. | |
2070 | ||
b044cda1 CW |
2071 | 2001-08-02 Charles Wilson <[email protected]> |
2072 | ||
2073 | * ldmain.c (main): initialize link_info.pei386_auto_import | |
2074 | * pe-dll.c: new tables for auto-export filtering | |
2075 | (auto_export): change API, pass abfd for contextual filtering. | |
b6bf44ba | 2076 | Loop thru tables of excluded symbols instead of comparing |
b044cda1 CW |
2077 | "by hand". |
2078 | ||
2079 | 2001-08-02 Paul Sokolovsky <[email protected]> | |
2080 | ||
b6bf44ba AM |
2081 | * pe-dll.c: new variable pe_dll_enable_extra_debug. New |
2082 | static variable current_sec (static struct sec *). Add | |
b044cda1 | 2083 | forward declaration for add_bfd_to_link. |
b6bf44ba AM |
2084 | (process_def_file): Don't export undefined symbols. Do not |
2085 | export symbols starting with "_imp__". Call auto_export() | |
b044cda1 CW |
2086 | with new API. |
2087 | (pe_walk_relocs_of_symbol): New function. | |
2088 | (generate_reloc): add optional extra debugging | |
b6bf44ba | 2089 | (pe_dll_generate_def_file): eliminate extraneous initial blank |
b044cda1 | 2090 | line in output |
b6bf44ba | 2091 | (make_one): enlarge symtab to make room for __nm__ symbols |
b044cda1 CW |
2092 | (DATA auto-import support). |
2093 | (make_singleton_name_thunk): New function. | |
2094 | (make_import_fixup_mark): New function. | |
2095 | (make_import_fixup_entry): New function. | |
2096 | (pe_create_import_fixup): New function. | |
b6bf44ba | 2097 | (add_bfd_to_link): Specify that 'name' argument is a CONST |
b044cda1 | 2098 | char *. |
b6bf44ba AM |
2099 | * pe-dll.h: declare new variable pe_dll_extra_pe_debug; |
2100 | declare new functions pe_walk_relocs_of_symbol and | |
b044cda1 CW |
2101 | pe_create_import_fixup. |
2102 | * emultempl/pe.em: add new options --enable-auto-import, | |
2103 | --disable-auto-import, and --enable-extra-pe-debug. | |
2104 | (make_import_fixup): New function. | |
2105 | (pe_find_data_imports): New function. | |
2106 | (pr_sym): New function. | |
b6bf44ba | 2107 | (gld_${EMULATION_NAME}_after_open): Add optional extra pe |
b044cda1 CW |
2108 | debugging. Call pe_find_data_imports. Mark .idata as DATA, not |
2109 | CODE. | |
2110 | ||
2111 | 2001-08-02 Charles Wilson <[email protected]> | |
b6bf44ba | 2112 | |
b044cda1 CW |
2113 | * ld.texinfo: add additional documentation for |
2114 | --export-all-symbols. Document --out-implib, | |
2115 | --enable-auto-image-base, --disable-auto-image-base, | |
b6bf44ba AM |
2116 | --dll-search-prefix, --enable-auto-import, and |
2117 | --disable-auto-import. | |
b044cda1 CW |
2118 | * ldint.texinfo: Add detailed documentation on auto-import |
2119 | implementation. | |
2120 | ||
156e34dd NC |
2121 | 2001-07-30 Nick Clifton <[email protected]> |
2122 | ||
2123 | * ld.texinfo (Simple Assignments): Fix computation in SECTIONS | |
2124 | example. | |
2125 | ||
d6231427 AM |
2126 | 2001-07-24 Alan Modra <[email protected]> |
2127 | ||
2128 | * Makefile.am: Update dependencies with "make dep-am". | |
2129 | * Makefile.in: Regenerate | |
2130 | ||
e14ec88b AM |
2131 | 2001-07-23 Alan Modra <[email protected]> |
2132 | ||
2133 | * ldcref.c (check_section_sym_xref): New function. | |
2134 | (check_nocrossrefs): Call it. | |
2135 | (check_nocrossref): Interate over h->refs here instead of.. | |
2136 | (check_refs): ..here. Pass in the symbol name, section, and bfd | |
2137 | rather than hash_entry pointers. | |
2138 | (struct check_refs_info): Keep symbol name rather than hash entry. | |
2139 | Remove "same". | |
2140 | (check_reloc_refs): Tweak for above changes in check_refs_info. | |
2141 | Only report references to section syms when symname is NULL to | |
2142 | prevent duplicate messages for the same reloc. | |
2143 | ||
1b577b00 NC |
2144 | 2001-07-19 Nick Clifton <[email protected]> |
2145 | ||
c7d701b0 NC |
2146 | * ldexp.c (exp_print_tree): Use stderr if config.map_file is not |
2147 | available. Do not print NULL trees. | |
2148 | (exp_print_token): Print unknown tokens with values > 126 as | |
2149 | decimal values not ASCII characters. | |
2150 | ||
1545243b NC |
2151 | * ldlang.c (lang_leave_overlay): If a region is specified assign |
2152 | it to all sections inside the overlay unless they have been | |
2153 | assigned to the own, non-default, memory region. | |
2154 | ||
1b577b00 NC |
2155 | * README: Add header for consistency with other README files. |
2156 | ||
5030876b L |
2157 | 2001-07-14 H.J. Lu <[email protected]> |
2158 | ||
2159 | * emultempl/elf32.em (output_prev_sec_find): Never return | |
2160 | bfd_abs_section_ptr, bfd_com_section_ptr nor | |
2161 | bfd_und_section_ptr. | |
2162 | ||
18c7a9a5 NC |
2163 | 2001-07-14 Nick Clifton <[email protected]> |
2164 | ||
22af9fd3 | 2165 | * Makefile.am (em32relf.c): Change dependency from generic.em to |
18c7a9a5 NC |
2166 | elf32.em. |
2167 | * Makefile.in: Regenerate. | |
2168 | ||
9ffecff1 MG |
2169 | 2001-07-14 matthew green <[email protected]> |
2170 | ||
2171 | * configure.tgt (i386-*-netbsdelf*): New target. | |
2172 | (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' | |
2173 | ||
95500e1c JJ |
2174 | 2001-07-13 Jakub Jelinek <[email protected]> |
2175 | ||
2176 | * emultempl/elf32.em (output_prev_sec_find): New. | |
2177 | (place_orphan): Use it. | |
2178 | ||
e97cb84f L |
2179 | 2001-07-11 H.J. Lu <[email protected]> |
2180 | ||
2181 | * ldmain.c (main): Fix typos in the last change. | |
2182 | ||
7333607e JJ |
2183 | 2001-07-11 Jakub Jelinek <[email protected]> |
2184 | ||
2185 | * ldmain.c (main): Disallow -F and -f without -shared. | |
2186 | ||
d29d80f2 NC |
2187 | 2001-07-11 Nick Clifton <[email protected]> |
2188 | ||
2189 | * emultempl/pe.em (after_open): Check for the output_bfd not | |
2190 | having any coff_data structure allocated to it. | |
2191 | ||
c2a1a436 DB |
2192 | 2001-07-09 David O'Brien <[email protected]> |
2193 | ||
2194 | * emultempl/elf32.em: Do not assuming that contents of the buffer | |
2195 | returned from basename function will remain unchanged accross other | |
2196 | function calls. | |
2197 | ||
63653551 L |
2198 | 2001-07-03 H.J. Lu <[email protected]> |
2199 | ||
2200 | * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on | |
2201 | 2001-07-03. It creates dynamic entries even for static binaries. | |
2202 | ||
d303a449 L |
2203 | 2001-07-03 Jakub Jelinek <[email protected]> |
2204 | ||
2205 | * scripttempl/elf.sc (DYNAMIC_PAD): New variable. | |
2206 | (DYNAMIC): Use it to reserve few dynamic entries for | |
2207 | post-linking tools. | |
2208 | ||
9f22353f AM |
2209 | 2001-06-27 Alan Modra <[email protected]> |
2210 | ||
2211 | * emulparams/hppa64linux.sh: New file. | |
2212 | * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh | |
2213 | * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o | |
2214 | (ehppa64linux.c): Add rule to make it. | |
2215 | Run "make dep-am". | |
2216 | * Makefile.in: Regenerate. | |
2217 | ||
62bf86b4 HPN |
2218 | 2001-06-21 Hans-Peter Nilsson <[email protected]> |
2219 | ||
2220 | * ld.texinfo (Options, -r): Mention restrictions when using | |
2221 | different object formats. | |
2222 | ||
429d935d HPN |
2223 | 2001-06-19 Hans-Peter Nilsson <[email protected]> |
2224 | ||
2225 | * ldlang.c (lang_check): Emit fatal error if relocatable link | |
2226 | between different object flavours with relocations in input. | |
2227 | ||
cb840a31 L |
2228 | 2001-06-19 H.J. Lu <[email protected]> |
2229 | ||
2230 | * ld.texinfo (-E, --export-dynamic): Mention --version-script. | |
2231 | (--version-script): Mention the language support. | |
2232 | ||
9bf03acc L |
2233 | 2001-06-19 H.J. Lu <[email protected]> |
2234 | ||
2235 | * ldlang.c (lang_check): Revert the change mode on 2001-06-15. | |
2236 | ||
c45021f2 NC |
2237 | 2001-06-18 H.J. Lu <[email protected]> |
2238 | ||
b6bf44ba AM |
2239 | * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. |
2240 | (diststuff): Add $(MANS). | |
2241 | * Makefile.in: Regenerated. | |
c45021f2 | 2242 | |
b6bf44ba | 2243 | * ld.1: Removed. |
c45021f2 | 2244 | |
6caa99ab HPN |
2245 | 2001-06-18 Hans-Peter Nilsson <[email protected]> |
2246 | ||
605d9b3a HPN |
2247 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): |
2248 | Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. | |
2249 | * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. | |
2250 | * ld.h (args_type): Remove member export_dynamic. All users | |
2251 | changed to use struct bfd_link_info member. | |
2252 | ||
6caa99ab HPN |
2253 | * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on |
2254 | $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. | |
2255 | * Makefile.in: Regenerate. | |
2256 | ||
6f9efd97 L |
2257 | 2001-06-18 H.J. Lu <[email protected]> |
2258 | ||
2259 | * ldlang.c (init_os): Add the newline to the einfo call. | |
2260 | (lang_check): Likewise. | |
2261 | (lang_do_version_exports_section): Likewise. | |
2262 | ||
5af9fd8b L |
2263 | 2001-06-15 H.J. Lu <[email protected]> |
2264 | ||
2265 | * lexsup.c (parse_args); Save optind to report unrecognized | |
2266 | option. | |
2267 | ||
2a096f04 HPN |
2268 | 2001-06-15 Hans-Peter Nilsson <[email protected]> |
2269 | ||
7e66c3f5 HPN |
2270 | * ldlang.c (lang_check): Emit fatal error if relocatable link |
2271 | between different object flavours. | |
2272 | ||
2a096f04 HPN |
2273 | * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>: |
2274 | Set new link_info member export_dynamic. | |
2275 | * ldmain.c (main): Initialize new link_info member export_dynamic. | |
2276 | ||
6770ec8c NC |
2277 | 2001-06-12 Nick Clifton <[email protected]> |
2278 | ||
2279 | * ldlang.c (walk_wild): Only call walk_wild_file if | |
2280 | lookup_name returns something. | |
b6bf44ba | 2281 | (lookup_name): If load_symbols fails, return NULL. |
22af9fd3 | 2282 | (load_symbols): Change to a boolean function. |
b6bf44ba | 2283 | (open_input_bfds): If load_symbols fails then do not make the |
6770ec8c NC |
2284 | executable. |
2285 | ||
8529105a AM |
2286 | 2001-06-08 Alan Modra <[email protected]> |
2287 | ||
2288 | * ldlang.c (record_bfd_errors): Remove. | |
2289 | ||
2290 | * emultempl/aix.em: Fix copyright dates. | |
2291 | ||
8f3aa7a0 AJ |
2292 | 2001-06-07 Andreas Jaeger <[email protected]> |
2293 | ||
2294 | * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. | |
2295 | (TEXT_START_ADDR): Likewise. | |
2296 | ||
3277f888 AM |
2297 | 2001-06-06 Martin Schwidefsky <[email protected]> |
2298 | ||
2299 | * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. | |
2300 | ||
3763134d DD |
2301 | 2001-06-05 Danny Smith <[email protected]> |
2302 | ||
2303 | * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. | |
2304 | ||
5929ebc0 L |
2305 | 2001-05-31 H.J. Lu <[email protected]> |
2306 | ||
2307 | * ldlang.c (open_input_bfds): Don't change the bfd error | |
2308 | handler whilst loading symbols. | |
2309 | ||
c04a062d NC |
2310 | 2001-05-28 Nick Clifton <[email protected]> |
2311 | ||
2312 | * configure.tgt: Remove i370-mvs architecture, it is not currently | |
2313 | supported. | |
2314 | ||
96fcab3e L |
2315 | 2001-05-25 H.J. Lu <[email protected]> |
2316 | ||
2317 | * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK | |
2318 | like emulparams/aixppc.sh. | |
2319 | ||
db8d4f23 L |
2320 | 2001-05-25 H.J. Lu <[email protected]> |
2321 | ||
2322 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move | |
2323 | setting of output_filename after bfd_scan_arch. | |
2324 | * emultempl/pe.em: Likewise. | |
2325 | ||
5f642101 L |
2326 | 2001-05-25 H.J. Lu <[email protected]> |
2327 | ||
2328 | * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK | |
2329 | like emulparams/aixppc.sh. | |
2330 | ||
2331 | * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed | |
2332 | instead of ${srcdir}/emultempl/stringify.sed. | |
2333 | ||
64e9ece0 TW |
2334 | 2001-05-25 Timothy Wall <[email protected]> |
2335 | ||
2336 | * emulparams/elf64_aix.sh: Change settings to match IBM linker | |
8f3aa7a0 | 2337 | output. |
64e9ece0 | 2338 | |
c709b096 AM |
2339 | 2001-05-25 Alan Modra <[email protected]> |
2340 | ||
2341 | * configure.host: Replace linuxoldld with linux*oldld. | |
2342 | * configure.tgt: Likewise. | |
2343 | ||
6cbdcc6f L |
2344 | 2001-05-24 H.J. Lu <[email protected]> |
2345 | ||
2346 | * emultempl/stringify.sed: Removed again. | |
2347 | ||
86af25fe L |
2348 | 2001-05-24 H.J. Lu <[email protected]> |
2349 | ||
2350 | * emultempl/aix.em (OUTPUT_ARCH): Defined. | |
2351 | (gld${EMULATION_NAME}_before_parse): Initialize | |
2352 | ldfile_output_architecture, ldfile_output_machine and | |
2353 | ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. | |
2354 | * emultempl/beos.em: Likewise. | |
2355 | * emultempl/elf32.em: Likewise. | |
2356 | * emultempl/linux.em: Likewise. | |
2357 | * emultempl/mipsecoff.em: Likewise. | |
2358 | * emultempl/pe.em: Likewise. | |
2359 | * emultempl/sunos.em: Likewise. | |
2360 | ||
3b1b01cf TR |
2361 | 2001-05-24 Tom Rix <[email protected]> |
2362 | ||
8f3aa7a0 | 2363 | * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) |
3b1b01cf TR |
2364 | udate import file format. |
2365 | (change_symbol_mode) New, same | |
2366 | (is_syscall) New, same | |
2367 | * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK | |
2368 | * emulparams/aixppc64.sh : same | |
2369 | * emulparams/aixrs6.sh : same | |
2370 | * emulparams/ppcmacos.sh : same | |
2371 | * emultempl/aix.em : use strtoull to parse options | |
2372 | * Makefile.am : add eaixppc64 emulation for xcoff64 | |
2373 | * Makefile.in : same | |
2374 | * configure.tgt : same | |
2375 | ||
2376 | * scripttempl/aix.sc : default text section offset to 0x10000000 | |
146e7110 | 2377 | default data section offset to 0x20000000 |
3b1b01cf | 2378 | add .sv3264 and .sv64 pseudo sections |
8f3aa7a0 | 2379 | loader and debug sections use the currect section offset. |
3b1b01cf TR |
2380 | |
2381 | * emultempl/aix.em : Add xcoff64 support | |
2382 | Add -binitfini support | |
8f3aa7a0 | 2383 | (gld${EMULATION_NAME}_before_parse) -binitfini |
3b1b01cf | 2384 | (gld${EMULATION_NAME}_parse_args) same |
8f3aa7a0 | 2385 | (gld${EMULATION_NAME}_before_allocation) format change for special |
3b1b01cf TR |
2386 | sections |
2387 | ||
2388 | * emulparams/aixppc64.sh : New file for xcoff64 support | |
8f3aa7a0 | 2389 | |
57e6abd2 AO |
2390 | 2001-05-23 Alexandre Oliva <[email protected]> |
2391 | ||
2392 | * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new | |
2393 | variable to avoid non-portable shell construct. | |
2394 | ||
d1cf510e NC |
2395 | 2001-05-23 Thiemo Seufer <[email protected]> |
2396 | ||
2397 | * ldmain.c (get_emulation): Add -mips5 command line argument. | |
2398 | ||
506eee22 NC |
2399 | 2001-05-22 Alexandre Oliva <[email protected]> |
2400 | ||
2401 | * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. | |
2402 | (ELF_INTERPRETER_NAME): Define it. | |
2403 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use | |
2404 | it. | |
2405 | * configure.tgt (targ_emul, targ_extra_emuls) | |
2406 | [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso | |
2407 | as primary, elf_i386 as extra. | |
2408 | * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. | |
2409 | (eelf_i386_ldso.c): New rule. | |
2410 | * Makefile.in: Rebuilt. | |
2411 | ||
2412 | 2001-05-22 Nick Clifton <[email protected]> | |
2413 | ||
2414 | * lexsup.c (ld_options): Allow -I to be an alias for | |
2415 | --dynamic-linker. This is for Solaris compatability. | |
2416 | * ld.texinfo: Document that -I can be used. | |
2417 | * ld.1: Regenerate. | |
2418 | ||
d1778b88 AM |
2419 | 2001-05-16 Alan Modra <[email protected]> |
2420 | ||
2421 | * ldlang.c (wild_doit): Use linker_has_input to reliably determine | |
2422 | whether an input section is the first one assigned to an output | |
2423 | section. | |
2424 | Assorted formatting fixes. | |
2425 | ||
02649152 DD |
2426 | 2001-05-14 DJ Delorie <[email protected]> |
2427 | ||
2428 | * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. | |
2429 | * Makefile.in: Ditto. | |
2430 | ||
579f31ac JJ |
2431 | 2001-05-11 Jakub Jelinek <[email protected]> |
2432 | ||
2433 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put | |
2434 | .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* | |
2435 | output sections. | |
2436 | * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. | |
2437 | ||
8550eb6e JJ |
2438 | 2001-05-11 Jakub Jelinek <[email protected]> |
2439 | ||
2440 | * ldlang.c (lang_process): Call bfd_merge_sections. | |
2441 | ||
8e5a525c AM |
2442 | 2001-05-07 Thiemo Seufer <[email protected]> |
2443 | ||
2444 | * ldgram.y: Fix typo. | |
2445 | ||
1c9acd94 L |
2446 | 2001-05-03 H.J. Lu <[email protected]> |
2447 | ||
2448 | * emultempl/elf32.em: Include "libiberty.h". | |
2449 | (gld${EMULATION_NAME}_vercheck): Call basename () to get the | |
2450 | basename of the bfd filename. | |
2451 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
2452 | (gld${EMULATION_NAME}_try_needed): Likewise. | |
2453 | (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. | |
2454 | ||
14fe918e L |
2455 | 2001-05-02 H.J. Lu <[email protected]> |
2456 | ||
2457 | * emultempl/pe.em: Include <ctype.h>. | |
2458 | ||
c7e40348 NC |
2459 | 2001-05-02 Johan Rydberg <[email protected]> |
2460 | ||
b6bf44ba | 2461 | * emulparams/elf32openrisc.sh: New file. |
c7e40348 | 2462 | |
b6bf44ba AM |
2463 | * Makefile.am: Add OpenRISC target. |
2464 | * Makefile.in: Regenerated. | |
c7e40348 | 2465 | |
b6bf44ba | 2466 | * configure.tgt: Add openrisc-*-* mapping. |
c7e40348 NC |
2467 | |
2468 | 2001-05-02 Nick Clifton <[email protected]> | |
2469 | ||
2470 | * emultempl/aix.em: Replace buystring with xstrdup. | |
2471 | * emultempl/beos.em: Replace buystring with xstrdup. | |
8f3aa7a0 | 2472 | |
d1b2b2dc L |
2473 | 2001-05-02 H.J. Lu <[email protected]> |
2474 | ||
2475 | * ldfile.c: Include "libiberty.h". | |
2476 | * ldlex.l: Likewise. | |
2477 | ||
2478 | * ldmisc.c (buystring): Removed. | |
2479 | * ldmisc.h: Likewise. | |
2480 | ||
2481 | * ldfile.c: Replace buystring with xstrdup. | |
2482 | * ldlang.c: Likewise. | |
2483 | * ldlex.l: Likewise. | |
2484 | * ldmain.c: Likewise. | |
2485 | * ldmisc.c: Likewise. | |
2486 | * lexsup.c: Likewise. | |
2487 | * mpw-eppcmac.c: Likewise. | |
2488 | ||
35714f2a AJ |
2489 | 2001-04-30 Andreas Jaeger <[email protected]> |
2490 | ||
2491 | * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. | |
2492 | ||
884fb58e NC |
2493 | 2001-04-28 Paul Sokolovsky <[email protected]> |
2494 | ||
b6bf44ba AM |
2495 | * ldlang.c (load_symbols): Give emulation a chance |
2496 | to process unrecognized file before fatal error is | |
2497 | reported, not after. | |
884fb58e | 2498 | |
87748b32 NC |
2499 | 2001-04-27 Sean McNeil <[email protected]> |
2500 | ||
2501 | * configure.tgt: Add arm-vxworks target. | |
2502 | * scripttempl/armcoff.sc: Support .text or .data as a section name | |
2503 | prefix. | |
2504 | Define _etext. | |
35714f2a | 2505 | |
7ce691ae C |
2506 | 2001-04-13 J.T. Conklin <[email protected]> |
2507 | ||
2508 | * ld.texinfo: Document --fatal-warnings. | |
2509 | * ld.1: Regenerate. | |
2510 | ||
2511 | * ldmisc.c (vfinfo): Set flag to inhibit making executable if | |
35714f2a | 2512 | warnings have been turned into errors. |
7ce691ae C |
2513 | * lexsup.c (OPTION_WARN_FATAL): Define. |
2514 | (ld_options): Entry for --fatal-warnings. | |
2515 | (parse_args): Handle OPTION_WARN_FATAL. | |
2516 | * ld.h (ld_config_type): Add fatal_warnings field. | |
2517 | ||
f5fa8ca2 JJ |
2518 | 2001-04-13 Jakub Jelinek <[email protected]> |
2519 | ||
2520 | * ldmain.c (main): Default to discard_sec_merge. | |
2521 | * lexsup.c (OPTION_DISCARD_NONE): Define. | |
2522 | (ld_options): Add --discard-none. | |
2523 | (parse_args): Handle OPTION_DISCARD_NONE. | |
2524 | * ldlang.c (wild_doit): SEC_MERGE should be set in the output | |
2525 | section only if SEC_MERGE and SEC_STRINGS flags and entsize of | |
2526 | all its input sections match. | |
2527 | ||
fdec3cfc L |
2528 | 2001-04-05 Steven J. Hill <[email protected]> |
2529 | ||
2530 | * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. | |
2531 | (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. | |
2532 | (eelf32ltsmip.c): New target. | |
2533 | (eelf64btsmip.c): Likewise. | |
2534 | (eelf64ltsmip.c): Likewise. | |
2535 | * Makefile.in: Regenerated. | |
2536 | ||
2537 | * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS | |
2538 | target. | |
2539 | (mips*-*-linux-gnu*): Likewise. | |
2540 | ||
2541 | * emulparams/elf32ltsmip.sh: New. Traditional little endian | |
2542 | MIPS taget. | |
35714f2a | 2543 | * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian |
fdec3cfc L |
2544 | target. |
2545 | * emulparams/elf64ltsmip.sh: New. Traditional 64bit little | |
2546 | endian target. | |
2547 | ||
589bad82 HPN |
2548 | 2001-04-05 Hans-Peter Nilsson <[email protected]> |
2549 | ||
2550 | * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide | |
2551 | correct value of __Stext here. | |
2552 | (TEXT_START_SYMBOLS): Define; always define __Stext, to start of | |
2553 | .startup section. | |
2554 | ||
2555 | * emulparams/crislinux.sh: Remove FIXME. | |
2556 | ||
94202e16 AM |
2557 | 2001-04-02 Alan Modra <[email protected]> |
2558 | ||
2559 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. | |
2560 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. | |
2561 | ||
1268a053 HPN |
2562 | 2001-03-27 Hans-Peter Nilsson <[email protected]> |
2563 | ||
2564 | * configure.tgt (cris-*-*): Change default emulation to criself. | |
2565 | (cris-*-*aout*): New rule. | |
2566 | ||
d85e9ff7 AM |
2567 | 2001-03-27 Matthew Wilcox <[email protected]> |
2568 | ||
2569 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. | |
2570 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
2571 | ||
0879a67a AJ |
2572 | 2001-03-26 Andreas Jaeger <[email protected]> |
2573 | ||
2574 | * ld.texinfo (Overview): Fix syntax in texi code. | |
2575 | ||
0285c67d NC |
2576 | 2001-03-25 Stephane Carrez <[email protected]> |
2577 | ||
2578 | * ld.texinfo: Put @c man indications to generate the ld man page. | |
2579 | When generating man, define all the variables. Define SEEALSO | |
2580 | and SYNOPSIS. Re-organize some lines to avoid the cross references. | |
2581 | * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. | |
2582 | (ld.1): Generate from ld.texinfo. | |
2583 | * Makefile.in: Regenerate. | |
2584 | ||
c20ec07b NC |
2585 | 2001-03-23 Mark Elbrecht <[email protected]> |
2586 | ||
2587 | * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' | |
146e7110 | 2588 | and '-fdata-sections'. Set the VMA of STABS sections to zero. |
c20ec07b | 2589 | |
cc5ce052 UD |
2590 | 2001-03-17 Ulrich Drepper <[email protected]> |
2591 | ||
2592 | * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME | |
2593 | is an absolute path look only for this file and not along the path. | |
2594 | ||
a1ab1d2a UD |
2595 | 2001-03-17 Ulrich Drepper <[email protected]> |
2596 | ||
2597 | * emultempl/elf32.em (OPTION_GROUP): New macro. | |
2598 | Add new option Bgroup to longopts. | |
2599 | (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. | |
2600 | (gld*_list_options): Add -Bgroup and -z defs. | |
2601 | * ld.1: Document -Bgroup and -z defs. | |
2602 | * ld.texinfo: Likewise. | |
2603 | ||
788fca5a MM |
2604 | 2001-03-07 Michael Meissner <[email protected]> |
2605 | ||
2606 | * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal | |
2607 | with sections created by -fdata-sections. | |
2608 | (.dynbss,.bss): Ditto. | |
2609 | ||
1c7566d1 AM |
2610 | 2001-03-05 Alan Modra <[email protected]> |
2611 | ||
2612 | * emultempl/m68kelf.em (m68k_elf_after_allocation): Call | |
2613 | after_allocation_default, not gld..._before_allocation. | |
2614 | ||
27b7e12d AM |
2615 | 2001-02-27 Alan Modra <[email protected]> |
2616 | ||
2617 | * configure.in (BFD_VERSION): New. | |
2618 | (AM_INIT_AUTOMAKE): Use $BFD_VERSION. | |
2619 | * configure: Regenerate. | |
2620 | * Makefile.am: Run "make dep-am" | |
2621 | * Makefile.in: Regenerate. | |
2622 | ||
2bc551c7 TW |
2623 | 2001-02-26 Timothy Wall <[email protected]> |
2624 | ||
2625 | * emulparams/elf64_aix.sh: Add additional read-only sections; | |
2626 | uncomment lines which are now required. | |
2627 | ||
1276aefa NC |
2628 | 2001-02-26 H.J. Lu <[email protected]> |
2629 | ||
2630 | * ldlang.c (open_input_bfds): Set the bfd error handler so | |
b6bf44ba AM |
2631 | that problems can be caught whilst loading symbols. |
2632 | (record_bfd_errors): New function: Report BFD errors and mark | |
2633 | the executable output as being invalid. | |
1276aefa | 2634 | |
41c49998 TW |
2635 | 2001-02-22 Timothy Wall <[email protected]> |
2636 | ||
2637 | * configure.host: Add configuration for ia64-*-aix*. | |
2638 | * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. | |
2639 | Add dependencies for eelf64_aix.c. | |
2640 | * Makefile.in: Regenerate. | |
2641 | * configure.tgt: Add ia64-*-aix* mapping. | |
2642 | * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. | |
a2b64bed | 2643 | * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from |
0879a67a AJ |
2644 | AIX-specific test. |
2645 | ||
78f85fd7 L |
2646 | 2001-02-20 H.J. Lu <[email protected]> |
2647 | ||
2648 | * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to | |
2649 | false if we found the file. | |
2650 | ||
1ac7e077 | 2651 | 2001-02-18 David O'Brien <[email protected]> |
fb33b906 DB |
2652 | |
2653 | * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, | |
2654 | FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. | |
2655 | ||
e135f41b NC |
2656 | 2001-02-18 lars brinkhoff <[email protected]> |
2657 | ||
2658 | * Makefile.am: Add PDP-11 target. | |
2659 | * configure.tgt: Likewise. | |
2660 | * emulparams/pdp11.sh: New file. | |
2661 | ||
a842aceb DB |
2662 | 2001-02-17 David O'Brien <[email protected]> |
2663 | ||
2664 | * configure.host: Add a generic FreeBSD configuration entry such that | |
2665 | all [modern] FreeBSD systems on all platforms will look the same. | |
2666 | ||
24174db0 L |
2667 | 2001-02-14 H.J. Lu <[email protected]> |
2668 | ||
2669 | * configure.tgt: Remove mention of earmelf_linux26. | |
2670 | ||
30c3c13a RH |
2671 | 2001-02-13 Richard Henderson <[email protected]> |
2672 | ||
2673 | * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. | |
2674 | ||
b46a87b1 L |
2675 | 2001-02-13 H.J. Lu <[email protected]> |
2676 | ||
2677 | * ldexp.h (node_type): Add etree_provided. | |
2678 | * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node | |
2679 | type to etree_provided if defined by PROVIDE. Allow updating | |
0879a67a | 2680 | for etree_provided. |
b46a87b1 L |
2681 | (exp_print_tree): Handle etree_provided. |
2682 | * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle | |
2683 | etree_provided. | |
2684 | ||
f3988fd9 RH |
2685 | 2001-02-09 David Mosberger <[email protected]> |
2686 | ||
2687 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add | |
2688 | .IA_64.unwind.* pattern to unwind table section and | |
2689 | .IA_64.unwind_info* pattern to unwind info section. | |
2690 | ||
a85d7ed0 NC |
2691 | 2001-02-09 Martin Schwidefsky <[email protected]> |
2692 | ||
2693 | * Makefile.am: Add linux target for S/390. | |
2694 | * Makefile.in: Likewise. | |
2695 | * configure.host: Likewise. | |
2696 | * configure.tgt: Likewise. | |
2697 | * emulparams/elf64_s390.sh: New file. | |
2698 | * emulparams/elf_s390.sh: New file. | |
2699 | ||
780248c4 JJ |
2700 | 2001-02-09 Jakub Jelinek <[email protected]> |
2701 | ||
2702 | * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into | |
2703 | targ_extra_libpath. | |
2704 | (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. | |
2705 | ||
0e2534bd PB |
2706 | 2001-02-06 Philip Blundell <[email protected]> |
2707 | ||
2708 | * Makefile.am: Remove mention of earmelf_linux26. | |
2709 | * Makefile.in: Regenerate. | |
2710 | ||
46c1ea57 PB |
2711 | 2001-02-04 Philip Blundell <[email protected]> |
2712 | ||
2713 | * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. | |
2714 | * emulparams/armelf_linux26.sh: Delete. | |
2715 | * configure.tgt: Remove mention of armelf_linux26 emulation. | |
2716 | ||
0088edd2 NC |
2717 | 2001-02-01 Nick Clifton <[email protected]> |
2718 | ||
2719 | * ld.1: Replace occurances of -oformat with --oformat. | |
2720 | ||
02aa14fb AM |
2721 | 2001-01-25 Jim Driftmyer <[email protected]> |
2722 | ||
2723 | * ldlang.c (lang_leave_overlay): Don't set lma_region when | |
2724 | load_base is specified. | |
2725 | ||
f813923c HPN |
2726 | 2001-01-24 Hans-Peter Nilsson <[email protected]> |
2727 | ||
2728 | * emultempl/elf32.em: Correct spelling in comments and listed | |
2729 | options. | |
2730 | ||
c1eb1488 AM |
2731 | 2001-01-23 Alan Modra <[email protected]> |
2732 | ||
2733 | * ldlang.c (lang_leave_overlay): Only set lma_region from the | |
2734 | default for the first section of a group of overlay sections. | |
2735 | ||
d9fc3714 AM |
2736 | 2001-01-22 Alan Modra <[email protected]> |
2737 | ||
2738 | * Makefile.am (GENSCRIPTS): Pass exec_prefix. | |
2739 | * Makefile.in: Regenerate. | |
2740 | * genscripts.sh: Use exec_prefix parameter to specify tool lib. | |
2741 | Check for null tool_dir. | |
2742 | ||
6be0ca94 JW |
2743 | 2001-01-16 Jim Wilson <[email protected]> |
2744 | ||
2745 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind | |
2746 | and IA_64.unwind.info. | |
2747 | ||
b9247304 L |
2748 | 2001-01-16 H.J. Lu <[email protected]> |
2749 | ||
2750 | * ldlang.c (lang_check): Merge the private data only if the | |
2751 | input file has contents. | |
2752 | ||
577a0623 AM |
2753 | 2001-01-14 Alan Modra <[email protected]> |
2754 | ||
d952f17a AM |
2755 | * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. |
2756 | ||
ffd6e9de AM |
2757 | * emultempl/hppaelf.em (hppaelf_after_parse): New function, |
2758 | enabling search for libmilli. On a relocatable link, make .text | |
2759 | sections unique. | |
2760 | (LDEMUL_AFTER_PARSE): Define. | |
2761 | (hppaelf_finish): Correct spelling of relocatable in comments. | |
2762 | ||
577a0623 AM |
2763 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't |
2764 | rummage through the script for sections on the unique list. | |
2765 | Correct length of strncmp for ".note". | |
2766 | (gld${EMULATION_NAME}_check_needed): Rearrange function. | |
2767 | ||
2768 | * ldlang.c (unique_section_list): New var. | |
2769 | (unique_section_p): New function. | |
2770 | (walk_wild_section): Don't match sections on unique_section_list. | |
2771 | (lang_add_unique): New function. | |
ffd6e9de | 2772 | Correct spelling of relocatable in comments. |
577a0623 AM |
2773 | |
2774 | * ldlang.h (struct unique_sections): Declare. | |
2775 | (unique_section_list): Declare. | |
2776 | (unique_section_p): Declare. | |
2777 | (lang_add_unique): Declare. | |
2778 | ||
2779 | * lexsup.c (ld_options): Allow --unique to take an optional arg. | |
2780 | (parse_args [OPTION_UNIQUE]): Call lang_add_unique. | |
2781 | ||
2782 | * ld.texinfo (--unique): Update. | |
2783 | ||
b7ed8fad NC |
2784 | 2001-01-13 Nick Clifton <[email protected]> |
2785 | ||
2786 | * lexsup.c (parse_args): Remove spurious white space. | |
2787 | ||
d0398d6a NC |
2788 | 2001-01-12 Nick Clifton <[email protected]> |
2789 | ||
2790 | * lexsup.c (parse_args): Update copyright date. | |
2791 | ||
350fdb00 PB |
2792 | 2001-01-12 Philip Blundell <[email protected]> |
2793 | ||
2794 | * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. | |
2795 | ||
60c6797e KH |
2796 | 2001-01-10 Kazu Hirata <[email protected]> |
2797 | ||
2798 | * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. | |
2799 | * scripttempl/h8300h.sc: Fix formatting. | |
2800 | * scripttempl/h8300s.sc: Likewise. | |
69f06969 KH |
2801 | * scripttempl/h8500.sc: Likewise. |
2802 | * scripttempl/h8500b.sc: Likewise. | |
2803 | * scripttempl/h8500c.sc: Likewise. | |
2804 | * scripttempl/h8500m.sc: Likewise. | |
2805 | * scripttempl/h8500s.sc: Likewise. | |
60c6797e | 2806 | |
482e8b32 DB |
2807 | 2000-01-07 David O'Brien <[email protected]> |
2808 | ||
2809 | * emultempl/elf32.em: Only perform Linux ld hints processing when | |
2810 | targeting Linux. | |
2811 | ||
d7ed7ca6 PB |
2812 | 2001-01-07 Philip Blundell <[email protected]> |
2813 | ||
2814 | * ld.texinfo (Bug Reporting): Update email address for reports. | |
2815 | ||
0fc3347a NC |
2816 | 2000-12-31 Nick Clifton <[email protected]> |
2817 | ||
2818 | * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long | |
2819 | options by checking for a return value of '?' not -1. | |
2820 | ||
e4897a32 NC |
2821 | 2000-12-28 Nick Clifton <[email protected]> |
2822 | ||
2823 | * lexsup.c (struct ld_option): Add new enum value: | |
2824 | EXACTLY_TWO_DASHES. | |
2825 | (ld_options[]): Change -omagic, -output and -oformat options | |
2826 | to be EXACTLY_TWO_DASHES. | |
2827 | (OUTPUT_COUNT): Use ARRAY_SIZE. | |
2828 | (parse_args): Change parameter 'argc' to unsigned. | |
2829 | Place EXACTLY_TWO_DASHES options into new really_longopts | |
2830 | array. | |
2831 | If getopt_long_only fails, try calling getopt_long using the | |
2832 | really_longopts array. | |
2833 | (help): Print a double dash for both EXACTLY_TWO_DASHES and | |
2834 | TWO_DASHES options. | |
2835 | ||
2836 | * ldlex.h: Fix prototype of parse_args. | |
2837 | ||
2838 | * ld.texinfo: Document that long options starting with 'o' | |
2839 | must be preceeded by two dashes. Change example of a single | |
2840 | dashed long option from -oformat to -trace-symbol. | |
2841 | ||
1122a5fc NC |
2842 | 2000-12-26 Danny Smith <[email protected]> |
2843 | ||
2844 | * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. | |
2845 | (longopts[]): New --no-default-excludes option. | |
2846 | (gld_${EMULATION_NAME}_list_options): Document. | |
2847 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
2848 | ||
037849a9 NC |
2849 | 2000-12-13 Michael Sokolov <[email protected]> |
2850 | ||
2851 | * ldlang.c (new_stat): Revert the last beautification with "innocent" | |
2852 | whitespace, it breaks the K&R C preprocessor. | |
2853 | ||
7ec229ce DD |
2854 | 2000-12-11 DJ Delorie <[email protected]> |
2855 | ||
2856 | * ld.texinfo: Add notes about --whole-archive and gcc. | |
2857 | ||
b79e8c78 NC |
2858 | 2000-11-18 Fred Fish <[email protected]> |
2859 | ||
2860 | * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. | |
2861 | (ld_options): Entry for --allow-shlib-undefined. | |
2862 | (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. | |
2863 | * ldmain.c (main): Initialize link_info.allow_shlib_undefined | |
2864 | to false. | |
2865 | * ld.texinfo: Document new command line switch. | |
d952f17a | 2866 | |
9a8e2505 GK |
2867 | 2000-12-12 Geoffrey Keating <[email protected]> |
2868 | ||
2869 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): | |
2870 | .fixup is actually read/write. | |
2871 | * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
2872 | * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
2873 | * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
2874 | ||
3b16e843 | 2875 | 2000-12-11 Jan Hubicka <[email protected]> |
b8355149 JH |
2876 | |
2877 | * NEWS: Add note about x86_64 architecture. | |
2878 | ||
93b63cd3 DD |
2879 | 2000-12-06 Mark Elbrecht <[email protected]> |
2880 | ||
2881 | * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. | |
2882 | Set DWARF2 sections to a VMA of zero. | |
2883 | ||
68b2fc7a | 2884 | 2000-12-01 Joel Sherrill <[email protected]> |
24f6971a | 2885 | |
d952f17a | 2886 | * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): |
24f6971a NC |
2887 | New targets. |
2888 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
2889 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
2890 | ||
2be3aa03 NC |
2891 | 2000-11-30 Jan Hubicka <[email protected]> |
2892 | ||
2893 | * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o | |
2894 | (eelf_x86_64.c): New. | |
2895 | * Makefile.in: Regenerate. | |
2896 | * configure.tgt: Add support for x86_64-*-linux-gnu*. | |
2897 | * emulparams/elf_x86_64.sh: New. | |
2898 | ||
8c899858 HPN |
2899 | 2000-11-30 Hans-Peter Nilsson <[email protected]> |
2900 | ||
2901 | * emulparams/crislinux.sh (ENTRY): Change back to _start. | |
2902 | (TEXT_START_SYMBOLS): Remove conditional setting of __start. | |
2903 | ||
2904 | * scripttempl/crisaout.sc: Change all RELOCATING not related to | |
2905 | merging non-a.out sections into CONSTRUCTING. | |
2906 | ||
e47b9e39 NC |
2907 | 2000-11-28 Nick Clifton <[email protected]> |
2908 | ||
2909 | * ld.1 (COPYING): Mention that the GNU Free Documentation | |
2910 | License is present in the sources, but not the output, and | |
2911 | also available from the GNU website. | |
2912 | (GNU Free Documentation License): Comment out this section. | |
2913 | ||
ad95f82a DB |
2914 | 2000-11-28 David O'Brien <[email protected]> |
2915 | ||
2916 | * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF | |
2917 | does not use them. | |
2918 | ||
fd89e65f DB |
2919 | 2000-11-25 David O'Brien <[email protected]> |
2920 | ||
2921 | * ld.1: Remove old date so it does not give the impression the manpage | |
2922 | is way out of date. | |
2923 | ||
077b8428 NC |
2924 | 2000-11-24 Nick Clifton <[email protected]> |
2925 | ||
2926 | * configure.tgt (xscale-coff): Add target. | |
2927 | (xscale-elf): Add target. | |
2928 | ||
49425d28 NC |
2929 | 2000-11-24 Fred Fish <[email protected]> |
2930 | ||
d952f17a AM |
2931 | * ldmain.c (main): Remove redundant init of config.make_executable |
2932 | to true. | |
49425d28 | 2933 | |
d3480244 RH |
2934 | 2000-11-15 Richard Henderson <[email protected]> |
2935 | ||
2936 | * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. | |
2937 | ||
1ce7de8b KH |
2938 | 2000-11-14 Kazu Hirata <[email protected]> |
2939 | ||
2940 | * scripttempl/h8300.sc: Fix formatting. | |
2941 | * scripttempl/h8300h.sc: Likewise. | |
2942 | * scripttempl/h8300s.sc: Likewise. | |
2943 | ||
3b16e843 | 2944 | 2000-11-14 Denis Chertykov <[email protected]> |
208d5cd0 DC |
2945 | |
2946 | * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. | |
2947 | ||
2e418547 PB |
2948 | 2000-11-09 Philip Blundell <[email protected]> |
2949 | ||
2950 | * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME | |
2951 | around orphan sections whose names can be represented in C. | |
2952 | ||
c940e6fc JW |
2953 | 2000-11-07 Jim Wilson <[email protected]> |
2954 | ||
2955 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local | |
2956 | hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. | |
2957 | ||
704c465c NC |
2958 | 2000-11-06 Nick Clifton <[email protected]> |
2959 | ||
2960 | * ld.texinfo: Add GNU Free Documentation License. | |
2961 | * ldint.texinfo: Add GNU Free Documentation License. | |
cf055d54 | 2962 | * ld.1: Add GNU Free Documentation License. |
704c465c | 2963 | |
dca7760f AM |
2964 | 2000-11-05 Alan Modra <[email protected]> |
2965 | ||
2966 | * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, | |
2967 | yy_is_interactive, yy_at_bol, and yy_fill_buffer. | |
2968 | ||
2969 | * Makefile.am (DISTCLEANFILES): Add stringify.sed. | |
2970 | Move 2000-11-02 Makefile.in changes to this file. | |
2971 | * Makefile.in: Regenerate. | |
2972 | ||
40a633d5 NC |
2973 | 2000-11-03 Nick Clifton <[email protected]> |
2974 | ||
2975 | * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose | |
2976 | constructors and destructors. | |
2977 | * scripttempl/h8300h.sc: Ditto. | |
2978 | * scripttempl/h8300s.sc: Ditto. | |
2979 | * scripttempl/h8500.sc: Ditto. | |
2980 | * scripttempl/h8500b.sc: Ditto. | |
2981 | * scripttempl/h8500c.sc: Ditto. | |
2982 | * scripttempl/h8500m.sc: Ditto. | |
2983 | * scripttempl/h8500s.sc: Ditto. | |
2984 | * scripttempl/v850.sc: Ditto. | |
2985 | * scripttempl/w65.sc: Ditto. | |
2986 | * scripttempl/z8000.sc: Ditto. | |
2987 | ||
59ff2774 NC |
2988 | 2000-11-02 Per Lundberg <[email protected]> |
2989 | ||
2990 | * Makefile.in (e_i386_chaos.c): New rule. | |
2991 | (ALL_EMULATIONS): Added e_i386_chaos.o. | |
2992 | * emulparams/elf_i386_chaos.sh: New file. | |
2993 | * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. | |
2994 | ||
645571e1 JJ |
2995 | 2000-10-20 Jakub Jelinek <[email protected]> |
2996 | ||
2997 | * emulparams/elf64_sparc.sh (TEXT_START_ADDR, | |
2998 | NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. | |
2999 | Fix sed invocation, so that it coped with '/' in Solaris 64bit | |
3000 | library path suffix. | |
3001 | Based on patch by Andrew Macleod <[email protected]>. | |
3002 | ||
c5975a45 HPN |
3003 | 2000-10-18 Hans-Peter Nilsson <[email protected]> |
3004 | ||
3005 | * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), | |
3006 | for consecutive sections. | |
3007 | ||
ea20a7da CC |
3008 | 2000-10-17 Chandrakala Chavva <[email protected]> |
3009 | ||
d952f17a AM |
3010 | * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific |
3011 | options. | |
3012 | * ld.texinfo: Added notes about this new option. | |
ea20a7da | 3013 | |
6e45556a NC |
3014 | 2000-10-16 Nick Clifton <[email protected]> |
3015 | ||
3016 | * emultempl/pe.em (_after_open): Add tests of return values from | |
3017 | bfd functions. Emit appropriate error messages if necessary. | |
3018 | ||
b9a69188 NC |
3019 | 2000-10-13 Nick Clifton <[email protected]> |
3020 | ||
3021 | * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' | |
102c86f8 NC |
3022 | local variables - they are not used, but leave in the call to |
3023 | bfd_canonicalize_symtab. | |
b9a69188 NC |
3024 | (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of |
3025 | pe_dll_search_prefix. | |
3026 | ||
627427de | 3027 | 2000-10-12 Charles Wilson <[email protected]> |
d952f17a | 3028 | |
627427de DD |
3029 | * emultempl/pe.em (pe_dll_search_prefix): New variable, |
3030 | (longopts): New --dll-search-prefix option. | |
3031 | (gld_${EMULATION_NAME}_list_options): Document. | |
3032 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
3033 | (gld_${EMULATION_NAME}_open_dynamic_archive): When linking | |
3034 | dynamically, search for a dll named '<prefix><basename>.dll' | |
3035 | in preference to 'lib<basename>.dll' if --dll-search-prefix | |
3036 | is specified. | |
3037 | ||
24376d1b AM |
3038 | 2000-10-12 Alan Modra <[email protected]> |
3039 | ||
3040 | * ldlang.c (section_already_linked): Set kept_section instead of | |
3041 | sec->comdat->sec. | |
3042 | ||
e47d05ad KH |
3043 | 2000-10-10 Kazu Hirata <[email protected]> |
3044 | ||
3045 | * deffile.h: Fix formatting. | |
3046 | * lexsup.c: Likewise. | |
3047 | * mri.c: Likewise. | |
3048 | ||
23a87948 DD |
3049 | 2000-10-09 Paul Sokolovsky <[email protected]> |
3050 | ||
3051 | * pe-dll.c (make_one): Do not generate code thunk for DATA | |
3052 | exports. | |
3053 | (process_def_file): deduce DATA flag for auto-export sumbols. | |
3054 | ||
86b1cc60 KH |
3055 | 2000-10-09 Kazu Hirata <[email protected]> |
3056 | ||
89cdebba KH |
3057 | * ld.h: Fix formatting. |
3058 | * ldcref.c: Likewise. | |
3059 | * ldctor.h: Likewise. | |
3060 | * ldemul.c: Likewise. | |
3061 | * ldemul.h: Likewise. | |
3062 | * ldexp.c: Likewise. | |
3063 | * ldexp.h: Likewise. | |
3064 | * ldfile.c: Likewise. | |
3065 | * ldfile.h: Likewise. | |
3066 | * ldlang.c: Likewise. | |
3067 | * ldlang.h: Likewise. | |
3068 | * ldmain.c: Likewise. | |
7bfd51a3 KH |
3069 | * pe-dll.c: Likewise. |
3070 | ||
3071 | * pe-dll.c: Revert some formatting fixes. | |
86b1cc60 | 3072 | |
d643799d KH |
3073 | 2000-10-08 Kazu Hirata <[email protected]> |
3074 | ||
3075 | * pe-dll.c: Fix formatting. | |
3076 | ||
08da4cac KH |
3077 | 2000-10-05 Kazu Hirata <[email protected]> |
3078 | ||
3079 | * ldlang.c: Fix formatting. | |
3080 | ||
c2a94a7a DD |
3081 | 2000-10-03 DJ Delorie <[email protected]> |
3082 | ||
3083 | * pe-dll.c (fill_edata): initialize entire block | |
3084 | (make_one): fill in correct section. | |
3085 | ||
8c95a62e KH |
3086 | 2000-10-03 Kazu Hirata <[email protected]> |
3087 | ||
3088 | * ldexp.c: Fix formatting. | |
3089 | ||
486e80e2 DD |
3090 | 2000-10-02 DJ Delorie <[email protected]> |
3091 | ||
3092 | * emultempl/pe.em (gld_*_after_open): detect case where there two | |
3093 | import libraries for same dll; rename one to ensure proper link | |
3094 | order. | |
3095 | ||
3096 | * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix | |
3097 | typo | |
3098 | (generate_edata): fix typo | |
3099 | ||
24dd9f75 HPN |
3100 | 2000-09-29 Hans-Peter Nilsson <[email protected]> |
3101 | ||
3102 | * scripttempl/crisaout.sc (ENTRY): Now __start. | |
3103 | (.text): Add default setting for __start. | |
3104 | Remove CONSTRUCTORS handling. | |
3105 | (/DISCARD/): Add .gnu.warning.*. | |
3106 | * emulparams/crislinux.sh (ENTRY): Now __start. | |
3107 | (TEXT_START_SYMBOLS): New; provide __Stext and __start default. | |
3108 | * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. | |
3109 | (ENTRY): Now __start. | |
3110 | (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. | |
3111 | (EXECUTABLE_SYMBOLS): Add default setting for __start. | |
3112 | ||
4de2d33d KH |
3113 | 2000-09-29 Kazu Hirata <[email protected]> |
3114 | ||
5cc18311 KH |
3115 | * deffile.h: Fix formatting. |
3116 | * ld.h: Likewise. | |
3117 | * ldcref.c: Likewise. | |
4de2d33d | 3118 | * ldctor.c: Likewise. |
5cc18311 | 3119 | * ldctor.h: Likewise. |
4de2d33d | 3120 | * ldemul.c: Likewise. |
5cc18311 | 3121 | * ldemul.h: Likewise. |
4de2d33d | 3122 | * ldexp.c: Likewise. |
5cc18311 | 3123 | * ldexp.h: Likewise. |
4de2d33d | 3124 | * ldfile.c: Likewise. |
5cc18311 | 3125 | * ldfile.h: Likewise. |
4de2d33d | 3126 | * ldlang.c: Likewise. |
5cc18311 KH |
3127 | * ldlang.h: Likewise. |
3128 | * lexsup.c: Likewise. | |
3129 | * mri.c: Likewise. | |
3130 | * pe-dll.c: Likewise. | |
4de2d33d | 3131 | |
45b1f63c DD |
3132 | 2000-09-28 Paul Sokolovsky <[email protected]> |
3133 | ||
3134 | * pe-dll.c (process_def_file): Uninitialized data wasn't | |
3135 | exported with --export-all-symbols switch. | |
d952f17a | 3136 | |
45b1f63c DD |
3137 | 2000-09-28 DJ Delorie <[email protected]> |
3138 | ||
3139 | * pe-dll.c (fill_edata): rearrange the data so that ordinals and | |
3140 | noname work properly. | |
3141 | ||
47d89dba AM |
3142 | 2000-09-28 Alan Modra <[email protected]> |
3143 | ||
3144 | * ld.texinfo (HPPA ELF32): New section. | |
3145 | ||
3146 | * emultempl/hppaelf.em (group_size): New. | |
3147 | (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. | |
3148 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. | |
3149 | (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate | |
3150 | options to prevent abbreviations matching. | |
3151 | (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. | |
3152 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
3153 | ||
36bdbeec NC |
3154 | 2000-09-21 Michael Sokolov <[email protected]> |
3155 | ||
3156 | * emultempl/m68kelf.em: Conditionalise the embedded relocs feature | |
3157 | on the m68*-*-elf target. Make it support COFF input objects. | |
3158 | ||
6d5e62f8 KH |
3159 | 2000-09-21 Kazu Hirata <[email protected]> |
3160 | ||
3161 | * ldmain.c: Fix formatting. | |
3162 | * ldmisc.c: Likewise. | |
3163 | * ldver.c: Likewise. | |
3164 | * ldwrite.c: Likewise. | |
3165 | ||
e2eb67d9 AM |
3166 | 2000-09-21 Alan Modra <[email protected]> |
3167 | ||
3168 | * ldwrite.c (clone_section): Silence gcc warnings. | |
3169 | ||
b3ea3584 AM |
3170 | 2000-09-20 Alan Modra <[email protected]> |
3171 | ||
3172 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle | |
3173 | out of memory failure. | |
3174 | ||
3175 | * ldwrite.c (ldwrite): Remove unnecessary einfo arg. | |
3176 | (clone_section): Handle out of memory failures. Rename var to | |
3177 | avoid c++ reserved word. | |
3178 | ||
25f72752 AM |
3179 | 2000-09-18 Alan Modra <[email protected]> |
3180 | ||
3181 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename | |
3182 | stub_name param to stub_sec_name. | |
3183 | (hppaelf_finish): Modify call to elf32_hppa_size_stubs. | |
3184 | ||
0752970e NC |
3185 | 2000-09-10 Michael Sokolov <[email protected]> |
3186 | ||
3187 | * emultempl/m68kelf.em: New file. | |
3188 | * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. | |
3189 | * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. | |
3190 | * Makefile.in: Regenerate. | |
3191 | ||
92b7e9d8 AM |
3192 | 2000-09-15 Alan Modra <[email protected]> |
3193 | ||
3194 | * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ | |
3195 | only as needed. | |
3196 | ||
9b14b192 NC |
3197 | 2000-09-13 Nick Clifton <[email protected]> |
3198 | ||
3199 | * ldmain.c (multiple_definition): Disable relaxation if | |
3200 | multiple symbol definitions are encountered - otherwise the | |
3201 | linker could abort with an assertion failure. | |
3202 | ||
891fa266 NC |
3203 | 2000-09-10 Nick Clifton <[email protected]> |
3204 | ||
3205 | * mri.c: Fix formatting. | |
3206 | ||
5d64ca4e L |
3207 | 2000-09-07 H.J. Lu <[email protected]> |
3208 | ||
3209 | * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. | |
3210 | * configure: Rebuild. | |
3211 | ||
dd94604f L |
3212 | 2000-09-07 H.J. Lu <[email protected]> |
3213 | ||
3214 | * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. | |
3215 | * Makefile.in: Rebuild. | |
3216 | ||
71bfc0ae AM |
3217 | 2000-09-07 Alan Modra <[email protected]> |
3218 | ||
3219 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix | |
3220 | broken list handling. Create __start_SECNAME and __stop_SECNAME | |
3221 | when no place-holder. Add some comments. Test both SEC_CODE and | |
3222 | SEC_READONLY for hold_text to prevent .rodata orphan poisoning. | |
ed15ac6a | 3223 | Handle case where no output section statement created. |
71bfc0ae | 3224 | |
4a428502 AO |
3225 | 2000-09-07 Niibe Yutaka <[email protected]>, Kaz Kojima <[email protected]>, Alexandre Oliva <[email protected]> |
3226 | ||
3227 | * configure.tgt (sh-*-linux*): Added. | |
3228 | * Makefile.am: Added eshelf_linux and eshlelf_linux. | |
3229 | * Makefile.in: Rebuilt. | |
3230 | * emulparams/shelf_linux.sh: New file. | |
3231 | * emulparams/shlelf_linux.sh: New file. | |
3232 | ||
f9989030 AM |
3233 | 2000-09-06 Alan Modra <[email protected]> |
3234 | ||
3235 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
3236 | try shuffling sections when the orphan happens to be the place | |
3237 | holder. Keep count of unique section names generated so we speed | |
3238 | the search for a new name. | |
3239 | ||
58cccadb AO |
3240 | 2000-09-06 Alexandre Oliva <[email protected]> |
3241 | ||
3242 | * configure: Rebuilt with new libtool.m4. | |
3243 | ||
5b343f5a NC |
3244 | 2000-09-05 Nick Clifton <[email protected]> |
3245 | ||
3246 | * Makefile.in: Regenerate. | |
3247 | * aclocal.m4: Regenerate. | |
3248 | * configure: Regenerate. | |
3249 | * config.in: Regenerate. | |
3250 | * po/ld.pot: Regenerate. | |
3251 | ||
3252 | * ldint.texinfo: Remove CVS revision marker - it foils local | |
3253 | comparisons. | |
3254 | ||
3255 | * emultempl/ticoff.em: Remove extraneous comma. | |
50bbae35 | 3256 | |
a854a4a7 AM |
3257 | 2000-09-05 Alan Modra <[email protected]> |
3258 | ||
3231d22e AM |
3259 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC |
3260 | to stub section flags. | |
3261 | (hppa_for_each_input_file_wrapper): New. | |
3262 | (hppa_lang_for_each_input_file): New. | |
3263 | (lang_for_each_input_file): Define to call above. | |
3264 | (multi_subspace): New. | |
3265 | (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. | |
3266 | (PARSE_AND_LIST_PROLOGUE): Define. | |
3267 | (PARSE_AND_LIST_LONGOPTS): Define. | |
3268 | (PARSE_AND_LIST_OPTIONS): Define. | |
3269 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
3270 | (hppaelf_finish): Call elf32_hppa_set_gp. | |
3271 | (hppaelf_set_output_arch): Remove. | |
3272 | (LDEMUL_SET_OUTPUT_ARCH): Remove. | |
3273 | ||
3274 | * emulparams/hppalinux.sh (ELFSIZE): Define. | |
3275 | (MACHINE): Define. | |
3276 | (OTHER_READONLY_SECTIONS): Define. | |
3277 | (DATA_PLT): Define. | |
3278 | (GENERATE_SHLIB_SCRIPT): Define. | |
3279 | ||
5f992e62 AM |
3280 | * ldlang.c: Add missing prototypes, and tidy others. Change CONST |
3281 | to const throughout. Change `void *' to `PTR' throughout. | |
3282 | (lang_memory_default): Function is local to file, add `static'. | |
3283 | ||
3284 | * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. | |
3285 | (ehppalinux.c): Likewise. | |
3286 | (earmelf.c): Likewise. | |
3287 | (earmelf_linux.c): Likewise. | |
3288 | (earmelf_linux26.c): Likewise. | |
3289 | * Makefile.in: Regenerate. | |
3290 | ||
a854a4a7 AM |
3291 | * ld.h (ld_config_type): Add unique_orphan_sections. |
3292 | * lexsup.c (OPTION_UNIQUE): Define. | |
3293 | (ld_options): Add "--unique". | |
3294 | (parse_args): Handle it. | |
3295 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
3296 | search for an existing output section if unique_orphan_sections is | |
3297 | set. Make use of bfd_get_unique_section_name rather than | |
3298 | duplicating code here. | |
3299 | * ld.texinfo: Describe --unique. | |
3300 | ||
3301 | * lexsup.c (ld_options): Make split-by-reloc arg optional. Add | |
3302 | optional arg to split-by-file. | |
3303 | (parse_args): Handle them. | |
3304 | * ld.texinfo: Update description of these options. | |
3305 | * ldwrite.c (clone_section): Pass in the section name. Replace | |
3306 | local code with bfd_get_unique_section_name. | |
3307 | (split_sections): Tidy code and comments. Use a list traversal | |
3308 | more appropriate to the list construction. Handle cooked section | |
3309 | sizes. Split when split_by_reloc reached rather than exceeded. | |
3310 | Track section size and split when split_by_file reached. Fix | |
3311 | link_order_tail (even though it's not used). | |
3312 | (ldwrite): Modify condition for calling split_sections to suit | |
3313 | changed split_by_reloc and split_by_file. | |
3314 | * ldmain.c (main): Init config.split_by_reloc and | |
3315 | config.split_by_file to -1. | |
3316 | * ld.h (ld_config_type): Change split_by_reloc to unsigned. | |
3317 | Change split_by_file to bfd_size_type. | |
3318 | ||
18e03609 NC |
3319 | 2000-09-02 Nick Clifton <[email protected]> |
3320 | ||
3321 | * configure.in: Increase version number to 2.10.91. | |
3322 | * NEWS: Mention new ability to support removal of duplicate DWARF2 | |
3323 | debug information. | |
3324 | * configure: Regenerate. | |
3325 | * aclocal.m4: Regenerate. | |
3326 | * config.in: Regenerate. | |
3327 | ||
3a9d486c NC |
3328 | 2000-09-02 Daniel Berlin <[email protected]> |
3329 | ||
3330 | * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info | |
3331 | sections. | |
a2b64bed | 3332 | * scripttempl/elf32avr.sc: Ditto. |
3a9d486c NC |
3333 | * scripttempl/elfd10v.sc: Ditto. |
3334 | * scripttempl/elfd30v.sc: Ditto. | |
3335 | * scripttempl/elfi370.sc: Ditto. | |
3336 | * scripttempl/elfm68hc11.sc: Ditto. | |
3337 | * scripttempl/elfm68hc12.sc: Ditto. | |
3338 | * scripttempl/elfi386beos.sc: Ditto. | |
3339 | * scripttempl/v850.sc: Ditto. | |
50bbae35 | 3340 | |
ac48eca1 AO |
3341 | 2000-08-31 Alexandre Oliva <[email protected]> |
3342 | ||
3343 | * acinclude.m4: Include libtool and gettext macros from the | |
3344 | top level. | |
3345 | * aclocal.m4, configure: Rebuilt. | |
3346 | ||
c13b1b77 NC |
3347 | 2000-08-25 Nick Clifton <[email protected]> |
3348 | ||
3349 | * ldlang.c (open_output): When choosing the target for a | |
3350 | particular endianness, do nothing if the target is not | |
3351 | supported. | |
3352 | ||
dcb0bd0e L |
3353 | 2000-08-25 H.J. Lu <[email protected]> |
3354 | ||
3355 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
3356 | check -rpath nor LD_RUN_PATH for cross link. | |
3357 | * ld.texinfo: Document the change. | |
3358 | ||
5bcac8a4 HPN |
3359 | 2000-08-24 Hans-Peter Nilsson <[email protected]> |
3360 | ||
3361 | * NEWS: Mention support for CRIS. | |
3362 | ||
6dd8c765 L |
3363 | 2000-08-23 H.J. Lu <[email protected]> |
3364 | ||
3365 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get | |
3366 | the current runpath list from bfd_elf_get_runpath_list () | |
3367 | before search. | |
3368 | ||
ec4eb78a L |
3369 | 2000-08-22 H.J. Lu <[email protected]> |
3370 | ||
3371 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search | |
3372 | the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after | |
3373 | LD_LIBRARY_PATH for native linker. Display the needed DSO if | |
3374 | trace_file_tries is non-zero. | |
3375 | (gld${EMULATION_NAME}_try_needed): Report the needed DSO found | |
3376 | if trace_file_tries is non-zero. | |
3377 | ||
3378 | * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. | |
a8175964 | 3379 | * NEWS: Mention it. |
ec4eb78a | 3380 | |
22b36938 JE |
3381 | 2000-08-14 Jason Eckhardt <[email protected]> |
3382 | ||
3383 | * NEWS: Mention i860 support. | |
3384 | ||
d73e9da0 AS |
3385 | 2000-08-14 Andreas Schwab <[email protected]> |
3386 | ||
3387 | * scripttempl/elf.sc: Fix last change to use correct comment | |
50bbae35 | 3388 | syntax. |
d73e9da0 | 3389 | |
9ac4db9c GK |
3390 | 2000-08-10 Geoff Keating <[email protected]> |
3391 | ||
3392 | * scripttempl/elf.sc: Add a comment giving the correspondence | |
3393 | between sections, per-datum sections, and linkonce sections. Make | |
3394 | the comment true even for .bss, .sdata, .sdata2, .sbss, and | |
3395 | .sbss2. | |
3396 | ||
165589e4 JE |
3397 | 2000-08-10 Jason Eckhardt <[email protected]> |
3398 | ||
3399 | * emulparams/elf32_i860.sh: New file. | |
3400 | * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. | |
3401 | * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. | |
3402 | (eelf32_i860.c): New rule. | |
3403 | * Makefile.in: Regenerate. | |
3404 | ||
345a835d NC |
3405 | 2000-08-10 Nick Clifton <[email protected]> |
3406 | ||
3407 | * emulparams/mipspe.sh (ENTRY): Add definition. | |
3408 | ||
e374f1d9 NC |
3409 | 2000-08-08 Peter Jeremy <[email protected]> |
3410 | ||
3411 | * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath | |
3412 | in error message. | |
3413 | ||
236d5abf NC |
3414 | 2000-08-08 Stephane Carrez <[email protected]> |
3415 | ||
3416 | * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate | |
3417 | the final size of .bss section. | |
3418 | * scripttempl/elfm68hc12.sc: Likewise. | |
3419 | ||
4b209b22 AM |
3420 | 2000-08-04 Alan Modra <[email protected]> |
3421 | ||
3422 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to | |
3423 | gld${EMULATION_NAME}_parse_args for consistency. Combine | |
3424 | lastoptind and prevoptind vars, and keep track of last optind. | |
3425 | (gld_${EMULATION_NAME}_list_options): Rename to | |
3426 | gld${EMULATION_NAME}_list_options. | |
3427 | ||
28423a68 AM |
3428 | 2000-08-03 Rodney Brown <[email protected]> |
3429 | ||
3430 | * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 | |
3431 | (i586-sco-sysv5uw7.1.0). | |
3432 | ||
b2009ff7 L |
3433 | 2000-07-27 H.J. Lu <[email protected]> |
3434 | ||
3435 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. | |
3436 | (PARSE_AND_LIST_PROLOGUE): New. | |
3437 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
3438 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
3439 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
3440 | (PARSE_AND_LIST_EPILOGUE): Likewise. | |
3441 | ||
04925e1e AM |
3442 | 2000-07-28 Alan Modra <[email protected]> |
3443 | ||
41392f03 AM |
3444 | * emultempl/armelf.em: Elide functions common to elf32.em, |
3445 | ie. most of the file. | |
3446 | (arm_elf_after_open): New. Do arm specific things then call | |
3447 | gld${EMULATION_NAME}_after_open. | |
3448 | (arm_elf_before_allocation): New. Call | |
3449 | gld${EMULATION_NAME}_before_allocation then do arm specifics. | |
3450 | (PARSE_AND_LIST_PROLOGUE): Define. | |
3451 | (PARSE_AND_LIST_SHORTOPTS): Define. | |
3452 | (PARSE_AND_LIST_LONGOPTS): Define. | |
3453 | (PARSE_AND_LIST_OPTIONS): Define. | |
3454 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
3455 | (LDEMUL_AFTER_OPEN): Define. | |
3456 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
3457 | (LDEMUL_BEFORE_PARSE): Define. | |
3458 | (LDEMUL_FINISH): Define. | |
3459 | ||
3460 | * emultempl/hppaelf.em: Similarly zap most of this file. | |
3461 | (hppaelf_add_stub_section): Prototype. | |
3462 | (hppaelf_layaout_sections_again): Prototype. | |
3463 | (hook_in_stub): Prototype. | |
3464 | (LDEMUL_SET_OUTPUT_ARCH): Define. | |
3465 | (LDEMUL_FINISH): Define. | |
3466 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. | |
3467 | ||
3468 | * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. | |
3469 | (EXTRA_EM_FILE): New. | |
3470 | * emulparams/armelf_linux.sh: Likewise. | |
3471 | * emulparams/armelf_linux26.sh: Likewise. | |
3472 | * emulparams/hppalinux.sh: Likewise. | |
3473 | * emulparams/hppaelf.sh: Likewise. | |
3474 | (NOP): Define. | |
3475 | ||
3476 | * emultempl/elf32.em: Fix formatting. | |
3477 | (EXTRA_EM_FILE): Source it. | |
3478 | (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, | |
3479 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, | |
3480 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, | |
3481 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, | |
3482 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, | |
3483 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, | |
3484 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, | |
3485 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, | |
3486 | LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to | |
3487 | allow functions in this file to be overridden. | |
3488 | (PARSE_AND_LIST_SHORTOPTS): Handle it. | |
3489 | ||
3490 | * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. | |
3491 | ||
04925e1e AM |
3492 | * emultempl/elf32.em: Reorganize file. |
3493 | ||
88cdf297 NC |
3494 | 2000-07-27 Ivan Kokshaysky <[email protected]> |
3495 | ||
3496 | * emulparams/elf64alpha.sh: Implement "-taso" emulation | |
3497 | specific option to fit 64-bit executable in the lower | |
3498 | 31-bit address range. This is done by changing start | |
3499 | address of .interp (the very first section of executable) | |
3500 | and then setting EF_ALPHA_32BIT elf header flag. | |
3501 | ||
20bccb34 NC |
3502 | 2000-07-21 Michael Sokolov <[email protected]> |
3503 | ||
3504 | * emultempl/m68kcoff.em: New file. | |
3505 | * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. | |
3506 | * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than | |
3507 | generic.em. | |
3508 | * Makefile.in: Regenerate. | |
3509 | ||
699845ef L |
3510 | 2000-07-20 H.J. Lu <[email protected]> |
3511 | ||
3512 | * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" | |
3513 | and "disable-new-dtags" to stop getopt from treating -d/-e as | |
3514 | abbreviations for these options. | |
3515 | ||
6c1439be L |
3516 | 2000-07-20 H.J. Lu <[email protected]> |
3517 | ||
3518 | * ld.texinfo: Add documentation for --disable-new-dtags and | |
3519 | --enable-new-dtags. | |
3520 | ||
3521 | * ldmain.c (main): Initialize link_info.new_dtags to false. | |
3522 | ||
3523 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add | |
3524 | --disable-new-dtags and --enable-new-dtags. | |
3525 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
3526 | ||
28c309a2 NC |
3527 | 2000-07-05 Kenneth Block <[email protected]> |
3528 | ||
a2b64bed NC |
3529 | * lexsup.c: Add optional style to demangle switch |
3530 | * ld.texinfo: Document optional style to demangle switch. | |
50bbae35 | 3531 | |
9d06555c HPN |
3532 | 2000-07-20 Hans-Peter Nilsson <[email protected]> |
3533 | ||
3534 | * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, | |
3535 | ecrislinux.o. | |
3536 | (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. | |
3537 | Regenerate dependencies. | |
3538 | * Makefile.in: Rebuild. | |
3539 | * configure.tgt (cris-*-*): New target. | |
3540 | * emulparams/crisaout.sh, emulparams/criself.sh, | |
3541 | emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. | |
3542 | * po/POTFILES.in, po/ld.pot: Regenerate. | |
3543 | ||
19e3be22 L |
3544 | 2000-07-20 H.J. Lu <[email protected]> |
3545 | ||
3546 | * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): | |
3547 | Print out ignored -z options. | |
3548 | ||
e0ee487b L |
3549 | 2000-07-19 H.J. Lu <[email protected]> |
3550 | ||
19e3be22 L |
3551 | * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. |
3552 | (PARSE_AND_LIST_PROLOGUE): New. | |
3553 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
3554 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
3555 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
3556 | ||
3557 | * ldmain.c (main): Clear link_info.flags and link_info.flags_1. | |
3558 | ||
3559 | * lexsup.c (ld_options): Comment out 'z'. | |
3560 | (parse_args): Likewise. | |
3561 | ||
3562 | * emultempl/elf32.em: Include "elf/common.h". | |
3563 | (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z | |
3564 | options. | |
3565 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
3566 | ||
3567 | * ld.texinfo: Add documentation for the recognized -z options. | |
e0ee487b | 3568 | |
49e56c49 L |
3569 | 2000-07-19 H.J. Lu <[email protected]> |
3570 | ||
3571 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call | |
3572 | bfd_elf_set_dt_needed_soname (). | |
3573 | ||
9d68bc82 DD |
3574 | 2000-07-18 DJ Delorie <[email protected]> |
3575 | ||
3576 | * pe-dll.c (pe_dll_id_target): check object target name also | |
3577 | ||
53db15ed HPN |
3578 | 2000-07-18 Hans-Peter Nilsson <[email protected]> |
3579 | ||
3580 | * scripttempl/elf.sc (.init): Only do ${INIT_START} and | |
3581 | ${INIT_END} if relocating. | |
3582 | (.fini): Likewise ${FINI_START} and ${FINI_END}. | |
3583 | ||
0ad8cf4c DD |
3584 | 2000-07-16 Charles Wilson <[email protected]> |
3585 | ||
a2b64bed | 3586 | * emultempl/pe.em (gld_*_open_dynamic_archive): New search |
0ad8cf4c DD |
3587 | order for dynamic library '-lfoo' on pei386: libfoo.dll.a, |
3588 | foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility | |
3589 | errors introduced by the old dynamic lib search order. | |
3590 | ||
874c8c99 DD |
3591 | 2000-07-17 DJ Delorie <[email protected]> |
3592 | ||
3593 | * pe-dll.c (process_def_file): auto-export data items also | |
3594 | (pe_process_import_defs): also see if _imp_ form needed | |
3595 | ||
5b4cf3f4 DD |
3596 | 2000-07-12 Charles Wilson <[email protected]> |
3597 | ||
3598 | * pe-dll.c (make_one): fix a typo in the __imp_ name decoration | |
3599 | for dll import libraries | |
3600 | ||
062739d1 NC |
3601 | 2000-07-12 Mark Elbrecht <[email protected]> |
3602 | ||
3603 | * scripttempl/i386go32.sc: Support the g++ attribute init_priority in | |
d952f17a | 3604 | gcc 2.95.2 and later. |
062739d1 | 3605 | |
1c64c4ed NC |
3606 | 2000-07-11 Kazu Hirata <[email protected]> |
3607 | ||
50bbae35 AM |
3608 | * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error |
3609 | message. | |
1c64c4ed | 3610 | |
b71e2778 AM |
3611 | 2000-07-10 Alan Modra <[email protected]> |
3612 | ||
3613 | * ldemul.h (struct lang_input_statement_struct): Remove forward | |
3614 | declaration. | |
3615 | (struct search_dirs): Likewise. | |
3616 | * ldfile.h (struct lang_input_statement_struct): Likewise. | |
3617 | Protect file from multiple inclusion. | |
3618 | * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain | |
3619 | declaration from macro to file scope. | |
3620 | ||
3621 | * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. | |
3622 | * ldgram.y: Likewise here. | |
3623 | * ldlang.c: And here. | |
3624 | * ldmain.c: And here. | |
3625 | * mpw-elfmips.c: And here. | |
3626 | * mpw-eppcmac.c: And here. | |
3627 | * emultempl/aix.em: And here. | |
3628 | * emultempl/armcoff.em: And here. | |
3629 | * emultempl/armelf.em: And here. | |
3630 | * emultempl/armelf_oabi.em: And here. | |
3631 | * emultempl/beos.em: And here. | |
3632 | * emultempl/elf32.em: And here. | |
3633 | * emultempl/hppaelf.em: And here. | |
3634 | * emultempl/linux.em: And here. | |
3635 | * emultempl/lnk960.em: And here. | |
3636 | * emultempl/pe.em: And here. | |
3637 | * emultempl/sunos.em: And here. | |
3638 | * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. | |
3639 | * mpw-idtmips.c: Ditto. | |
3640 | * emultempl/generic.em: Ditto. | |
3641 | * emultempl/gld960.em: Ditto. | |
3642 | * emultempl/gld960c.em: Ditto. | |
3643 | * emultempl/mipsecoff.em: Ditto. | |
3644 | * emultempl/ticoff.em: Ditto. | |
3645 | * emultempl/vanilla.em: Ditto. | |
3646 | ||
3647 | * pe-dll.c: Include ldfile.h | |
3648 | * ldver.c: Include ldexp.h, ldlang.h, ldfile.h | |
3649 | ||
3650 | * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing | |
3651 | arguments to bfd_elf32_size_dynamic_sections call. | |
3652 | (gldelf32ebmip_place_orphan): Add missing arguments to | |
3653 | lang_leave_output_section_statement call. | |
3654 | ||
2ef53d66 L |
3655 | 2000-07-10 H.J. Lu <[email protected]> |
3656 | ||
3657 | * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with | |
3658 | DLL_SUPPORT. | |
3659 | (strhash): Likewise. | |
3660 | (compute_dll_image_base): Likewise. | |
3661 | (pe_undef_found_sym): Likewise. | |
3662 | (pe_undef_cdecl_match): Likewise. | |
3663 | (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the | |
3664 | argument "arch" with ATTRIBUTE_UNUSED. | |
3665 | ||
9a8cbb09 AM |
3666 | 2000-07-10 Alan Modra <[email protected]> |
3667 | ||
3668 | * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. | |
3669 | ||
3670 | From Ryan Bradetich <[email protected]> | |
3671 | * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. | |
50bbae35 | 3672 | |
4900fc06 AM |
3673 | 2000-07-09 Alan Modra <[email protected]> |
3674 | ||
3675 | Changes to create multiple linker stubs, positioned immediately | |
3676 | before the section where they are required. | |
3677 | * emultempl/hppaelf.em: Include elf32-hppa.h. | |
3678 | (stub_sec, file_chain): Delete. | |
3679 | (hppaelf_create_output_section_statements): Don't make a stub | |
3680 | section here. | |
3681 | (hook_stub_info): New struct. | |
3682 | (hook_in_stub): New function. | |
3683 | (hppaelf_add_stub_section): New function. | |
3684 | (hppaelf_finish): Do nothing for relocateable links. Modify the | |
3685 | call to elf32_hppa_size_stubs. Move code for updating section | |
3686 | layout from here... | |
3687 | (hppaelf_layaout_sections_again): ..to here, a new function. | |
3688 | ||
3689 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix | |
3690 | broken list handling. Pass in a pointer to the list. | |
3691 | (hppaelf_finish): Update call to hppaelf_delete_padding_statements | |
3692 | for above changes. | |
3693 | (hppaelf_before_parse): Prototype. | |
3694 | (hppaelf_set_output_arch): Prototype. | |
3695 | (hppaelf_create_output_section_statements): Prototype. | |
3696 | (hppaelf_delete_padding_statements): Prototype. | |
3697 | (hppaelf_finish): Prototype. | |
3698 | ||
3699 | Merge from elf32.em | |
3700 | * emultempl/hppaelf.em: Include ctype.h. | |
3701 | (struct orphan_save): New. | |
3702 | (gld${EMULATION_NAME}_place_orphan): New. | |
3703 | (output_rel_find): New. | |
3704 | (hppaelf_get_script): Update from elf32.em. | |
3705 | (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. | |
3706 | Change emulation_name field to "${EMULATION_NAME}". Add | |
50bbae35 | 3707 | gld${EMULATION_NAME}_place_orphan. |
4900fc06 AM |
3708 | |
3709 | * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add | |
3710 | ehppalinux.o, sort it. Regenerate dependencies. | |
3711 | (ehppalinux.c): Depend on hppaelf.em | |
3712 | * Makefile.in: Regenerate. | |
3713 | ||
3714 | * configure.tgt: targ_emul=hppalinux for hppa*linux | |
3715 | ||
3716 | * emulparams/hppalinux.sh: New. | |
3717 | * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. | |
3718 | ||
227aeb07 AM |
3719 | 2000-07-08 Alan Modra <[email protected]> |
3720 | ||
3721 | * lexsup.c (parse_args): Copy section name. | |
3722 | ||
28609fd4 | 3723 | 2000-07-07 Charles Wilson <[email protected]> |
602e90d3 | 3724 | |
2ef53d66 | 3725 | * emultempl/pe.em: institute the following search order for |
602e90d3 DD |
3726 | dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import |
3727 | libs), libfoo.dll, foo.dll (link direct to dll). Fall back to | |
3728 | static lib (libfoo.a) if none of the above are found. | |
3729 | ||
5f577f7d DD |
3730 | 2000-07-07 Mumit Khan <[email protected]> |
3731 | ||
50bbae35 | 3732 | * emultempl/pe.em (pe_enable_auto_image_base): New variable. |
5f577f7d | 3733 | (longopts): New --{enable,disable}-auto-image-base options. |
50bbae35 | 3734 | (gld_${EMULATION_NAME}_list_options): Document. |
5f577f7d DD |
3735 | (gld_${EMULATION_NAME}_parse): Handle. |
3736 | (strhash): New static function. | |
50bbae35 | 3737 | (compute_dll_image_base): New static function. |
5f577f7d DD |
3738 | (gld_${EMULATION_NAME}_set_symbols): Use. |
3739 | ||
9a8cbb09 | 3740 | 2000-07-05 DJ Delorie <[email protected]> |
302ab118 DD |
3741 | |
3742 | * MAINTAINERS: new | |
3743 | ||
3548145d | 3744 | 2000-07-01 Koundinya K <[email protected]> |
50bbae35 AM |
3745 | |
3746 | * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. | |
3747 | * emulparams/elf32btsmip.sh: New file. | |
3748 | * Makefile.am: Add traditional mips target. | |
3749 | * Makefile.in: Rebuild. | |
3750 | ||
67798033 L |
3751 | 2000-07-01 H.J. Lu <[email protected]> |
3752 | ||
3753 | * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for | |
3754 | automake to use YLWRAP. | |
3755 | * Makefile.in: Rebuild. | |
3756 | ||
0bdaf48b AM |
3757 | 2000-07-01 Alan Modra <[email protected]> |
3758 | ||
3759 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
3760 | (CLEANFILES): Add DEPA. | |
3761 | * Makefile.in: Regenerate. | |
3762 | ||
c9e769c2 TW |
3763 | 2000-06-30 Timothy Wall <twall@ppc> |
3764 | ||
3765 | * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode | |
3766 | the page in the upper octet of the address. | |
3767 | ||
65aa24b6 NC |
3768 | 2000-06-26 Marek Michalkiewicz <[email protected]> |
3769 | ||
3770 | * emulparams/avrmega161.sh (ARCH): Change to avr:5. | |
3771 | ||
4667035e AM |
3772 | 2000-06-24 Alan Modra <[email protected]> |
3773 | ||
3774 | * NEWS: arm-elf does --gc-sections too. | |
3775 | ||
1581f8c9 AM |
3776 | 2000-06-22 Alan Modra <[email protected]> |
3777 | ||
3778 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
3779 | find one. | |
3780 | * Makefile.in: Regenerate. | |
3781 | ||
01580992 L |
3782 | 2000-06-21 H.J. Lu <[email protected]> |
3783 | ||
3784 | * Makefile.am: Rebuild dependency. | |
3785 | * Makefile.in: Rebuild. | |
3786 | ||
bbeb2e03 L |
3787 | 2000-06-20 H.J. Lu <[email protected]> |
3788 | ||
3789 | * Makefile.am: Rebuild dependency. | |
3790 | * Makefile.in: Rebuild. | |
3791 | ||
74459f0e TW |
3792 | 2000-06-20 Timothy Wall <[email protected]> |
3793 | ||
3794 | * scripttempl/tic54xcoff.sc: New. | |
3795 | * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. | |
3796 | * gen-doc.texi: Add flag for TI COFF. | |
3797 | * ld.texinfo: Add documentation for TI COFF handling switches. | |
3798 | * emultempl/ticoff.em: New. TI COFF handling. | |
3799 | * configure.tgt: Add tic54x target. | |
3800 | * Makefile.am: Add tic54x target. | |
3801 | * Makefile.in: Ditto. | |
3802 | ||
2ab47eed AM |
3803 | 2000-06-20 Alan Modra <[email protected]> |
3804 | ||
3805 | * ldmain.c (set_scripts_dir): Correct pointer comparison when | |
3806 | checking for backslashes. | |
3807 | ||
919e4093 AM |
3808 | 2000-06-19 Alan Modra <[email protected]> |
3809 | ||
3810 | * NEWS: Move entries not in 2.10 above "Changes in version 2.10". | |
3811 | ||
987fd5b4 AM |
3812 | 2000-06-18 Alan Modra <[email protected]> |
3813 | ||
3814 | * NEWS: Update list of targets supporting --gc-sections. | |
3815 | ||
3816 | * scripttempl/elf.sc: KEEP .eh_frame contents. | |
3817 | * scripttempl/elfd30v.sc: Same here. | |
3818 | ||
60bcf0fa NC |
3819 | 2000-06-18 Stephane Carrez <[email protected]> |
3820 | ||
3821 | * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 | |
3822 | and m68hc11 (elf). | |
3823 | * Makefile.in: Rebuild. | |
3824 | * configure.tgt: Recognize m68hc12 and m68hc11. | |
3825 | * scripttempl/elfm68hc12.sc: New file. | |
3826 | * emulparams/m68hc12elfb: New emulation. | |
3827 | * emulparams/m68hc12elf: New emulation. | |
3828 | * emulparams/m68hc11elfb.sh: New file. User configurable emulation | |
3829 | (includes a memory.x script to define the ROM and RAM banks). | |
3830 | * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: | |
3831 | New configuration files for support of Motorola 68hc11 | |
3832 | ||
c7c54483 AM |
3833 | 2000-06-15 Alan Modra <[email protected]> |
3834 | ||
3835 | * ldmain.c (main): Only change SEC_READONLY for final link. | |
3836 | ||
bcef29e6 L |
3837 | 2000-06-13 H.J. Lu <[email protected]> |
3838 | ||
3839 | * configure: Regenerate. | |
3840 | ||
946efd95 DB |
3841 | 2000-06-08 David O'Brien <[email protected]> |
3842 | ||
3843 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
3844 | ||
57a6fd07 DB |
3845 | 2000-06-07 Michael Sokolov <[email protected]> |
3846 | ||
3847 | * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all | |
3848 | input objects to be ECOFF. | |
3849 | (check_sections): einfo takes %B, not %P, to print a BFD name. | |
3850 | ||
e06cae36 L |
3851 | 2000-06-05 Michael Matz <[email protected]> |
3852 | ||
3853 | * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in | |
d952f17a | 3854 | version scripts. |
e06cae36 | 3855 | |
d952f17a | 3856 | * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. |
e06cae36 | 3857 | |
2f0b56c0 DC |
3858 | 2000-05-23 Marek Michalkiewicz <[email protected]> |
3859 | ||
3860 | * emulparams/avr1200.sh (STACK): Define as 0. | |
3861 | * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. | |
3862 | * emulparams/avr4433.sh (STACK): Likewise. | |
3863 | * emulparams/avr44x4.sh (STACK): Likewise. | |
3864 | * emulparams/avr85xx.sh (STACK): Likewise. | |
3865 | * emulparams/avrmega103.sh (STACK): Likewise. | |
3866 | * emulparams/avrmega161.sh (STACK): Likewise. | |
3867 | * emulparams/avrmega603.sh (STACK): Likewise. | |
3868 | * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. | |
3869 | (__stack): Define from ${STACK} for main(). | |
3870 | ||
2114f57b AM |
3871 | 2000-05-26 Alan Modra <[email protected]> |
3872 | ||
3873 | * Makefile.am: Update dependencies with "make dep-am" | |
3874 | * Makefile.in: Regenerate. | |
3875 | ||
5af11cab AM |
3876 | 2000-05-26 Eli Zaretskii <[email protected]> |
3877 | ||
3878 | * ldmain.c: Include filenames.h. | |
3879 | (set_scripts_dir): Support backslashes in program name. | |
3880 | ||
1f0df59a NC |
3881 | 2000-05-22 Igor Shevlyakov <[email protected]> |
3882 | ||
3883 | * ldmain.c (main): When deciding if ".text" section should be | |
50bbae35 AM |
3884 | read-only, don't forget to reset SEC_READONLY because it |
3885 | could be already set. | |
1f0df59a | 3886 | |
176355da NC |
3887 | 2000-05-22 Thomas de Lellis <[email protected]> |
3888 | ||
50bbae35 AM |
3889 | * ld.1: Add documentation for new command line option: |
3890 | --section-start <sectionname>=<sectionorg> | |
3891 | This is a generic version of -Ttext etc. which accepts | |
3892 | any section name as a parameter instead of just text/data/ | |
3893 | bss. | |
3894 | * ld.texinfo: More docs. | |
3895 | * NEWS: More docs. | |
3896 | * lexsup.c: (parse_args): Recognize new command line option. | |
176355da | 3897 | (ld_options): Add new option. |
50bbae35 | 3898 | |
8c5ff972 L |
3899 | 2000-05-18 H.J. Lu <[email protected]> |
3900 | ||
3901 | * lexsup.c (parse_args): `i' == `r', not `q'. | |
3902 | ||
3b16e843 | 3903 | 2000-05-18 Jeffrey A Law ([email protected]) |
0b76fe77 JL |
3904 | |
3905 | * configure.tgt (hppa*64*-*-*): Enable PA64 target. | |
3906 | ||
a712da20 NC |
3907 | 2000-05-17 S. Bharadwaj Yadavalli <[email protected]> |
3908 | Rick Gorton <[email protected]> | |
50bbae35 | 3909 | |
a712da20 NC |
3910 | Add support for '-q' == '--emit-relocs' switch. |
3911 | * ldmain.c (main): Default to false. | |
3912 | * lexsup.c (parse_args): Turn on emitrelocations flag if set. | |
3913 | * NEWS: Describe the emitrelocations switch. | |
3914 | * ld.texinfo: Describe the emitrelocations switch. | |
3915 | ||
690a460e NC |
3916 | 2000-05-16 Charles Wilson <[email protected]> |
3917 | ||
a2b64bed | 3918 | * emultempl/pe.em (_open_dynamic_archive): New function: Search |
690a460e NC |
3919 | the library path for "foo.dll" and "libfoo.dll" dynamic libraries |
3920 | before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' | |
3921 | link options. | |
50bbae35 | 3922 | |
c2f1343c AM |
3923 | 2000-05-15 David O'Brien <[email protected]> |
3924 | ||
3925 | * lexsup.c (parse_args): Update the year in the copyright notice. | |
3926 | ||
897083bd AM |
3927 | 2000-05-13 Alan Modra <[email protected]> |
3928 | ||
3929 | * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): | |
3930 | Replace defines with those from intl/libgettext.h to quieten gcc | |
3931 | warnings. | |
3932 | ||
cd4c806a L |
3933 | 2000-05-10 H.J. Lu <[email protected]> |
3934 | ||
3935 | * ldlang.c (open_input_bfds): Don't load the same file within | |
3936 | a group again if the whole archive has been loaded already. | |
3937 | ||
93697284 AM |
3938 | 2000-05-03 Alan Modra <[email protected]> |
3939 | ||
3940 | From Ulf Carlsson <[email protected]> and Andreas Jaeger <[email protected]> | |
3941 | * lexsup.c (set_section_start): Use bfd_scan_vma rather than | |
3942 | strtoul. | |
3943 | ||
3b16e843 | 3944 | 2000-05-01 Jim Wilson <[email protected]> |
ebd6fc29 | 3945 | |
99a4150f | 3946 | * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. |
50bbae35 | 3947 | |
ebd6fc29 JW |
3948 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for |
3949 | host "ia64-*-linux-gnu*". | |
3950 | ||
a1934524 AM |
3951 | 2000-04-29 Andreas Jaeger <[email protected]> |
3952 | ||
3953 | * ld.h: Correctly check GCC version. | |
3954 | ||
3b16e843 | 3955 | 2000-04-25 Jeffrey A Law ([email protected]) |
730a39a0 JL |
3956 | |
3957 | * Makefile.am: Add PA64 support. Add missing dependencies for | |
3958 | PA32 elf support. | |
3959 | * Makefile.in: Rebuilt. | |
3960 | * configure.tgt: Add PA64 support (currently disabled). | |
3961 | ||
aea4bd9d AM |
3962 | 2000-04-25 Alan Modra <[email protected]> |
3963 | ||
3964 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. | |
3965 | (output_rel_find): New function. | |
3966 | (hold_section, hold_use): Delete. | |
3967 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
3968 | hold_interp): Make local to place_orphan. | |
3969 | (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find | |
3970 | rather than place_section to find possible previous use of orphan. | |
3971 | Similarly find the place-holder output sections. Use returned | |
3972 | value from lang_enter_output_section_statement rather than calling | |
3973 | lang_output_section_statement_lookup. | |
3974 | * emultempl/armelf.em: Same here. | |
3975 | * emultempl/pe.em: Similar to above, but no need for output_rel_find. | |
3976 | ||
3977 | * ldlang.c (lang_enter_output_section_statement): Return output | |
3978 | section statement. | |
3979 | * ldlang.h (lang_enter_output_section_statement): Change | |
3980 | declaration too. | |
3981 | ||
3982 | * ldlang.h (lang_output_section_statement): Export it. | |
3983 | * ldlang.c (lang_output_section_statement): Ditto. | |
3984 | ||
2b5fc1f5 NC |
3985 | 2000-04-24 Nick Clifton <[email protected]> |
3986 | ||
3987 | * ld.texinfo (Output Section Data): Add note that section data | |
3988 | commands cannot appear outside of section directives. | |
3989 | ||
d8475ff6 JL |
3990 | 2000-04-2 Matthew Green <[email protected]> |
3991 | ||
3992 | * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. | |
3993 | ||
3b16e843 NC |
3994 | 2000-04-21 Richard Henderson <[email protected]> |
3995 | David Mosberger <[email protected]> | |
800eeca4 JW |
3996 | |
3997 | * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. | |
3998 | (eelf64_ia64.c): New rule. | |
3999 | * Makefile.in: Rebuild. | |
4000 | * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. | |
4001 | * emulparams/elf64_ia64.sh: New file. | |
50bbae35 | 4002 | |
c9637625 RH |
4003 | 2000-04-21 Richard Henderson <[email protected]> |
4004 | ||
4005 | * scripttempl/elfd30v.sc: Place .gcc_except_table. | |
4006 | ||
28ea9521 AM |
4007 | 2000-04-19 Alan Modra <[email protected]> |
4008 | ||
4009 | * dep-in.sed: Match space at start of file name, not at end. | |
4010 | ||
20d04697 L |
4011 | 2000-04-18 H.J. Lu <[email protected]> |
4012 | ||
4013 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call | |
4014 | lang_leave_output_section_statement () after calling | |
4015 | lang_enter_output_section_statement (). | |
4016 | * emultempl/armelf.em: Likewise. | |
4017 | ||
5ba47421 AM |
4018 | 2000-04-18 Alan Modra <[email protected]> |
4019 | ||
4020 | * emultempl/elf32.em (struct orphan_save): Add section field. | |
4021 | (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in | |
4022 | better order, and place first orphan section as we did before the | |
4023 | 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. | |
4024 | Don't call make_bfd_section here, let wild_doit do the job for us. | |
4025 | Don't build a statement list when we'll only throw it away. | |
4026 | * emultempl/armelf.em: Ditto. | |
4027 | * emultempl/pe.em: Similarly. | |
4028 | ||
bdbe5705 GK |
4029 | 2000-04-14 Geoff Keating <[email protected]> |
4030 | ||
4031 | * scripttempl/elfppc.sc: Remove. | |
4032 | * emulparams/elf32ppc.sh: Use elf.sc. | |
4033 | * emulparams/elf32lppc.sh: Use elf.sc. | |
4034 | * emulparams/elf32ppclinux.sh: Use elf.sc. | |
4035 | * emulparams/elf32ppcsim.sh: New file. | |
4036 | * emulparams/elf32lppcsim.sh: New file. | |
4037 | * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. | |
4038 | (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. | |
4039 | * Makefile.in: Regenerate. | |
4040 | * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. | |
4041 | ||
01cc8ff8 AM |
4042 | 2000-04-14 Alan Modra <[email protected]> |
4043 | ||
5ba47421 | 4044 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process |
01cc8ff8 | 4045 | ~SEC_ALLOC sections too. Init start address of debug sections. |
5ba47421 AM |
4046 | * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. |
4047 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. | |
01cc8ff8 AM |
4048 | Also set all relocateable section start addresses. |
4049 | ||
6c86c541 GK |
4050 | 2000-04-13 Geoff Keating <[email protected]> |
4051 | ||
4052 | * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. | |
4053 | Add new BSS_PLT variable for when .plt need not be contained in | |
4054 | the file. Move _etext so that it is also after .fini, and provide | |
4055 | both etext and _etext with a leading underscore. Mark the start | |
4056 | and end of .sbss. | |
4057 | ||
6a345e87 AM |
4058 | 2000-04-12 Alan Modra <[email protected]> |
4059 | ||
4060 | * emultempl/elf32.em (struct orphan_save): New. | |
4061 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
4062 | hold_interp): Make them struct orphan_save. | |
4063 | (gld${EMULATION_NAME}_place_section): Modify for new hold_*. | |
4064 | (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to | |
4065 | the end of the relevant section list. Also add associated section | |
4066 | statements to the end of any previous orphan statements. | |
4067 | * emultempl/armelf.em: Similarly. | |
4068 | * emultempl/pe.em: Similarly. | |
4069 | ||
8be86746 AM |
4070 | 2000-04-11 Alan Modra <[email protected]> |
4071 | ||
4072 | * ld.texinfo (Simple Example): Remove extraneous paragraph. | |
4073 | ||
3b16e843 | 4074 | 2000-04-07 Andrew Cagney <[email protected]> |
50bbae35 | 4075 | |
a2d91340 | 4076 | * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add |
50bbae35 | 4077 | --enable-build-warnings option. |
a2d91340 AC |
4078 | * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. |
4079 | * Makefile.in, configure: Re-generate. | |
4080 | ||
41b49281 AM |
4081 | 2000-04-04 Alan Modra <[email protected]> |
4082 | ||
8ad3436c AM |
4083 | * po/ld.pot: Regenerate. |
4084 | ||
4085 | * lexsup.c (help): Restore translated part of bug string. | |
4086 | ||
41b49281 AM |
4087 | * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. |
4088 | (DEP): Quote when passing vars to sub-make. Add warning message | |
4089 | to end. | |
4090 | (DEP1): Rewrite for "gcc -MM". | |
4091 | (CLEANFILES): Add DEP2. | |
4092 | Update dependencies. | |
4093 | * Makefile.in: Regenerate. | |
4094 | ||
c20f4f8c AM |
4095 | 2000-04-03 Alan Modra <[email protected]> |
4096 | ||
4097 | * ld.h: #include "bin-bugs.h" | |
4098 | * lexsup.c (help): Use REPORT_BUGS_TO. | |
4099 | ||
adde6300 AM |
4100 | 2000-03-27 Denis Chertykov <[email protected]> |
4101 | ||
4102 | * configure.tgt (avr-*-*): New target support. | |
4103 | * Makefile.am: Likewise. | |
4104 | * scripttempl/elf32avr.sc: New script file. | |
4105 | * emulparams/avr1200.sh: New file. | |
4106 | * emulparams/avr23xx.sh: New file. | |
4107 | * emulparams/avr4433.sh New file. | |
4108 | * emulparams/avr44x4.sh New file. | |
4109 | * emulparams/avr85xx.sh New file. | |
4110 | * emulparams/avrmega103.sh New file. | |
4111 | * emulparams/avrmega161.sh New file. | |
4112 | * emulparams/avrmega603.sh New file. | |
4113 | * Makefile.in: Regenerate. | |
4114 | ||
9282ff41 L |
4115 | 2000-03-09 Andreas Jaeger <[email protected]> |
4116 | ||
4117 | * Makefile.am (check-DEJAGNU): Also unset LANG. | |
4118 | * Makefile.in: Rebuild. | |
4119 | ||
a9998805 ILT |
4120 | 2000-03-06 Ian Lance Taylor <[email protected]> |
4121 | ||
4122 | * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty | |
4123 | archive. | |
4124 | ||
f9bc20e7 NC |
4125 | 2000-03-02 H.J. Lu <[email protected]> |
4126 | ||
4127 | * emulparams/elf32mcore.sh: Include "getopt.h". | |
4128 | ||
4e277b38 ILT |
4129 | 2000-03-01 Ian Lance Taylor <[email protected]> |
4130 | ||
4131 | * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. | |
4132 | ||
f0c87f88 NC |
4133 | 2000-03-01 H.J. Lu <[email protected]> |
4134 | ||
4135 | * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. | |
4136 | * emulparams/shpe.sh: Likewise. | |
4137 | ||
4138 | 2000-03-01 Nick Clifton <[email protected]> | |
4139 | ||
4140 | * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED | |
4141 | to unused parameters. | |
4142 | ||
4143 | * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static | |
4144 | functions only used by DLL code. | |
4145 | (_place_orphan): Initialise 'dollar'. | |
4146 | ||
b6f29aaa L |
4147 | 2000-03-01 H.J. Lu <[email protected]> |
4148 | ||
4149 | * ldmain.c (undefined_symbol): Take one more arg, fatal, to | |
4150 | indicate if the undefined symbol is a fatal error or not. | |
4151 | Don't delete the output file if "fatal" is false. | |
4152 | ||
af28fce3 L |
4153 | 2000-02-29 H.J. Lu <[email protected]> |
4154 | ||
50bbae35 | 4155 | * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". |
af28fce3 L |
4156 | Set LC_COLLATE and LC_ALL to null and export them. It is for |
4157 | sort which expects the C locale. | |
4158 | Add $(LIBS) to all $(HOSTING_LIBS). | |
4159 | * Makefile.in: Rebuild. | |
4160 | ||
40d109bf AM |
4161 | 2000-02-29 Alan Modra <[email protected]> |
4162 | ||
4163 | * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, | |
4164 | beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, | |
4165 | linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} | |
4166 | (ld_emulation_xfer_struct): Add missing NULL initialiser for | |
4167 | find_potential_libraries. | |
4168 | ||
db5be682 JB |
4169 | 2000-02-28 Jim Blandy <[email protected]> |
4170 | ||
4171 | * ldgram.y (exclude_name_list): Don't require a comma to separate | |
50bbae35 | 4172 | list entries; the lexer considers commas to be valid part of a |
db5be682 JB |
4173 | filename, so in something like `foo, bar' the comma is considered |
4174 | part of the first filename, `foo,'. | |
4175 | * ld.texinfo: Update section on EXCLUDE_FILE lists. | |
4176 | ||
3558ff4c ILT |
4177 | 2000-02-27 Loren J. Rittle <[email protected]> |
4178 | ||
4179 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for | |
4180 | host "i[3456]86-*-freebsdelf*". | |
4181 | ||
4eee2681 ILT |
4182 | 2000-02-27 Mark Elbrecht <[email protected]> |
4183 | ||
4184 | * scripttempl/i386go32.sc: Move misplaced semicolons. | |
4185 | ||
8d75d12d ILT |
4186 | 2000-02-25 Ian Lance Taylor <[email protected]> |
4187 | ||
4188 | * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. | |
4189 | (ALL_64_EMULATIONS): Remove eelf64hppa.o. | |
4190 | (eelf64hppa.c, ehppaelf.c): Remove targets. | |
4191 | * Makefile.in: Rebuild. | |
4192 | ||
a1836d49 AO |
4193 | 2000-02-25 Alexandre Oliva <[email protected]> |
4194 | ||
ad51fb57 AO |
4195 | * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on |
4196 | GNU/Linux/sparc, but keep the default as 32. | |
4197 | ||
a1836d49 AO |
4198 | * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make |
4199 | it default if sparcv9 or sparc64. | |
4200 | ||
344a211f NC |
4201 | 2000-02-24 Nick Clifton <[email protected]> |
4202 | ||
4203 | * Makefile.am: Add rules to build emipspe.o and earmpe.o. | |
4204 | * Makefile.in: Regenerate. | |
4205 | * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. | |
4206 | ||
4207 | * ldemul.h (ld_emulation_xfer_struct): Add new field: | |
4208 | find_potential_libraries. | |
4209 | * ldemul.c (ldemul_find_potential_libraries): New function. | |
4210 | ||
4211 | * ldfile.c (ldfile_open_file_search): Allow function to be | |
50bbae35 | 4212 | exported. |
344a211f NC |
4213 | (ldfile_open_file): Call ldemul_find_potential_libraries. |
4214 | * ldfile.h: Add prototype for ldfile_open_file_search. | |
4215 | ||
4216 | * pe-dll.c: Add support for ARM, MIPS and SH targets. | |
4217 | ||
4218 | * emulparams/mipspe.sh: New file. Parameters for mips-pe target. | |
4219 | * emulparams/shpe.sh: New file. Parameters for sh-pe target. | |
4220 | ||
4221 | * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. | |
4222 | (gld_X_find_potential_libraries): New function. Search for | |
4223 | libraries called "*.lib". | |
4224 | ||
a2b64bed | 4225 | * scripttempl/pe.sc: Add .pdata section. |
344a211f | 4226 | |
eaba1dd3 RH |
4227 | 2000-02-23 Richard Henderson <[email protected]> |
4228 | ||
4229 | * scripttempl/elfd10v.sc: Remove dynamic linking hooks. | |
4230 | Add and use memory regions. | |
4231 | ||
5b93d8bb AM |
4232 | 2000-02-23 Linas Vepstas ([email protected]) |
4233 | ||
4234 | * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. | |
4235 | ||
4236 | * Makefile.am: Add support for Linux/IBM 370. | |
4237 | * configure.tgt: Likewise. | |
4238 | ||
4239 | * Makefile.in: Regenerate. | |
4240 | ||
f6af82bd AM |
4241 | 2000-02-21 Alan Modra <[email protected]> |
4242 | ||
4243 | * ldlang.c (print_input_section, print_data_statement, | |
4244 | print_reloc_statement, print_padding_statement, insert_pad, | |
4245 | size_input_section, lang_check_section_addresses, | |
4246 | lang_size_sections, lang_do_assignments, lang_set_startof, | |
50bbae35 | 4247 | lang_one_common): Change `opb' to unsigned. |
f6af82bd AM |
4248 | (lang_do_assignments): Also change `size' to unsigned. |
4249 | ||
9e673ad1 RH |
4250 | 2000-02-16 Richard Henderson <[email protected]> |
4251 | ||
4252 | * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. | |
4253 | ||
562d3460 TW |
4254 | 2000-02-16 Timothy Wall <[email protected]> |
4255 | ||
4256 | * mri.c (mri_draw_tree): Add default LMA region argument to call | |
4257 | to lang_leave_output_section_statement. | |
4258 | * ldlang.h: Update prototypes with LMA region arguments. | |
4259 | * ldlang.c (lang_size_sections): Encapsulate region bounds | |
4260 | checking in os_check_region call. | |
4261 | (os_check_region): New function. | |
4262 | (lang_output_section_statement_lookup): Initialize lma_region. | |
4263 | (lang_leave_output_section_statement): Add LMA region argument. | |
4264 | (lang_leave_overlay): Ditto. | |
4265 | * ldgram.y: Handle LMA region syntax. | |
4266 | * ld.texinfo (Output Section Description): Describe LMA region usage. | |
4267 | * emultempl/armelf.em (gld$place_orphan): Add default value for | |
01cc8ff8 | 4268 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 4269 | * emultempl/elf32.em (gld$place_orphan): Add default value for |
01cc8ff8 | 4270 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 4271 | * emultempl/pe.em (gld$place_orphan): Add default value for |
01cc8ff8 | 4272 | lma region in call to lang_leave_output_section_statement. |
50bbae35 AM |
4273 | |
4274 | ||
9e4ed18c TW |
4275 | 2000-02-04 Timothy Wall <[email protected]> |
4276 | ||
4277 | * ldlang.c (lang_check_section_addresses): Use bytes instead of | |
4278 | octets when calculating section end addresses. | |
4279 | ||
32edc927 TW |
4280 | 2000-02-04 Timothy Wall <[email protected]> |
4281 | ||
4282 | * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. | |
4283 | ||
4cbfc3ac TW |
4284 | 2000-02-03 Timothy Wall <[email protected]> |
4285 | ||
a2b64bed | 4286 | * ldexp.c (fold_name): Make SIZEOF operator return byte count, not |
4cbfc3ac | 4287 | octet count. |
a2b64bed | 4288 | * ldlang.c (print_input_section, print_data_statement, |
4cbfc3ac TW |
4289 | print_reloc_statement, print_padding_statement): Print target |
4290 | address values and section sizes as bytes, not octets. | |
4291 | (insert_pad) Calculate padding size in octets, and adjust "dot" | |
4292 | by bytes. | |
4293 | (size_input_section) Always adjust "dot" by bytes, not octets. | |
4294 | (lang_check_section_addresses, lang_do_assignments) Adjust | |
4295 | "dot" by bytes, not octets. Use the larger of the directive size | |
4296 | or octets_per_byte for the number of octets actually allocated in | |
4297 | the output section. | |
4298 | (lang_set_startof) Make sure STARTOF returns a target address. | |
4299 | (lang_one_common) Record size changes in octets. | |
4300 | (lang_abs_symbol_at_end_of) Section end symbol's value is | |
4301 | recorded in target bytes. | |
68b2fc7a | 4302 | * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. |
4cbfc3ac | 4303 | to be clear about behavior when an octet is smaller than one byte. |
50bbae35 | 4304 | |
305c7206 AM |
4305 | 2000-01-27 Alan Modra <[email protected]> |
4306 | ||
4307 | * ldcref.c (output_cref): Don't pass message strings to printf | |
4308 | as format arg. | |
4309 | Update copyright. | |
4310 | ||
4311 | * ldmisc.c (vfinfo): Same here. | |
4312 | Update copyright. | |
4313 | ||
e1c47aa4 AM |
4314 | 2000-01-23 Alan Modra <[email protected]> |
4315 | ||
4316 | * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, | |
4317 | generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, | |
4318 | mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): | |
4319 | Add missing NULL initialisers, and comments. | |
4320 | ||
4321 | * testsuite/ld-srec/sr3.cc (__rethrow): New. | |
4322 | ||
13392b77 NC |
4323 | 2000-01-21 Nick Clifton <[email protected]> |
4324 | ||
4325 | * ldlang.c (lang_size_sections): Fix typo in comment. | |
4326 | ||
cce4c4c5 NC |
4327 | 2000-01-18 H.J. Lu <[email protected]> |
4328 | ||
4329 | * ldlang.c (lang_size_sections): Also update the current | |
4330 | address of a region if the SEC_NEVER_LOAD bit is not set. | |
4331 | ||
0decc840 NC |
4332 | 2000-01-10 Philip Blundell <[email protected]> |
4333 | ||
4334 | * configure.tgt (arm*-*-conix*): New target. | |
4335 | ||
4e53152f NC |
4336 | 2000-01-07 Nick Clifton <[email protected]> |
4337 | ||
4338 | * ld.texinfo (Options): Remind users to preceed linker command | |
fa19fce0 NC |
4339 | line switches with -Wl, (or whatever is appropriate) if it is |
4340 | being invoked by a comnpiler driver program. | |
50bbae35 | 4341 | Fix description of the behaviour of the -n command line switch. |
4e53152f | 4342 | |
3b16e843 | 4343 | 2000-01-05 Catherine Moore <[email protected]> |
18625d54 CM |
4344 | |
4345 | * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. | |
4346 | (name_list): New. | |
4347 | * ld.texinfo (EXCLUDE_FILE): Update documentation. | |
4348 | * ldgram.y (wildcard_spec): Support a list of excluded_files. | |
4349 | (exclude_name_list): New. | |
4350 | ldlang.c (walk_wild_section): Support list of excluded files. | |
4351 | (print_wild_statement): Likewise. | |
4352 | (lang_add_wild): Likewise. | |
4353 | * ldlang.h (lang_wild_statement_type): Likewise. | |
4354 | * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. | |
6ddeca85 | 4355 | |
5aaace27 NC |
4356 | 2000-01-04 Mumit Khan <[email protected]> |
4357 | ||
870df5dc NC |
4358 | * pe-dll.c (pe_dll_warn_dup_exports): New variable. |
4359 | (process_def_file): Use. | |
4360 | (pe_dll_compat_implib): New variable. | |
4361 | (make_one): Use. | |
50bbae35 | 4362 | |
870df5dc NC |
4363 | * pe-dll.h: Add exports of pe_dll_warn_dup_exports and |
4364 | pe_dll_compat_implib. | |
50bbae35 AM |
4365 | |
4366 | * emultempl/pe.em (longopts): Add warn-duplicate-exports and | |
870df5dc NC |
4367 | compat-implib options. |
4368 | (gld_${EMULATION_NAME}_list_options): List new options. | |
4369 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
4370 | ||
50bbae35 | 4371 | * pe-dll.c (pe_dll_generate_implib): Use the correct name for output |
5aaace27 | 4372 | dll. |
50bbae35 AM |
4373 | |
4374 | * deffilep.y (opt_name): Allow "." in name. | |
5aaace27 | 4375 | |
2f6d2f85 | 4376 | For older changes see ChangeLog-9899 |
252b5132 RH |
4377 | \f |
4378 | Local Variables: | |
4379 | mode: change-log | |
4380 | left-margin: 8 | |
4381 | fill-column: 74 | |
4382 | version-control: never | |
4383 | End: |