Commit | Line | Data |
---|---|---|
d55b850c CF |
1 | 2003-03-07 Christopher Faylor <cgf@redhat.com> |
2 | ||
3 | * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after | |
4 | apparent accidental removal on 2003-01-06. | |
5 | ||
b4275f43 NC |
6 | 2003-03-04 Dmitry Diky <diwil@mail.ru> |
7 | ||
8 | * Makefile.am: Add new devices x1122 x1132 emulation | |
9 | * configure.tgt: Likewise. | |
10 | * Makefile.in: Regenerate. | |
11 | * emulparams/msp430x1122.sh: New file. | |
12 | * emulparams/msp430x1132.sh: New file. | |
13 | ||
e3f2db7f AO |
14 | 2003-03-03 Alexandre Oliva <aoliva@redhat.com> |
15 | ||
4ca1b790 AO |
16 | * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as |
17 | well. | |
18 | ||
e3f2db7f AO |
19 | * ldfile.h (struct search_dirs): Added sysrooted field. |
20 | * ldlang.h (struct lang_input_statement_struct): Likewise. | |
21 | * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. | |
22 | (ldfile_open_file_search): Look for sysrooted filename starting | |
23 | with / in ld_sysroot instead of in the current directory. Clear | |
24 | sysrooted flag if it's found in the current directory. Set it | |
25 | from the search directory's sysrooted flag where it is found | |
26 | otherwise. | |
27 | * ldlang.c (ldlang_sysrooted_script): New static variable. | |
28 | (new_afile): Mark search_file_enums as sysrooted if | |
29 | ldlang_sysrooted_script. | |
30 | (load_symbols): Set ldlang_sysrooted_script according to the | |
31 | script's sysrooted field while processing it. | |
32 | * ld.texinfo: Document INPUT behavior in sysroot. | |
33 | ||
15c9f673 CF |
34 | 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net> |
35 | ||
36 | * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, | |
37 | ||
c279ca3e AM |
38 | 2003-03-03 Alan Modra <amodra@bigpond.net.au> |
39 | ||
40 | * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. | |
41 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
42 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, | |
43 | PARSE_AND_LIST_EPILOGUE): Don't define. | |
44 | * emultempl/alphaelf.em: New file. | |
45 | ||
fcf65871 AM |
46 | 2003-03-01 Alan Modra <amodra@bigpond.net.au> |
47 | ||
48 | * ldemul.c: Include getopt.h. | |
49 | * emultempl/elf32.em: Include getopt.h earlier. | |
50 | * emultempl/ticoff.em: Likewise. | |
51 | ||
a060b769 AM |
52 | 2003-02-28 Alan Modra <amodra@bigpond.net.au> |
53 | ||
54 | * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc | |
55 | support when scripts read from files. | |
56 | ||
3bcf5557 AM |
57 | 2003-02-28 Alan Modra <amodra@bigpond.net.au> |
58 | ||
3aa97c58 AM |
59 | * ldemul.c (ldemul_parse_args): Return FALSE by default. |
60 | * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args | |
61 | comment. | |
62 | ||
3bcf5557 AM |
63 | * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. |
64 | (ldemul_parse_args): Return bfd_boolean. Formatting. | |
65 | * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. | |
66 | (ldemul_parse_args): Adjust. | |
67 | (struct ld_emulation_xfer_struct): Add add_options and handle_option. | |
68 | Return bfd_boolean from parse_args. | |
69 | * lexsup.c (parse_args): Malloc shortopts, longopts and | |
70 | really_longopts. Call ldemul_add_options and ldemul_handle_option. | |
71 | * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from | |
72 | gld${EMULATION_NAME}_parse_args. | |
73 | (gld${EMULATION_NAME}_handle_option): Likewise. | |
74 | (ld_${EMULATION_NAME}_emulation): Adjust initializer. | |
75 | * emultempl/armcoff.em: As for aix.em, but remove parse_args. | |
76 | * emultempl/beos.em: Likewise. | |
77 | * emultempl/pe.em: Likewise. | |
78 | * emultempl/ticoff.em: Likewise. | |
79 | * emultempl/elf32.em: Likewise. Don't duplicate long options either. | |
80 | (gld${EMULATION_NAME}_add_sysroot): Prototype. | |
81 | * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate | |
82 | options. | |
83 | * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. | |
84 | * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. | |
85 | * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. | |
86 | * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust | |
87 | initializer. | |
88 | * emultempl/generic.em: Likewise. | |
89 | * emultempl/gld960.em: Likewise. | |
90 | * emultempl/gld960c.em: Likewise. | |
91 | * emultempl/linux.em: Likewise. | |
92 | * emultempl/lnk960.em: Likewise. | |
93 | * emultempl/m68kcoff.em: Likewise. | |
94 | * emultempl/mipsecoff.em: Likewise. | |
95 | * emultempl/sunos.em: Likewise. | |
96 | * emultempl/vanilla.em: Likewise. | |
97 | * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype. | |
98 | ||
0125cdf2 NC |
99 | 2003-02-25 Alexandre Oliva <aoliva@redhat.com> |
100 | ||
42644a89 AO |
101 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix |
102 | memory allocation error. | |
103 | ||
0125cdf2 NC |
104 | * Makefile.am (ldmain.o): Define TOOLBINDIR. |
105 | * Makefile.in: Rebuilt. | |
106 | * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too. | |
107 | ||
cf888e70 NC |
108 | 2003-02-21 Bob Wilson <bob.wilson@acm.org> |
109 | ||
110 | * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only | |
111 | call os_region_check when it is set. | |
112 | (lang_size_sections): Add CHECK_REGIONS argument and pass it through to | |
113 | lang_size_sections_1. | |
114 | (lang_process): Change lang_size_sections calls to set CHECK_REGIONS | |
115 | only for the last call, not on every relaxation iteration. | |
116 | * ldlang.h (lang_size_sections): Update prototype. | |
117 | * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls | |
118 | to lang_size_sections. | |
119 | (pe_exe_fill_sections): Likewise. | |
120 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise. | |
121 | * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. | |
122 | * emultempl/ppc64elf.em (ppc_before_allocation): Likewise. | |
123 | (ppc_layout_sections_again): Likewise. | |
124 | ||
36f63dca NC |
125 | 2003-02-21 Bob Wilson <bob.wilson@acm.org> |
126 | ||
127 | * gen-doc.texi: Set ARM and HPPA variables. | |
128 | * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section | |
129 | title capitalization more consistent. Add missing menu entries for | |
130 | machine-specific sections and conditionalize them consistently. | |
131 | Conditionalize text that is irrelevant when SingleFormat is set. | |
132 | Add @group divisions to improve page breaks in long examples. | |
133 | Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output | |
134 | is correct. Remove "FIXME" comment about not using | |
135 | @raisesections/@lowersections. Use @raisesections/@lowersections | |
136 | consistently for machine-specific sections. Change to be more polite | |
137 | about poor bug reports. Replace FDL appendix with include of fdl.texi. | |
138 | Move WIN32 node to match its order in the menus. | |
139 | * fdl.texi: New file. | |
140 | ||
715d1656 AO |
141 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
142 | ||
143 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
144 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
145 | '${exec_prefix}' (in addition to the expansion thereof) as | |
146 | relocatable. | |
147 | * configure: Rebuilt. | |
148 | ||
8e23b15d AM |
149 | 2003-02-20 Phil Edwards <pme@gcc.gnu.org> |
150 | ||
151 | * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns. | |
152 | ||
153 | 2003-02-20 Harri Porten <porten@kde.org> | |
154 | ||
155 | * ldgram.y (vers_defns): Allow optional trailing semicolon in | |
156 | EXTERN NAME block; | |
157 | ||
f9e6bfa8 AM |
158 | 2003-02-18 Alan Modra <amodra@bigpond.net.au> |
159 | ||
160 | * emultempl/ppc32elf.em: New file. | |
161 | * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. | |
162 | * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. | |
163 | (eelf32lppcnto.c): Likewise. | |
164 | (eelf32lppcsim.c): Likewise. | |
165 | (eelf32ppcnto.c): Likewise. | |
166 | (eelf32ppc.c): Likewise. | |
167 | (eelf32ppc_fbsd.c): Likewise. | |
168 | (eelf32ppcsim.c): Likewise. | |
169 | (eelf32ppclinux.c): Likewise. | |
170 | * Makefile.in: Regenerate. | |
171 | ||
9a6c7def AM |
172 | 2003-02-18 Alan Modra <amodra@bigpond.net.au> |
173 | ||
174 | * ld.texinfo: Remove spaces between @samp and opening brace. | |
175 | ||
a015f5ec AM |
176 | 2003-02-18 Alan Modra <amodra@bigpond.net.au> |
177 | ||
178 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check | |
179 | hash creator. | |
180 | (ppc_before_allocation): Don't do optimizations if wrong hash table. | |
181 | (gld${EMULATION_NAME}_finish): Ditto. | |
182 | ||
ae9a127f NC |
183 | 2003-02-17 Nick Clifton <nickc@redhat.com> |
184 | ||
185 | * ldmain.c (main) Default allow_shlib_undefined to true. | |
186 | * lexsup.c (ld_options): Add --no-allow-shlib-undefined. | |
187 | (parse_args): Parse the new switch. | |
188 | * ld.texinfo: Document new switch and default behaviour of | |
189 | allowing undefined symbols in shared libraries. | |
190 | ||
db6a5910 NC |
191 | 2003-02-11 Dmitry Diky <diwil@mail.ru> |
192 | ||
7e4482c1 | 193 | * scripttempl/elf32msp430.sc: Add new data anchors definitions. |
db6a5910 NC |
194 | * scripttempl/elf32msp430_3.sc: Likewise. |
195 | ||
42b5d0ea NC |
196 | 2003-02-11 Uwe Stieber <uwe@wwws.de> |
197 | ||
198 | * configure.tgt: Add support for kaOS as cross build target | |
199 | system. | |
200 | ||
cfbd8dfa DA |
201 | 2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca> |
202 | ||
203 | * hppaelf.em (group_size): Change default back to 1. | |
204 | ||
e5096e3f AM |
205 | 2003-02-09 Alan Modra <amodra@bigpond.net.au> |
206 | ||
207 | * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code. | |
208 | ||
5e1e138d DA |
209 | 2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
210 | ||
211 | * hppaelf.em (group_size): Change default to -1. | |
212 | ||
ef5bdbd1 NC |
213 | 2003-02-07 Nick Clifton <nickc@redhat.com> |
214 | ||
215 | * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short | |
216 | opt. | |
217 | (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for | |
218 | no-pipeline-knowledge. This will prevent the getopt package from | |
219 | thinking that there are any shorter abbreviations for | |
220 | --no-pipeline-knowledge. | |
221 | ||
d460ab58 JJ |
222 | 2003-02-07 Jakub Jelinek <jakub@redhat.com> |
223 | ||
224 | * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths | |
225 | which already have it. Avoid duplicates. | |
226 | ||
cad91d28 JJ |
227 | 2003-02-06 Jakub Jelinek <jakub@redhat.com> |
228 | ||
229 | * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64. | |
230 | * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. | |
231 | * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix. | |
232 | ||
e0468e59 AM |
233 | 2003-02-05 Alan Modra <amodra@bigpond.net.au> |
234 | ||
235 | * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then | |
236 | call ppc64_elf_tls_optimize. | |
237 | ||
3dc16cab DJ |
238 | 2003-02-03 Daniel Jacobowitz <drow@mvista.com> |
239 | ||
240 | * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot | |
241 | outside of GNU/Linux conditional. | |
242 | ||
a35bc64f NC |
243 | 2003-01-28 Ralf Habacker <ralf.habacker@freenet.de> |
244 | ||
245 | * deffilep.y (def_get_module): New function: locate an already | |
246 | added module. | |
247 | * deffile.h (def_get_module): New prototype. | |
248 | * pe-dll.c (pe_implied_import_dll): Add code to prevent importing | |
249 | a dll multiple times. | |
250 | ||
f0abc2a1 AM |
251 | 2003-01-23 Alan Modra <amodra@bigpond.net.au> |
252 | ||
253 | * emultempl/sh64elf.em: Include elf32-sh64.h. | |
254 | (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed | |
255 | sh64_elf_section_data. | |
256 | (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise. | |
257 | ||
489d0400 NC |
258 | 2003-01-23 Wu Yongwei <adah@netstd.com> |
259 | ||
260 | * ld.texinfo: Remove an extra "i" in --dll-search-prefix. | |
261 | * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a | |
262 | cross-80th-column-margin "an" to the next line. | |
263 | ||
019ac0e3 NC |
264 | 2003-01-21 Nick Clifton <nickc@redhat.com> |
265 | ||
dd1e43b6 NC |
266 | * emulparams/tic3xcoff-onchip.sh: Rename to ...z |
267 | * emulparams/tic3xcoff_onchip.sh: ...this. | |
268 | * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file. | |
019ac0e3 NC |
269 | * Makefile.in: Regenerate. |
270 | ||
da896d3f NC |
271 | 2003-01-21 Fabio Alemagna <falemagn@aros.org> |
272 | ||
273 | * configure.tgt: Handle i[3456]86-*-aros* | |
274 | ||
0da35f8b SS |
275 | 2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com> |
276 | ||
277 | * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o | |
278 | * Makefile.in: Regenerate | |
279 | * configure.tgt: Added extra target emulations | |
280 | * emulparams/tic3xcoff.sh: Remove old settings | |
281 | * emulparams/tic4xcoff.sh: Ditto | |
282 | * emulparams/tic3xcoff-onchip.sh: Added new | |
283 | * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x | |
284 | * scripttempl/tic3xcoff.sc: Remove | |
285 | ||
ae42d3a9 AJ |
286 | 2003-01-17 Andreas Jaeger <aj@suse.de> |
287 | ||
288 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not | |
289 | skip ':'. | |
290 | ||
6f78fb71 AM |
291 | 2003-01-16 Alan Modra <amodra@bigpond.net.au> |
292 | ||
293 | * Makefile.in: Regenerate. | |
294 | ||
0a5d968e NC |
295 | 2002-01-14 Charles Wilson <cwilson@ece.gatech.edu> |
296 | ||
297 | * ld/ld.texinfo (node WIN32): Some clarifications | |
298 | and formatting fixups. | |
299 | ||
6f33421c CD |
300 | 2003-01-09 Chris Demetriou <cgd@broadcom.com> |
301 | ||
302 | * ldmain.c (get_emulation): Sort -mipsNN checks in the usual | |
303 | order, and handle (ignore) -mips32r2. | |
304 | ||
a65fb609 DJ |
305 | 2003-01-09 Daniel Jacobowitz <drow@mvista.com> |
306 | ||
307 | * ldmain.c (main): Make sure ld_sysroot is initialized. | |
308 | ||
9c8ebd6a DJ |
309 | 2003-01-06 Daniel Jacobowitz <drow@mvista.com> |
310 | ||
311 | * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup. | |
312 | ||
313 | * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. | |
314 | (GENSCRIPTS): Add @use_sysroot@. | |
315 | * Makefile.in: Regenerated. | |
316 | * configure.host: Move setting of NATIVE_LIB_DIRS to... | |
317 | * configure.tgt: ... here. Use ${target} instead of ${host} | |
318 | for NATIVE_LIB_DIRS. | |
319 | * configure.in: Add --with-sysroot. | |
320 | * configure: Regenerated. | |
321 | * genscripts.sh: Accept use_sysroot option. Set new variables | |
322 | NATIVE and USE_LIBPATH. Prepend "=" to directory names if | |
323 | $use_sysroot. Don't search $tool_lib if $use_sysroot. | |
324 | * ldfile.c (ldfile_add_library_path): Handle leading '='. | |
325 | * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. | |
326 | (ld_sysroot): New variable. | |
327 | (main): Initialize ld_sysroot. | |
328 | * ldmain.h (ld_sysroot): New extern. | |
329 | * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of | |
330 | searching $EMULATION_LIBPATH. | |
331 | (gld${EMULATION_NAME}_add_sysroot): New function. | |
332 | (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. | |
333 | (gld${EMULATION_NAME}_after_open): Likewise. Only search | |
334 | environment variables if $NATIVE. | |
335 | * ld.texinfo (Options): Mention "=" prefix in the description of -L. | |
336 | * NEWS: Mention --with-sysroot. | |
337 | ||
338 | * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX | |
339 | instead of setting LIB_PATH. | |
340 | * emulparams/elf32ppc.sh: Likewise. | |
341 | * emulparams/elf64_s390.sh: Likewise. | |
342 | * emulparams/elf64_sparc.sh: Likewise. | |
343 | * emulparams/elf64ppc.sh: Likewise. | |
344 | * emulparams/elf_x86_64.sh: Likewise. | |
345 | ||
346 | * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. | |
347 | * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH. | |
348 | ||
54d4efe3 CF |
349 | 2003-01-03 Charles Wilson <cwilson@ece.gatech.edu> |
350 | ||
351 | * ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0. | |
352 | ||
cdc0d45e DJ |
353 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
354 | ||
355 | * Makefile.am (ldmain.o): Pass BINDIR. | |
356 | * Makefile.in: Regenerated. | |
357 | * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first | |
358 | search path. | |
359 | ||
e09a7106 SC |
360 | 2003-01-02 Ben Elliston <bje@redhat.com> |
361 | ||
362 | * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o. | |
363 | (eelf32iq2000.c): New target. | |
364 | * Makefile.in: Regenerate. | |
365 | * configure.tgt: Handle iq2000-*-elf. | |
366 | * emulparams/elf32iq10.sh: New file. | |
367 | * emulparams/elf32iq2000.sh: New file. | |
368 | * scripttempl/iq2000.sc: New file. | |
ae42d3a9 | 369 | |
1c43e6e5 NC |
370 | 2003-01-02 Charles Wilson <cwilson@ece.gatech.edu> |
371 | ||
ae42d3a9 | 372 | * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc |
1c43e6e5 NC |
373 | and _pei386_runtime_relocator to the exclude list. |
374 | ||
396a2467 KH |
375 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
376 | ||
377 | * ldfile.c: Fix comment typos. | |
378 | * ldlang.c: Likewise. | |
379 | * mri.c: Likewise. | |
380 | * pe-dll.c: Likewise. | |
381 | ||
980c112c DJ |
382 | 2003-01-01 Daniel Jacobowitz <drow@mvista.com> |
383 | ||
384 | Suggested by Manfred Hollstein <manfred.h@gmx.net>: | |
385 | * Makefile.am (ld.1): Depend on configdoc.texi | |
386 | and ldver.texi. | |
387 | * Makefile.in: Regenerated. | |
388 | ||
396a2467 | 389 | 2002-12-24 Dmitry Diky <diwil@mail.ru> |
2469cfa2 NC |
390 | |
391 | * Makefile.am: Add msp430 target. | |
392 | * configure.tgt: Likewise. | |
393 | * Makefile.in: Regenerate. | |
394 | * emulparams/msp430x???.sh: New files. Linker script parameters | |
395 | for various msp430 configurations. | |
396 | * gen-doc.texi: Enable msp430 documenation. | |
397 | * ld.texinfo: Document msp430 sections. |