Commit | Line | Data |
---|---|---|
559e4713 NC |
1 | 2001-09-05 Danny Smith <dannysmith@users.souceforge.net> |
2 | ||
3 | * ld.texinfo (Options, --stack): Correct default value for stack | |
4 | reserve. | |
5 | ||
1fdf0249 TR |
6 | 2001-09-05 Tom Rix <trix@redhat.com> |
7 | ||
8 | * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. | |
9 | ||
9b5799b8 AJ |
10 | 2001-09-03 Andreas Jaeger <aj@suse.de> |
11 | ||
12 | * emultempl/beos.em: Declare prototypes for comparions functions, | |
13 | adjust definitions. | |
14 | ||
48f6162b AJ |
15 | 2001-09-02 Andreas Jaeger <aj@suse.de> |
16 | ||
17 | * emultempl/aix.em: Add missing prototype. | |
18 | * emultempl/lnk960.em: Likewise. | |
19 | * emultempl/vanilla.em: Likewise. | |
20 | * emultempl/armcoff.em: Likewise. | |
21 | * emultempl/armelf_oabi.em: Likewise. | |
22 | * emultempl/beos.em: Likewise. | |
23 | * emultempl/gld960c.em: Likewise. | |
24 | * emultempl/gld960.em: Likewise. | |
25 | ||
26 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter | |
27 | for prototype declaration. | |
28 | ||
39e5585e EC |
29 | 2001-08-31 Eric Christopher <echristo@redhat.com> |
30 | Jason Eckhardt <jle@redhat.com> | |
31 | ||
32 | * ldmain.c (get_emulation): Add support for -mips32 and -mips64. | |
33 | ||
3fc90ddb AJ |
34 | 2001-08-31 Andreas Jaeger <aj@suse.de> |
35 | ||
36 | * emultempl/pe.em: Add missing prototypes. | |
37 | (gld_${EMULATION_NAME}_after_open): Remove extra args to | |
38 | pe_find_data_imports. | |
39 | (pr_sym): Add unused attribute. | |
40 | ||
d43ded80 PB |
41 | 2001-08-29 Joel Sherrill <joel@OARcorp.com> |
42 | ||
39e5585e | 43 | * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change |
d43ded80 PB |
44 | default from coff to elf. |
45 | ||
3946dd2f JL |
46 | 2001-08-29 Jeff Law <law@redhat.com> |
47 | ||
48 | * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update | |
49 | ARCH specification. | |
50 | * emulparams/h8300self.sh: Similarly. | |
51 | ||
52 | Wed Aug 28 13:37:20 2001 J"orn Rennecke <amylaar@redhat.com> | |
8af6dd41 JR |
53 | |
54 | * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and | |
55 | eh8300self.o . | |
56 | (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. | |
57 | * configure.tgt (h8300-*-elf*): New case. | |
58 | * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. | |
59 | * emulparams/h8300self.sh: New file. | |
60 | * Makefile.in: Regenerated. | |
61 | ||
70d0c6e9 NC |
62 | 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com> |
63 | ||
64 | * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision | |
65 | with macro name. | |
66 | ||
5c67d4bb AM |
67 | 2001-08-27 Linus Nordberg <linus@swox.com> |
68 | Alan Modra <amodra@bigpond.net.au> | |
69 | ||
70 | * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. | |
71 | (eelf64ppc.c, eelf64lppc.c): Add make targets. | |
72 | Run "make dep-am" | |
73 | * Makefile.in: Regenerate. | |
74 | * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj | |
75 | entries to correct alphabetical position. | |
76 | * emulparams/elf64ppc.sh: New. | |
77 | * emulparams/elf64lppc.sh: New. | |
78 | ||
08131015 NC |
79 | 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com> |
80 | ||
81 | * ldmain.c (main): Declare BSIZE as static. | |
82 | ||
db6751f2 JJ |
83 | 2001-08-23 Jakub Jelinek <jakub@redhat.com> |
84 | ||
85 | * emultempl/elf32.em (place_orphan): Place orphan .rel* sections | |
86 | into .rel.dyn resp. .rela.dyn if combreloc. | |
87 | (get_script): If .x linker script is equal to .xn, only put it | |
88 | once into the binary. | |
89 | Add .xc and .xsc scripts. | |
90 | (parse_args): Handle -z combreloc and -z nocombreloc. | |
91 | * scripttempl/elf.sc (.rela.sbss): Fix a typo. | |
92 | For .xc and .xsc scripts put all .rel* or .rela* input sections | |
93 | but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. | |
94 | * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME | |
95 | is elf. | |
96 | Strip trailing whitespace from script. | |
97 | Generate .xc and .xsc scripts if requested. | |
98 | * ldmain.c (main): Initialize link_info.combreloc and | |
99 | link_info.spare_dynamic_tags. | |
100 | * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. | |
101 | (ld_options): Add --spare-dynamic-tags option. | |
102 | (parse_args): Likewise. | |
103 | * ld.texinfo: Document -z combreloc and -z nocombreloc. | |
104 | * ldint.texinfo: Document .xc and .xsc linker scripts. | |
105 | * NEWS: Add notes about -z combreloc and SHF_MERGE. | |
106 | ||
63d069c0 L |
107 | 2001-08-22 H.J. Lu <hjl@gnu.org> |
108 | ||
109 | * emulparams/elf32fr30.sh: Add a newline. | |
110 | ||
948f9114 AJ |
111 | 2001-08-21 Andreas Jaeger <aj@suse.de> |
112 | ||
113 | * deffilep.y: Add missing prototypes. | |
114 | * pe-dll.c: Likewise. | |
115 | ||
ae7fb08f AM |
116 | 2001-08-20 Alan Modra <amodra@bigpond.net.au> |
117 | ||
2af02257 AM |
118 | * ldlang.c (insert_pad): Fix typos in last patch. |
119 | ||
120 | * ldlang.c: When traversing lang_statement_union_type lists, | |
121 | consistently use "header.next" rather than "next". | |
122 | * mpw-eppcmac.c: Likewise. | |
123 | * emultempl/beos.em: Likewise. | |
124 | * emultempl/hppaelf.em: Likewise. | |
125 | * emultempl/pe.em: Likewise. | |
126 | * ldlang.h (union lang_statement_union): Remove "next" field. | |
127 | ||
c0c330a7 AM |
128 | * ldlang.c (insert_pad): Use offsetof macro. |
129 | (lang_size_sections): Always neuter padding statements. | |
130 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. | |
131 | ||
ae7fb08f AM |
132 | * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param |
133 | passed to lang_size_sections. | |
134 | (pe_exe_fill_sections): Likewise. | |
135 | * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. | |
136 | (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. | |
137 | ||
fab80407 AM |
138 | 2001-08-18 Alan Modra <amodra@bigpond.net.au> |
139 | ||
140 | * emultempl/aix.em: Formatting fixes. | |
141 | ||
b3327aad AM |
142 | 2001-08-18 Alan Modra <amodra@bigpond.net.au> |
143 | ||
144 | * ldlang.c (insert_pad): Make use of an existing pad statement if | |
145 | available. Move code calculating alignment, adjusting section | |
146 | alignment power, and adjusting dot to .. | |
147 | (size_input_section): .. here. Remove unused relax param. | |
148 | (lang_size_sections): Change boolean `relax' param to boolean *. | |
149 | Adjust call to size_input_section. Make use of insert_pad to | |
150 | place pad after the assignment statement. If relaxing, zap | |
151 | padding statements. | |
152 | (reset_memory_regions): Reset output_bfd section sizes too. | |
153 | (relax_again): Move to.. | |
154 | (lang_process): ..here. Adjust call to lang_size_sections, and | |
155 | remove duplicated code. | |
156 | * ldlang.h (lang_size_sections): Change `relax' param to boolean *. | |
157 | ||
563e308f AM |
158 | 2001-08-17 Alan Modra <amodra@bigpond.net.au> |
159 | ||
160 | * ld.texinfo: Document that fill values now use the four least | |
161 | significant bytes. | |
162 | * emulparams/elf32fr30.sh (NOP): Update. | |
163 | * emulparams/elf32mcore.sh: Likewise. | |
164 | * emulparams/elf64_s390.sh: Likewise. | |
165 | * emulparams/elf_i386.sh: Likewise. | |
166 | * emulparams/elf_i386_be.sh: Likewise. | |
167 | * emulparams/elf_i386_chaos.sh: Likewise. | |
168 | * emulparams/elf_i386_ldso.sh: Likewise. | |
169 | * emulparams/elf_s390.sh: Likewise. | |
170 | * emulparams/elf_x86_64.sh: Likewise. | |
171 | * emulparams/i386moss.sh: Likewise. | |
172 | * emulparams/i386nw.sh: Likewise. | |
173 | * emulparams/m68kelf.sh: Likewise. | |
174 | * scripttempl/elf.sc: Update NOP comment. | |
175 | * scripttempl/elfi370.sc: Likewise. | |
176 | * scripttempl/elfm68hc11.sc: Likewise. | |
177 | * scripttempl/elfm68hc12.sc: Likewise. | |
178 | * scripttempl/nw.sc: Likewise. | |
179 | ||
b90e1c6f TR |
180 | 2001-08-15 Tom Rix <trix@redhat.com> |
181 | ||
182 | * ldgram.y (saved_script_handle): Initialize to NULL. | |
183 | * ldmain.c (main): Change check on saved_script_handle. | |
948f9114 | 184 | |
39dcfe18 AM |
185 | 2001-08-14 Alan Modra <amodra@bigpond.net.au> |
186 | ||
cde43e70 AM |
187 | * emultempl/elf32.em: Formatting fixes. |
188 | (output_prev_sec_find): Test for bfd_ind_section too; do so by | |
189 | looking at sec->owner. | |
190 | (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. | |
191 | (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove | |
192 | unused code, and reorganize orphan section placement code. | |
193 | ||
39dcfe18 AM |
194 | * ldlang.c (wild_doit): Rename to lang_add_section. |
195 | * ldlang.h: Here too. | |
196 | * mpw-elfmips.c: And here. | |
197 | * emultempl/beos.em: And here. | |
198 | * emultempl/elf32.em: And here. | |
199 | * emultempl/hppaelf.em: And here. | |
200 | * emultempl/pe.em: And here. | |
201 | ||
908d20b3 RH |
202 | 2001-08-13 Richard Henderson <rth@redhat.com> |
203 | ||
204 | * emultempl/needrelax.em: New file. | |
205 | * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. | |
206 | * Makefile.am (eelf64_ia64.c): Depend on it. | |
207 | * Makefile.in: Rebuild. | |
208 | ||
0f33d40b AM |
209 | 2001-08-13 Alan Modra <amodra@bigpond.net.au> |
210 | ||
22af9fd3 AM |
211 | * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that |
212 | output_section is set non-NULL. | |
213 | ||
0f33d40b AM |
214 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return |
215 | `true' for SEC_EXCLUDE sections so that the generic code doesn't | |
216 | needlessly create an output_section_statement. Treat a correctly | |
217 | named output_section_statement with NULL bfd_section as compatible. | |
218 | ||
55ab6103 HPN |
219 | 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com> |
220 | ||
221 | * emultempl/generic.em: Support EXTRA_EM_FILE. | |
222 | (ld_${EMULATION_NAME}_emulation): Support emulation parameters | |
223 | LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, | |
224 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, | |
225 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, | |
226 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, | |
227 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, | |
228 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, | |
229 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, | |
230 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, | |
231 | LDEMUL_FIND_POTENTIAL_LIBRARIES. | |
232 | ||
24098abb RH |
233 | 2001-08-12 Richard Henderson <rth@redhat.com> |
234 | ||
235 | * scripttempl/elf.sc, scripttempl/elfd30v.sc, | |
236 | scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, | |
237 | scripttempl/v850.sc: Keep .jcr data. | |
238 | ||
b9a8de1e NC |
239 | 2001-08-12 H.J. Lu <hjl@gnu.org> |
240 | Andrew Haley <aph@cambridge.redhat.com> | |
241 | Nick Clifton <nickc@redhat.com> | |
242 | ||
243 | * ldgram.y (had_script): Change name to saved_script_handle. | |
244 | Change type to file handle. | |
245 | * ld.h (had_script): Rename and retype. | |
246 | * ldfile.c (ldfile_open_command_file): Save the file handle | |
247 | used in saved_script_handle. | |
248 | * lexsup.c (parse_args): Do not allow -c option to alter | |
249 | saved_script_handle. | |
250 | * ldmain.c (main): Print out the linker script used if | |
251 | --verbose is given. Check saved_script_handle to obtain the | |
252 | external linker script used, or if NULL, dump the builtin | |
253 | script. | |
254 | * ld.texinfo: Document that --verbose now dumps the linker | |
255 | script used, regardless of whether it was an internal or an | |
256 | external script. | |
257 | ||
0218d1e4 AJ |
258 | 2001-08-10 Andreas Jaeger <aj@suse.de> |
259 | ||
260 | * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes | |
261 | to build warnings. | |
262 | * configure: Regenerate. | |
263 | ||
5253f23b AM |
264 | 2001-08-09 Alan Modra <amodra@bigpond.net.au> |
265 | ||
73810896 AM |
266 | * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. |
267 | ||
5253f23b AM |
268 | * scripttempl/elf.sc: Move non-text .dynamic section before |
269 | .plt/.got/.sdata* group. | |
270 | (OTHER_GOT_SECTIONS): Move to immediately after .got. | |
271 | (OTHER_SDATA_SECTIONS): Add. | |
272 | * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than | |
273 | OTHER_GOT_SECTIONS. | |
274 | * emulparams/crislinux.sh: Likewise. | |
275 | * emulparams/elf32b4300.sh: Likewise. | |
276 | * emulparams/elf32bmip.sh: Likewise. | |
277 | * emulparams/elf32bmipn32.sh: Likewise. | |
278 | * emulparams/elf32bsmip.sh: Likewise. | |
279 | * emulparams/elf32btsmip.sh: Likewise. | |
280 | * emulparams/elf32ebmip.sh: Likewise. | |
281 | * emulparams/elf32elmip.sh: Likewise. | |
282 | * emulparams/elf32l4300.sh: Likewise. | |
283 | * emulparams/elf32lmip.sh: Likewise. | |
284 | * emulparams/elf32lsmip.sh: Likewise. | |
285 | * emulparams/elf32ltsmip.sh: Likewise. | |
286 | * emulparams/elf64bmip.sh: Likewise. | |
287 | * emulparams/elf64btsmip.sh: Likewise. | |
288 | * emulparams/elf64ltsmip.sh: Likewise. | |
289 | ||
179c732c AM |
290 | 2001-08-08 Alan Modra <amodra@bigpond.net.au> |
291 | ||
292 | * genscripts.sh: Source the emulparams script before each output | |
293 | script is generated so that variables like `RELOCATING' may affect | |
294 | variables defined in the emulparams script. | |
295 | ||
3fd36710 AM |
296 | 2001-08-04 Alan Modra <amodra@bigpond.net.au> |
297 | ||
20713691 AM |
298 | * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this |
299 | order. | |
300 | ||
3fd36710 AM |
301 | * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, |
302 | ie. iterate over wild_statement.section_list. | |
303 | (gld${EMULATION_NAME}_place_orphan): Likewise. | |
304 | ||
de0b1853 SC |
305 | 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
306 | ||
307 | * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle | |
308 | .fini[0-4] sections used by _exit | |
309 | (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. | |
310 | (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. | |
311 | * scripttempl/elfm68hc11.sc: Likewise. | |
312 | ||
ff7e6f88 L |
313 | 2001-08-03 H.J. Lu <hjl@gnu.org> |
314 | ||
315 | * emultempl/beos.em (init): Add the missing initialization. | |
316 | ||
b6bf44ba AM |
317 | 2001-08-03 Alan Modra <amodra@bigpond.net.au> |
318 | ||
319 | * ld.texinfo (Input Section Basics): Clarify ordering of output | |
320 | sections. | |
321 | * ldlang.c (callback_t): Add wildcard_list param. | |
322 | (walk_wild_section): Remove "section" param. Rewrite for | |
323 | lang_wild_statement_type change. Remove unique_section_p test. | |
324 | (walk_wild_file): Remove "section" param. | |
325 | (walk_wild): Remove "section" and "file" params. | |
326 | (lang_gc_wild): Likewise. | |
327 | (wild): Likewise. Modify for lang_wild_statement_type change. | |
328 | (wild_sort): Likewise. Add "sec" param. | |
329 | (gc_section_callback): Likewise. | |
330 | (output_section_callback): Likewise. Do unique_section_p test. | |
331 | (map_input_to_output_sections): Modify call to wild. | |
332 | (lang_gc_sections_1): Likewise. | |
333 | (print_wild_statement): Modify for lang_wild_statement_type | |
334 | change. | |
335 | (lang_add_wild): Replace filename, filenames_sorted param with | |
336 | filespec. Replace section_name, sections_sorted, | |
337 | exclude_filename_list with section_list. | |
338 | * ldlang.h (lang_add_wild): Here too. | |
339 | (lang_wild_statement_type): Replace section_name, sections_sorted, | |
340 | and exclude_filename_list with section_list. | |
341 | * ldgram.y (current_file): Delete. | |
342 | (%union): Add wildcard_list. | |
343 | (file_NAME_list): Set type to wildcard_list. Build a linked list | |
344 | rather than calling lang_add_wild for each entry. | |
345 | (input_section_spec_no_keep): Call lang_add_wild here instead. | |
346 | * ld.h (struct wildcard_list): Declare. | |
347 | * mri.c (mri_draw_tree): Modify to suit new lang_add_wild. | |
348 | ||
b044cda1 CW |
349 | 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> |
350 | ||
351 | * ldmain.c (main): initialize link_info.pei386_auto_import | |
352 | * pe-dll.c: new tables for auto-export filtering | |
353 | (auto_export): change API, pass abfd for contextual filtering. | |
b6bf44ba | 354 | Loop thru tables of excluded symbols instead of comparing |
b044cda1 CW |
355 | "by hand". |
356 | ||
357 | 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> | |
358 | ||
b6bf44ba AM |
359 | * pe-dll.c: new variable pe_dll_enable_extra_debug. New |
360 | static variable current_sec (static struct sec *). Add | |
b044cda1 | 361 | forward declaration for add_bfd_to_link. |
b6bf44ba AM |
362 | (process_def_file): Don't export undefined symbols. Do not |
363 | export symbols starting with "_imp__". Call auto_export() | |
b044cda1 CW |
364 | with new API. |
365 | (pe_walk_relocs_of_symbol): New function. | |
366 | (generate_reloc): add optional extra debugging | |
b6bf44ba | 367 | (pe_dll_generate_def_file): eliminate extraneous initial blank |
b044cda1 | 368 | line in output |
b6bf44ba | 369 | (make_one): enlarge symtab to make room for __nm__ symbols |
b044cda1 CW |
370 | (DATA auto-import support). |
371 | (make_singleton_name_thunk): New function. | |
372 | (make_import_fixup_mark): New function. | |
373 | (make_import_fixup_entry): New function. | |
374 | (pe_create_import_fixup): New function. | |
b6bf44ba | 375 | (add_bfd_to_link): Specify that 'name' argument is a CONST |
b044cda1 | 376 | char *. |
b6bf44ba AM |
377 | * pe-dll.h: declare new variable pe_dll_extra_pe_debug; |
378 | declare new functions pe_walk_relocs_of_symbol and | |
b044cda1 CW |
379 | pe_create_import_fixup. |
380 | * emultempl/pe.em: add new options --enable-auto-import, | |
381 | --disable-auto-import, and --enable-extra-pe-debug. | |
382 | (make_import_fixup): New function. | |
383 | (pe_find_data_imports): New function. | |
384 | (pr_sym): New function. | |
b6bf44ba | 385 | (gld_${EMULATION_NAME}_after_open): Add optional extra pe |
b044cda1 CW |
386 | debugging. Call pe_find_data_imports. Mark .idata as DATA, not |
387 | CODE. | |
388 | ||
389 | 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> | |
b6bf44ba | 390 | |
b044cda1 CW |
391 | * ld.texinfo: add additional documentation for |
392 | --export-all-symbols. Document --out-implib, | |
393 | --enable-auto-image-base, --disable-auto-image-base, | |
b6bf44ba AM |
394 | --dll-search-prefix, --enable-auto-import, and |
395 | --disable-auto-import. | |
b044cda1 CW |
396 | * ldint.texinfo: Add detailed documentation on auto-import |
397 | implementation. | |
398 | ||
156e34dd NC |
399 | 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com> |
400 | ||
401 | * ld.texinfo (Simple Assignments): Fix computation in SECTIONS | |
402 | example. | |
403 | ||
d6231427 AM |
404 | 2001-07-24 Alan Modra <amodra@bigpond.net.au> |
405 | ||
406 | * Makefile.am: Update dependencies with "make dep-am". | |
407 | * Makefile.in: Regenerate | |
408 | ||
e14ec88b AM |
409 | 2001-07-23 Alan Modra <amodra@bigpond.net.au> |
410 | ||
411 | * ldcref.c (check_section_sym_xref): New function. | |
412 | (check_nocrossrefs): Call it. | |
413 | (check_nocrossref): Interate over h->refs here instead of.. | |
414 | (check_refs): ..here. Pass in the symbol name, section, and bfd | |
415 | rather than hash_entry pointers. | |
416 | (struct check_refs_info): Keep symbol name rather than hash entry. | |
417 | Remove "same". | |
418 | (check_reloc_refs): Tweak for above changes in check_refs_info. | |
419 | Only report references to section syms when symname is NULL to | |
420 | prevent duplicate messages for the same reloc. | |
421 | ||
1b577b00 NC |
422 | 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com> |
423 | ||
c7d701b0 NC |
424 | * ldexp.c (exp_print_tree): Use stderr if config.map_file is not |
425 | available. Do not print NULL trees. | |
426 | (exp_print_token): Print unknown tokens with values > 126 as | |
427 | decimal values not ASCII characters. | |
428 | ||
1545243b NC |
429 | * ldlang.c (lang_leave_overlay): If a region is specified assign |
430 | it to all sections inside the overlay unless they have been | |
431 | assigned to the own, non-default, memory region. | |
432 | ||
1b577b00 NC |
433 | * README: Add header for consistency with other README files. |
434 | ||
5030876b L |
435 | 2001-07-14 H.J. Lu <hjl@gnu.org> |
436 | ||
437 | * emultempl/elf32.em (output_prev_sec_find): Never return | |
438 | bfd_abs_section_ptr, bfd_com_section_ptr nor | |
439 | bfd_und_section_ptr. | |
440 | ||
18c7a9a5 NC |
441 | 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com> |
442 | ||
22af9fd3 | 443 | * Makefile.am (em32relf.c): Change dependency from generic.em to |
18c7a9a5 NC |
444 | elf32.em. |
445 | * Makefile.in: Regenerate. | |
446 | ||
9ffecff1 MG |
447 | 2001-07-14 matthew green <mrg@eterna.com.au> |
448 | ||
449 | * configure.tgt (i386-*-netbsdelf*): New target. | |
450 | (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' | |
451 | ||
95500e1c JJ |
452 | 2001-07-13 Jakub Jelinek <jakub@redhat.com> |
453 | ||
454 | * emultempl/elf32.em (output_prev_sec_find): New. | |
455 | (place_orphan): Use it. | |
456 | ||
e97cb84f L |
457 | 2001-07-11 H.J. Lu <hjl@gnu.org> |
458 | ||
459 | * ldmain.c (main): Fix typos in the last change. | |
460 | ||
7333607e JJ |
461 | 2001-07-11 Jakub Jelinek <jakub@redhat.com> |
462 | ||
463 | * ldmain.c (main): Disallow -F and -f without -shared. | |
464 | ||
d29d80f2 NC |
465 | 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com> |
466 | ||
467 | * emultempl/pe.em (after_open): Check for the output_bfd not | |
468 | having any coff_data structure allocated to it. | |
469 | ||
c2a1a436 DB |
470 | 2001-07-09 David O'Brien <obrien@FreeBSD.org> |
471 | ||
472 | * emultempl/elf32.em: Do not assuming that contents of the buffer | |
473 | returned from basename function will remain unchanged accross other | |
474 | function calls. | |
475 | ||
63653551 L |
476 | 2001-07-03 H.J. Lu <hjl@gnu.org> |
477 | ||
478 | * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on | |
479 | 2001-07-03. It creates dynamic entries even for static binaries. | |
480 | ||
d303a449 L |
481 | 2001-07-03 Jakub Jelinek <jakub@redhat.com> |
482 | ||
483 | * scripttempl/elf.sc (DYNAMIC_PAD): New variable. | |
484 | (DYNAMIC): Use it to reserve few dynamic entries for | |
485 | post-linking tools. | |
486 | ||
9f22353f AM |
487 | 2001-06-27 Alan Modra <amodra@bigpond.net.au> |
488 | ||
489 | * emulparams/hppa64linux.sh: New file. | |
490 | * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh | |
491 | * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o | |
492 | (ehppa64linux.c): Add rule to make it. | |
493 | Run "make dep-am". | |
494 | * Makefile.in: Regenerate. | |
495 | ||
62bf86b4 HPN |
496 | 2001-06-21 Hans-Peter Nilsson <hp@axis.com> |
497 | ||
498 | * ld.texinfo (Options, -r): Mention restrictions when using | |
499 | different object formats. | |
500 | ||
429d935d HPN |
501 | 2001-06-19 Hans-Peter Nilsson <hp@axis.com> |
502 | ||
503 | * ldlang.c (lang_check): Emit fatal error if relocatable link | |
504 | between different object flavours with relocations in input. | |
505 | ||
cb840a31 L |
506 | 2001-06-19 H.J. Lu <hjl@gnu.org> |
507 | ||
508 | * ld.texinfo (-E, --export-dynamic): Mention --version-script. | |
509 | (--version-script): Mention the language support. | |
510 | ||
9bf03acc L |
511 | 2001-06-19 H.J. Lu <hjl@gnu.org> |
512 | ||
513 | * ldlang.c (lang_check): Revert the change mode on 2001-06-15. | |
514 | ||
c45021f2 NC |
515 | 2001-06-18 H.J. Lu <hjl@gnu.org> |
516 | ||
b6bf44ba AM |
517 | * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. |
518 | (diststuff): Add $(MANS). | |
519 | * Makefile.in: Regenerated. | |
c45021f2 | 520 | |
b6bf44ba | 521 | * ld.1: Removed. |
c45021f2 | 522 | |
6caa99ab HPN |
523 | 2001-06-18 Hans-Peter Nilsson <hp@axis.com> |
524 | ||
605d9b3a HPN |
525 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): |
526 | Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. | |
527 | * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. | |
528 | * ld.h (args_type): Remove member export_dynamic. All users | |
529 | changed to use struct bfd_link_info member. | |
530 | ||
6caa99ab HPN |
531 | * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on |
532 | $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. | |
533 | * Makefile.in: Regenerate. | |
534 | ||
6f9efd97 L |
535 | 2001-06-18 H.J. Lu <hjl@gnu.org> |
536 | ||
537 | * ldlang.c (init_os): Add the newline to the einfo call. | |
538 | (lang_check): Likewise. | |
539 | (lang_do_version_exports_section): Likewise. | |
540 | ||
5af9fd8b L |
541 | 2001-06-15 H.J. Lu <hjl@gnu.org> |
542 | ||
543 | * lexsup.c (parse_args); Save optind to report unrecognized | |
544 | option. | |
545 | ||
2a096f04 HPN |
546 | 2001-06-15 Hans-Peter Nilsson <hp@axis.com> |
547 | ||
7e66c3f5 HPN |
548 | * ldlang.c (lang_check): Emit fatal error if relocatable link |
549 | between different object flavours. | |
550 | ||
2a096f04 HPN |
551 | * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>: |
552 | Set new link_info member export_dynamic. | |
553 | * ldmain.c (main): Initialize new link_info member export_dynamic. | |
554 | ||
6770ec8c NC |
555 | 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> |
556 | ||
557 | * ldlang.c (walk_wild): Only call walk_wild_file if | |
558 | lookup_name returns something. | |
b6bf44ba | 559 | (lookup_name): If load_symbols fails, return NULL. |
22af9fd3 | 560 | (load_symbols): Change to a boolean function. |
b6bf44ba | 561 | (open_input_bfds): If load_symbols fails then do not make the |
6770ec8c NC |
562 | executable. |
563 | ||
8529105a AM |
564 | 2001-06-08 Alan Modra <amodra@bigpond.net.au> |
565 | ||
566 | * ldlang.c (record_bfd_errors): Remove. | |
567 | ||
568 | * emultempl/aix.em: Fix copyright dates. | |
569 | ||
8f3aa7a0 AJ |
570 | 2001-06-07 Andreas Jaeger <aj@suse.de> |
571 | ||
572 | * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. | |
573 | (TEXT_START_ADDR): Likewise. | |
574 | ||
3277f888 AM |
575 | 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> |
576 | ||
577 | * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. | |
578 | ||
3763134d DD |
579 | 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
580 | ||
581 | * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. | |
582 | ||
5929ebc0 L |
583 | 2001-05-31 H.J. Lu <hjl@gnu.org> |
584 | ||
585 | * ldlang.c (open_input_bfds): Don't change the bfd error | |
586 | handler whilst loading symbols. | |
587 | ||
c04a062d NC |
588 | 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com> |
589 | ||
590 | * configure.tgt: Remove i370-mvs architecture, it is not currently | |
591 | supported. | |
592 | ||
96fcab3e L |
593 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
594 | ||
595 | * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK | |
596 | like emulparams/aixppc.sh. | |
597 | ||
db8d4f23 L |
598 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
599 | ||
600 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move | |
601 | setting of output_filename after bfd_scan_arch. | |
602 | * emultempl/pe.em: Likewise. | |
603 | ||
5f642101 L |
604 | 2001-05-25 H.J. Lu <hjl@gnu.org> |
605 | ||
606 | * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK | |
607 | like emulparams/aixppc.sh. | |
608 | ||
609 | * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed | |
610 | instead of ${srcdir}/emultempl/stringify.sed. | |
611 | ||
64e9ece0 TW |
612 | 2001-05-25 Timothy Wall <twall@oculustech.com> |
613 | ||
614 | * emulparams/elf64_aix.sh: Change settings to match IBM linker | |
8f3aa7a0 | 615 | output. |
64e9ece0 | 616 | |
c709b096 AM |
617 | 2001-05-25 Alan Modra <amodra@one.net.au> |
618 | ||
619 | * configure.host: Replace linuxoldld with linux*oldld. | |
620 | * configure.tgt: Likewise. | |
621 | ||
6cbdcc6f L |
622 | 2001-05-24 H.J. Lu <hjl@gnu.org> |
623 | ||
624 | * emultempl/stringify.sed: Removed again. | |
625 | ||
86af25fe L |
626 | 2001-05-24 H.J. Lu <hjl@gnu.org> |
627 | ||
628 | * emultempl/aix.em (OUTPUT_ARCH): Defined. | |
629 | (gld${EMULATION_NAME}_before_parse): Initialize | |
630 | ldfile_output_architecture, ldfile_output_machine and | |
631 | ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. | |
632 | * emultempl/beos.em: Likewise. | |
633 | * emultempl/elf32.em: Likewise. | |
634 | * emultempl/linux.em: Likewise. | |
635 | * emultempl/mipsecoff.em: Likewise. | |
636 | * emultempl/pe.em: Likewise. | |
637 | * emultempl/sunos.em: Likewise. | |
638 | ||
3b1b01cf TR |
639 | 2001-05-24 Tom Rix <trix@redhat.com> |
640 | ||
8f3aa7a0 | 641 | * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) |
3b1b01cf TR |
642 | udate import file format. |
643 | (change_symbol_mode) New, same | |
644 | (is_syscall) New, same | |
645 | * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK | |
646 | * emulparams/aixppc64.sh : same | |
647 | * emulparams/aixrs6.sh : same | |
648 | * emulparams/ppcmacos.sh : same | |
649 | * emultempl/aix.em : use strtoull to parse options | |
650 | * Makefile.am : add eaixppc64 emulation for xcoff64 | |
651 | * Makefile.in : same | |
652 | * configure.tgt : same | |
653 | ||
654 | * scripttempl/aix.sc : default text section offset to 0x10000000 | |
655 | default data section offset to 0x20000000 | |
656 | add .sv3264 and .sv64 pseudo sections | |
8f3aa7a0 | 657 | loader and debug sections use the currect section offset. |
3b1b01cf TR |
658 | |
659 | * emultempl/aix.em : Add xcoff64 support | |
660 | Add -binitfini support | |
8f3aa7a0 | 661 | (gld${EMULATION_NAME}_before_parse) -binitfini |
3b1b01cf | 662 | (gld${EMULATION_NAME}_parse_args) same |
8f3aa7a0 | 663 | (gld${EMULATION_NAME}_before_allocation) format change for special |
3b1b01cf TR |
664 | sections |
665 | ||
666 | * emulparams/aixppc64.sh : New file for xcoff64 support | |
8f3aa7a0 | 667 | |
57e6abd2 AO |
668 | 2001-05-23 Alexandre Oliva <aoliva@redhat.com> |
669 | ||
670 | * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new | |
671 | variable to avoid non-portable shell construct. | |
672 | ||
d1cf510e NC |
673 | 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
674 | ||
675 | * ldmain.c (get_emulation): Add -mips5 command line argument. | |
676 | ||
506eee22 NC |
677 | 2001-05-22 Alexandre Oliva <aoliva@redhat.com> |
678 | ||
679 | * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. | |
680 | (ELF_INTERPRETER_NAME): Define it. | |
681 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use | |
682 | it. | |
683 | * configure.tgt (targ_emul, targ_extra_emuls) | |
684 | [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso | |
685 | as primary, elf_i386 as extra. | |
686 | * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. | |
687 | (eelf_i386_ldso.c): New rule. | |
688 | * Makefile.in: Rebuilt. | |
689 | ||
690 | 2001-05-22 Nick Clifton <nickc@redhat.com> | |
691 | ||
692 | * lexsup.c (ld_options): Allow -I to be an alias for | |
693 | --dynamic-linker. This is for Solaris compatability. | |
694 | * ld.texinfo: Document that -I can be used. | |
695 | * ld.1: Regenerate. | |
696 | ||
d1778b88 AM |
697 | 2001-05-16 Alan Modra <amodra@one.net.au> |
698 | ||
699 | * ldlang.c (wild_doit): Use linker_has_input to reliably determine | |
700 | whether an input section is the first one assigned to an output | |
701 | section. | |
702 | Assorted formatting fixes. | |
703 | ||
02649152 DD |
704 | 2001-05-14 DJ Delorie <dj@delorie.com> |
705 | ||
706 | * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. | |
707 | * Makefile.in: Ditto. | |
708 | ||
579f31ac JJ |
709 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
710 | ||
711 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put | |
712 | .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* | |
713 | output sections. | |
714 | * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. | |
715 | ||
8550eb6e JJ |
716 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
717 | ||
718 | * ldlang.c (lang_process): Call bfd_merge_sections. | |
719 | ||
8e5a525c AM |
720 | 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
721 | ||
722 | * ldgram.y: Fix typo. | |
723 | ||
1c9acd94 L |
724 | 2001-05-03 H.J. Lu <hjl@gnu.org> |
725 | ||
726 | * emultempl/elf32.em: Include "libiberty.h". | |
727 | (gld${EMULATION_NAME}_vercheck): Call basename () to get the | |
728 | basename of the bfd filename. | |
729 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
730 | (gld${EMULATION_NAME}_try_needed): Likewise. | |
731 | (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. | |
732 | ||
14fe918e L |
733 | 2001-05-02 H.J. Lu <hjl@gnu.org> |
734 | ||
735 | * emultempl/pe.em: Include <ctype.h>. | |
736 | ||
c7e40348 NC |
737 | 2001-05-02 Johan Rydberg <jrydberg@opencores.org> |
738 | ||
b6bf44ba | 739 | * emulparams/elf32openrisc.sh: New file. |
c7e40348 | 740 | |
b6bf44ba AM |
741 | * Makefile.am: Add OpenRISC target. |
742 | * Makefile.in: Regenerated. | |
c7e40348 | 743 | |
b6bf44ba | 744 | * configure.tgt: Add openrisc-*-* mapping. |
c7e40348 NC |
745 | |
746 | 2001-05-02 Nick Clifton <nickc@redhat.com> | |
747 | ||
748 | * emultempl/aix.em: Replace buystring with xstrdup. | |
749 | * emultempl/beos.em: Replace buystring with xstrdup. | |
8f3aa7a0 | 750 | |
d1b2b2dc L |
751 | 2001-05-02 H.J. Lu <hjl@gnu.org> |
752 | ||
753 | * ldfile.c: Include "libiberty.h". | |
754 | * ldlex.l: Likewise. | |
755 | ||
756 | * ldmisc.c (buystring): Removed. | |
757 | * ldmisc.h: Likewise. | |
758 | ||
759 | * ldfile.c: Replace buystring with xstrdup. | |
760 | * ldlang.c: Likewise. | |
761 | * ldlex.l: Likewise. | |
762 | * ldmain.c: Likewise. | |
763 | * ldmisc.c: Likewise. | |
764 | * lexsup.c: Likewise. | |
765 | * mpw-eppcmac.c: Likewise. | |
766 | ||
35714f2a AJ |
767 | 2001-04-30 Andreas Jaeger <aj@suse.de> |
768 | ||
769 | * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. | |
770 | ||
884fb58e NC |
771 | 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
772 | ||
b6bf44ba AM |
773 | * ldlang.c (load_symbols): Give emulation a chance |
774 | to process unrecognized file before fatal error is | |
775 | reported, not after. | |
884fb58e | 776 | |
87748b32 NC |
777 | 2001-04-27 Sean McNeil <sean@mcneil.com> |
778 | ||
779 | * configure.tgt: Add arm-vxworks target. | |
780 | * scripttempl/armcoff.sc: Support .text or .data as a section name | |
781 | prefix. | |
782 | Define _etext. | |
35714f2a | 783 | |
7ce691ae C |
784 | 2001-04-13 J.T. Conklin <jtc@redback.com> |
785 | ||
786 | * ld.texinfo: Document --fatal-warnings. | |
787 | * ld.1: Regenerate. | |
788 | ||
789 | * ldmisc.c (vfinfo): Set flag to inhibit making executable if | |
35714f2a | 790 | warnings have been turned into errors. |
7ce691ae C |
791 | * lexsup.c (OPTION_WARN_FATAL): Define. |
792 | (ld_options): Entry for --fatal-warnings. | |
793 | (parse_args): Handle OPTION_WARN_FATAL. | |
794 | * ld.h (ld_config_type): Add fatal_warnings field. | |
795 | ||
f5fa8ca2 JJ |
796 | 2001-04-13 Jakub Jelinek <jakub@redhat.com> |
797 | ||
798 | * ldmain.c (main): Default to discard_sec_merge. | |
799 | * lexsup.c (OPTION_DISCARD_NONE): Define. | |
800 | (ld_options): Add --discard-none. | |
801 | (parse_args): Handle OPTION_DISCARD_NONE. | |
802 | * ldlang.c (wild_doit): SEC_MERGE should be set in the output | |
803 | section only if SEC_MERGE and SEC_STRINGS flags and entsize of | |
804 | all its input sections match. | |
805 | ||
fdec3cfc L |
806 | 2001-04-05 Steven J. Hill <sjhill@cotw.com> |
807 | ||
808 | * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. | |
809 | (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. | |
810 | (eelf32ltsmip.c): New target. | |
811 | (eelf64btsmip.c): Likewise. | |
812 | (eelf64ltsmip.c): Likewise. | |
813 | * Makefile.in: Regenerated. | |
814 | ||
815 | * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS | |
816 | target. | |
817 | (mips*-*-linux-gnu*): Likewise. | |
818 | ||
819 | * emulparams/elf32ltsmip.sh: New. Traditional little endian | |
820 | MIPS taget. | |
35714f2a | 821 | * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian |
fdec3cfc L |
822 | target. |
823 | * emulparams/elf64ltsmip.sh: New. Traditional 64bit little | |
824 | endian target. | |
825 | ||
589bad82 HPN |
826 | 2001-04-05 Hans-Peter Nilsson <hp@axis.com> |
827 | ||
828 | * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide | |
829 | correct value of __Stext here. | |
830 | (TEXT_START_SYMBOLS): Define; always define __Stext, to start of | |
831 | .startup section. | |
832 | ||
833 | * emulparams/crislinux.sh: Remove FIXME. | |
834 | ||
94202e16 AM |
835 | 2001-04-02 Alan Modra <alan@linuxcare.com.au> |
836 | ||
837 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. | |
838 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. | |
839 | ||
1268a053 HPN |
840 | 2001-03-27 Hans-Peter Nilsson <hp@axis.com> |
841 | ||
842 | * configure.tgt (cris-*-*): Change default emulation to criself. | |
843 | (cris-*-*aout*): New rule. | |
844 | ||
d85e9ff7 AM |
845 | 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> |
846 | ||
847 | * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. | |
848 | (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. | |
849 | ||
0879a67a AJ |
850 | 2001-03-26 Andreas Jaeger <aj@suse.de> |
851 | ||
852 | * ld.texinfo (Overview): Fix syntax in texi code. | |
853 | ||
0285c67d NC |
854 | 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
855 | ||
856 | * ld.texinfo: Put @c man indications to generate the ld man page. | |
857 | When generating man, define all the variables. Define SEEALSO | |
858 | and SYNOPSIS. Re-organize some lines to avoid the cross references. | |
859 | * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. | |
860 | (ld.1): Generate from ld.texinfo. | |
861 | * Makefile.in: Regenerate. | |
862 | ||
c20ec07b NC |
863 | 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com> |
864 | ||
865 | * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' | |
866 | and '-fdata-sections'. Set the VMA of STABS sections to zero. | |
867 | ||
cc5ce052 UD |
868 | 2001-03-17 Ulrich Drepper <drepper@redhat.com> |
869 | ||
870 | * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME | |
871 | is an absolute path look only for this file and not along the path. | |
872 | ||
a1ab1d2a UD |
873 | 2001-03-17 Ulrich Drepper <drepper@redhat.com> |
874 | ||
875 | * emultempl/elf32.em (OPTION_GROUP): New macro. | |
876 | Add new option Bgroup to longopts. | |
877 | (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. | |
878 | (gld*_list_options): Add -Bgroup and -z defs. | |
879 | * ld.1: Document -Bgroup and -z defs. | |
880 | * ld.texinfo: Likewise. | |
881 | ||
788fca5a MM |
882 | 2001-03-07 Michael Meissner <meissner@redhat.com> |
883 | ||
884 | * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal | |
885 | with sections created by -fdata-sections. | |
886 | (.dynbss,.bss): Ditto. | |
887 | ||
1c7566d1 AM |
888 | 2001-03-05 Alan Modra <alan@linuxcare.com.au> |
889 | ||
890 | * emultempl/m68kelf.em (m68k_elf_after_allocation): Call | |
891 | after_allocation_default, not gld..._before_allocation. | |
892 | ||
27b7e12d AM |
893 | 2001-02-27 Alan Modra <alan@linuxcare.com.au> |
894 | ||
895 | * configure.in (BFD_VERSION): New. | |
896 | (AM_INIT_AUTOMAKE): Use $BFD_VERSION. | |
897 | * configure: Regenerate. | |
898 | * Makefile.am: Run "make dep-am" | |
899 | * Makefile.in: Regenerate. | |
900 | ||
2bc551c7 TW |
901 | 2001-02-26 Timothy Wall <twall@cygnus.com> |
902 | ||
903 | * emulparams/elf64_aix.sh: Add additional read-only sections; | |
904 | uncomment lines which are now required. | |
905 | ||
1276aefa NC |
906 | 2001-02-26 H.J. Lu <hjl@gnu.org> |
907 | ||
908 | * ldlang.c (open_input_bfds): Set the bfd error handler so | |
b6bf44ba AM |
909 | that problems can be caught whilst loading symbols. |
910 | (record_bfd_errors): New function: Report BFD errors and mark | |
911 | the executable output as being invalid. | |
1276aefa | 912 | |
41c49998 TW |
913 | 2001-02-22 Timothy Wall <twall@cygnus.com> |
914 | ||
915 | * configure.host: Add configuration for ia64-*-aix*. | |
916 | * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. | |
917 | Add dependencies for eelf64_aix.c. | |
918 | * Makefile.in: Regenerate. | |
919 | * configure.tgt: Add ia64-*-aix* mapping. | |
920 | * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. | |
a2b64bed | 921 | * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from |
0879a67a AJ |
922 | AIX-specific test. |
923 | ||
78f85fd7 L |
924 | 2001-02-20 H.J. Lu <hjl@gnu.org> |
925 | ||
926 | * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to | |
927 | false if we found the file. | |
928 | ||
1ac7e077 | 929 | 2001-02-18 David O'Brien <obrien@FreeBSD.org> |
fb33b906 DB |
930 | |
931 | * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, | |
932 | FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. | |
933 | ||
e135f41b NC |
934 | 2001-02-18 lars brinkhoff <lars@nocrew.org> |
935 | ||
936 | * Makefile.am: Add PDP-11 target. | |
937 | * configure.tgt: Likewise. | |
938 | * emulparams/pdp11.sh: New file. | |
939 | ||
a842aceb DB |
940 | 2001-02-17 David O'Brien <obrien@FreeBSD.org> |
941 | ||
942 | * configure.host: Add a generic FreeBSD configuration entry such that | |
943 | all [modern] FreeBSD systems on all platforms will look the same. | |
944 | ||
24174db0 L |
945 | 2001-02-14 H.J. Lu <hjl@gnu.org> |
946 | ||
947 | * configure.tgt: Remove mention of earmelf_linux26. | |
948 | ||
30c3c13a RH |
949 | 2001-02-13 Richard Henderson <rth@redhat.com> |
950 | ||
951 | * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. | |
952 | ||
b46a87b1 L |
953 | 2001-02-13 H.J. Lu <hjl@gnu.org> |
954 | ||
955 | * ldexp.h (node_type): Add etree_provided. | |
956 | * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node | |
957 | type to etree_provided if defined by PROVIDE. Allow updating | |
0879a67a | 958 | for etree_provided. |
b46a87b1 L |
959 | (exp_print_tree): Handle etree_provided. |
960 | * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle | |
961 | etree_provided. | |
962 | ||
f3988fd9 RH |
963 | 2001-02-09 David Mosberger <davidm@hpl.hp.com> |
964 | ||
965 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add | |
966 | .IA_64.unwind.* pattern to unwind table section and | |
967 | .IA_64.unwind_info* pattern to unwind info section. | |
968 | ||
a85d7ed0 NC |
969 | 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> |
970 | ||
971 | * Makefile.am: Add linux target for S/390. | |
972 | * Makefile.in: Likewise. | |
973 | * configure.host: Likewise. | |
974 | * configure.tgt: Likewise. | |
975 | * emulparams/elf64_s390.sh: New file. | |
976 | * emulparams/elf_s390.sh: New file. | |
977 | ||
780248c4 JJ |
978 | 2001-02-09 Jakub Jelinek <jakub@redhat.com> |
979 | ||
980 | * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into | |
981 | targ_extra_libpath. | |
982 | (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. | |
983 | ||
0e2534bd PB |
984 | 2001-02-06 Philip Blundell <philb@gnu.org> |
985 | ||
986 | * Makefile.am: Remove mention of earmelf_linux26. | |
987 | * Makefile.in: Regenerate. | |
988 | ||
46c1ea57 PB |
989 | 2001-02-04 Philip Blundell <philb@gnu.org> |
990 | ||
991 | * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. | |
992 | * emulparams/armelf_linux26.sh: Delete. | |
993 | * configure.tgt: Remove mention of armelf_linux26 emulation. | |
994 | ||
0088edd2 NC |
995 | 2001-02-01 Nick Clifton <nickc@redhat.com> |
996 | ||
997 | * ld.1: Replace occurances of -oformat with --oformat. | |
998 | ||
02aa14fb AM |
999 | 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com> |
1000 | ||
1001 | * ldlang.c (lang_leave_overlay): Don't set lma_region when | |
1002 | load_base is specified. | |
1003 | ||
f813923c HPN |
1004 | 2001-01-24 Hans-Peter Nilsson <hp@axis.com> |
1005 | ||
1006 | * emultempl/elf32.em: Correct spelling in comments and listed | |
1007 | options. | |
1008 | ||
c1eb1488 AM |
1009 | 2001-01-23 Alan Modra <alan@linuxcare.com.au> |
1010 | ||
1011 | * ldlang.c (lang_leave_overlay): Only set lma_region from the | |
1012 | default for the first section of a group of overlay sections. | |
1013 | ||
d9fc3714 AM |
1014 | 2001-01-22 Alan Modra <alan@linuxcare.com.au> |
1015 | ||
1016 | * Makefile.am (GENSCRIPTS): Pass exec_prefix. | |
1017 | * Makefile.in: Regenerate. | |
1018 | * genscripts.sh: Use exec_prefix parameter to specify tool lib. | |
1019 | Check for null tool_dir. | |
1020 | ||
6be0ca94 JW |
1021 | 2001-01-16 Jim Wilson <wilson@redhat.com> |
1022 | ||
1023 | * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind | |
1024 | and IA_64.unwind.info. | |
1025 | ||
b9247304 L |
1026 | 2001-01-16 H.J. Lu <hjl@gnu.org> |
1027 | ||
1028 | * ldlang.c (lang_check): Merge the private data only if the | |
1029 | input file has contents. | |
1030 | ||
577a0623 AM |
1031 | 2001-01-14 Alan Modra <alan@linuxcare.com.au> |
1032 | ||
d952f17a AM |
1033 | * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. |
1034 | ||
ffd6e9de AM |
1035 | * emultempl/hppaelf.em (hppaelf_after_parse): New function, |
1036 | enabling search for libmilli. On a relocatable link, make .text | |
1037 | sections unique. | |
1038 | (LDEMUL_AFTER_PARSE): Define. | |
1039 | (hppaelf_finish): Correct spelling of relocatable in comments. | |
1040 | ||
577a0623 AM |
1041 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't |
1042 | rummage through the script for sections on the unique list. | |
1043 | Correct length of strncmp for ".note". | |
1044 | (gld${EMULATION_NAME}_check_needed): Rearrange function. | |
1045 | ||
1046 | * ldlang.c (unique_section_list): New var. | |
1047 | (unique_section_p): New function. | |
1048 | (walk_wild_section): Don't match sections on unique_section_list. | |
1049 | (lang_add_unique): New function. | |
ffd6e9de | 1050 | Correct spelling of relocatable in comments. |
577a0623 AM |
1051 | |
1052 | * ldlang.h (struct unique_sections): Declare. | |
1053 | (unique_section_list): Declare. | |
1054 | (unique_section_p): Declare. | |
1055 | (lang_add_unique): Declare. | |
1056 | ||
1057 | * lexsup.c (ld_options): Allow --unique to take an optional arg. | |
1058 | (parse_args [OPTION_UNIQUE]): Call lang_add_unique. | |
1059 | ||
1060 | * ld.texinfo (--unique): Update. | |
1061 | ||
b7ed8fad NC |
1062 | 2001-01-13 Nick Clifton <nickc@redhat.com> |
1063 | ||
1064 | * lexsup.c (parse_args): Remove spurious white space. | |
1065 | ||
d0398d6a NC |
1066 | 2001-01-12 Nick Clifton <nickc@redhat.com> |
1067 | ||
1068 | * lexsup.c (parse_args): Update copyright date. | |
1069 | ||
350fdb00 PB |
1070 | 2001-01-12 Philip Blundell <pb@futuretv.com> |
1071 | ||
1072 | * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. | |
1073 | ||
60c6797e KH |
1074 | 2001-01-10 Kazu Hirata <kazu@hxi.com> |
1075 | ||
1076 | * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. | |
1077 | * scripttempl/h8300h.sc: Fix formatting. | |
1078 | * scripttempl/h8300s.sc: Likewise. | |
69f06969 KH |
1079 | * scripttempl/h8500.sc: Likewise. |
1080 | * scripttempl/h8500b.sc: Likewise. | |
1081 | * scripttempl/h8500c.sc: Likewise. | |
1082 | * scripttempl/h8500m.sc: Likewise. | |
1083 | * scripttempl/h8500s.sc: Likewise. | |
60c6797e | 1084 | |
482e8b32 DB |
1085 | 2000-01-07 David O'Brien <obrien@BSDi.com> |
1086 | ||
1087 | * emultempl/elf32.em: Only perform Linux ld hints processing when | |
1088 | targeting Linux. | |
1089 | ||
d7ed7ca6 PB |
1090 | 2001-01-07 Philip Blundell <philb@gnu.org> |
1091 | ||
1092 | * ld.texinfo (Bug Reporting): Update email address for reports. | |
1093 | ||
0fc3347a NC |
1094 | 2000-12-31 Nick Clifton <nickc@redhat.com> |
1095 | ||
1096 | * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long | |
1097 | options by checking for a return value of '?' not -1. | |
1098 | ||
e4897a32 NC |
1099 | 2000-12-28 Nick Clifton <nickc@redhat.com> |
1100 | ||
1101 | * lexsup.c (struct ld_option): Add new enum value: | |
1102 | EXACTLY_TWO_DASHES. | |
1103 | (ld_options[]): Change -omagic, -output and -oformat options | |
1104 | to be EXACTLY_TWO_DASHES. | |
1105 | (OUTPUT_COUNT): Use ARRAY_SIZE. | |
1106 | (parse_args): Change parameter 'argc' to unsigned. | |
1107 | Place EXACTLY_TWO_DASHES options into new really_longopts | |
1108 | array. | |
1109 | If getopt_long_only fails, try calling getopt_long using the | |
1110 | really_longopts array. | |
1111 | (help): Print a double dash for both EXACTLY_TWO_DASHES and | |
1112 | TWO_DASHES options. | |
1113 | ||
1114 | * ldlex.h: Fix prototype of parse_args. | |
1115 | ||
1116 | * ld.texinfo: Document that long options starting with 'o' | |
1117 | must be preceeded by two dashes. Change example of a single | |
1118 | dashed long option from -oformat to -trace-symbol. | |
1119 | ||
1122a5fc NC |
1120 | 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz> |
1121 | ||
1122 | * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. | |
1123 | (longopts[]): New --no-default-excludes option. | |
1124 | (gld_${EMULATION_NAME}_list_options): Document. | |
1125 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
1126 | ||
037849a9 NC |
1127 | 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1128 | ||
1129 | * ldlang.c (new_stat): Revert the last beautification with "innocent" | |
1130 | whitespace, it breaks the K&R C preprocessor. | |
1131 | ||
7ec229ce DD |
1132 | 2000-12-11 DJ Delorie <dj@redhat.com> |
1133 | ||
1134 | * ld.texinfo: Add notes about --whole-archive and gcc. | |
1135 | ||
b79e8c78 NC |
1136 | 2000-11-18 Fred Fish <fnf@be.com> |
1137 | ||
1138 | * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. | |
1139 | (ld_options): Entry for --allow-shlib-undefined. | |
1140 | (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. | |
1141 | * ldmain.c (main): Initialize link_info.allow_shlib_undefined | |
1142 | to false. | |
1143 | * ld.texinfo: Document new command line switch. | |
d952f17a | 1144 | |
9a8e2505 GK |
1145 | 2000-12-12 Geoffrey Keating <geoffk@redhat.com> |
1146 | ||
1147 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): | |
1148 | .fixup is actually read/write. | |
1149 | * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
1150 | * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
1151 | * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. | |
1152 | ||
b8355149 JH |
1153 | Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz> |
1154 | ||
1155 | * NEWS: Add note about x86_64 architecture. | |
1156 | ||
93b63cd3 DD |
1157 | 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> |
1158 | ||
1159 | * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. | |
1160 | Set DWARF2 sections to a VMA of zero. | |
1161 | ||
24f6971a NC |
1162 | 2000-12-01 Joel Sherrill <joel@OARcorp.com> |
1163 | ||
d952f17a | 1164 | * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): |
24f6971a NC |
1165 | New targets. |
1166 | (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. | |
1167 | (sparc*-*-rtems*): Switched from a.out to ELF. | |
1168 | ||
2be3aa03 NC |
1169 | 2000-11-30 Jan Hubicka <jh@suse.cz> |
1170 | ||
1171 | * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o | |
1172 | (eelf_x86_64.c): New. | |
1173 | * Makefile.in: Regenerate. | |
1174 | * configure.tgt: Add support for x86_64-*-linux-gnu*. | |
1175 | * emulparams/elf_x86_64.sh: New. | |
1176 | ||
8c899858 HPN |
1177 | 2000-11-30 Hans-Peter Nilsson <hp@axis.com> |
1178 | ||
1179 | * emulparams/crislinux.sh (ENTRY): Change back to _start. | |
1180 | (TEXT_START_SYMBOLS): Remove conditional setting of __start. | |
1181 | ||
1182 | * scripttempl/crisaout.sc: Change all RELOCATING not related to | |
1183 | merging non-a.out sections into CONSTRUCTING. | |
1184 | ||
e47b9e39 NC |
1185 | 2000-11-28 Nick Clifton <nickc@redhat.com> |
1186 | ||
1187 | * ld.1 (COPYING): Mention that the GNU Free Documentation | |
1188 | License is present in the sources, but not the output, and | |
1189 | also available from the GNU website. | |
1190 | (GNU Free Documentation License): Comment out this section. | |
1191 | ||
ad95f82a DB |
1192 | 2000-11-28 David O'Brien <obrien@dragon.nuxi.com> |
1193 | ||
1194 | * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF | |
1195 | does not use them. | |
1196 | ||
fd89e65f DB |
1197 | 2000-11-25 David O'Brien <obrien@FreeBSD.org> |
1198 | ||
1199 | * ld.1: Remove old date so it does not give the impression the manpage | |
1200 | is way out of date. | |
1201 | ||
077b8428 NC |
1202 | 2000-11-24 Nick Clifton <nickc@redhat.com> |
1203 | ||
1204 | * configure.tgt (xscale-coff): Add target. | |
1205 | (xscale-elf): Add target. | |
1206 | ||
49425d28 NC |
1207 | 2000-11-24 Fred Fish <fnf@be.com> |
1208 | ||
d952f17a AM |
1209 | * ldmain.c (main): Remove redundant init of config.make_executable |
1210 | to true. | |
49425d28 | 1211 | |
d3480244 RH |
1212 | 2000-11-15 Richard Henderson <rth@redhat.com> |
1213 | ||
1214 | * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. | |
1215 | ||
1ce7de8b KH |
1216 | 2000-11-14 Kazu Hirata <kazu@hxi.com> |
1217 | ||
1218 | * scripttempl/h8300.sc: Fix formatting. | |
1219 | * scripttempl/h8300h.sc: Likewise. | |
1220 | * scripttempl/h8300s.sc: Likewise. | |
1221 | ||
208d5cd0 DC |
1222 | Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru> |
1223 | ||
1224 | * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. | |
1225 | ||
2e418547 PB |
1226 | 2000-11-09 Philip Blundell <pb@futuretv.com> |
1227 | ||
1228 | * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME | |
1229 | around orphan sections whose names can be represented in C. | |
1230 | ||
c940e6fc JW |
1231 | 2000-11-07 Jim Wilson <wilson@redhat.com> |
1232 | ||
1233 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local | |
1234 | hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. | |
1235 | ||
704c465c NC |
1236 | 2000-11-06 Nick Clifton <nickc@redhat.com> |
1237 | ||
1238 | * ld.texinfo: Add GNU Free Documentation License. | |
1239 | * ldint.texinfo: Add GNU Free Documentation License. | |
cf055d54 | 1240 | * ld.1: Add GNU Free Documentation License. |
704c465c | 1241 | |
dca7760f AM |
1242 | 2000-11-05 Alan Modra <alan@linuxcare.com.au> |
1243 | ||
1244 | * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, | |
1245 | yy_is_interactive, yy_at_bol, and yy_fill_buffer. | |
1246 | ||
1247 | * Makefile.am (DISTCLEANFILES): Add stringify.sed. | |
1248 | Move 2000-11-02 Makefile.in changes to this file. | |
1249 | * Makefile.in: Regenerate. | |
1250 | ||
40a633d5 NC |
1251 | 2000-11-03 Nick Clifton <nickc@redhat.com> |
1252 | ||
1253 | * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose | |
1254 | constructors and destructors. | |
1255 | * scripttempl/h8300h.sc: Ditto. | |
1256 | * scripttempl/h8300s.sc: Ditto. | |
1257 | * scripttempl/h8500.sc: Ditto. | |
1258 | * scripttempl/h8500b.sc: Ditto. | |
1259 | * scripttempl/h8500c.sc: Ditto. | |
1260 | * scripttempl/h8500m.sc: Ditto. | |
1261 | * scripttempl/h8500s.sc: Ditto. | |
1262 | * scripttempl/v850.sc: Ditto. | |
1263 | * scripttempl/w65.sc: Ditto. | |
1264 | * scripttempl/z8000.sc: Ditto. | |
1265 | ||
59ff2774 NC |
1266 | 2000-11-02 Per Lundberg <plundis@chaosdev.org> |
1267 | ||
1268 | * Makefile.in (e_i386_chaos.c): New rule. | |
1269 | (ALL_EMULATIONS): Added e_i386_chaos.o. | |
1270 | * emulparams/elf_i386_chaos.sh: New file. | |
1271 | * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. | |
1272 | ||
645571e1 JJ |
1273 | 2000-10-20 Jakub Jelinek <jakub@redhat.com> |
1274 | ||
1275 | * emulparams/elf64_sparc.sh (TEXT_START_ADDR, | |
1276 | NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. | |
1277 | Fix sed invocation, so that it coped with '/' in Solaris 64bit | |
1278 | library path suffix. | |
1279 | Based on patch by Andrew Macleod <amacleod@cygnus.com>. | |
1280 | ||
c5975a45 HPN |
1281 | 2000-10-18 Hans-Peter Nilsson <hp@axis.com> |
1282 | ||
1283 | * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), | |
1284 | for consecutive sections. | |
1285 | ||
ea20a7da CC |
1286 | 2000-10-17 Chandrakala Chavva <cchavva@redhat.com> |
1287 | ||
d952f17a AM |
1288 | * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific |
1289 | options. | |
1290 | * ld.texinfo: Added notes about this new option. | |
ea20a7da | 1291 | |
6e45556a NC |
1292 | 2000-10-16 Nick Clifton <nickc@redhat.com> |
1293 | ||
1294 | * emultempl/pe.em (_after_open): Add tests of return values from | |
1295 | bfd functions. Emit appropriate error messages if necessary. | |
1296 | ||
b9a69188 NC |
1297 | 2000-10-13 Nick Clifton <nickc@redhat.com> |
1298 | ||
1299 | * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' | |
102c86f8 NC |
1300 | local variables - they are not used, but leave in the call to |
1301 | bfd_canonicalize_symtab. | |
b9a69188 NC |
1302 | (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of |
1303 | pe_dll_search_prefix. | |
1304 | ||
627427de | 1305 | 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu> |
d952f17a | 1306 | |
627427de DD |
1307 | * emultempl/pe.em (pe_dll_search_prefix): New variable, |
1308 | (longopts): New --dll-search-prefix option. | |
1309 | (gld_${EMULATION_NAME}_list_options): Document. | |
1310 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
1311 | (gld_${EMULATION_NAME}_open_dynamic_archive): When linking | |
1312 | dynamically, search for a dll named '<prefix><basename>.dll' | |
1313 | in preference to 'lib<basename>.dll' if --dll-search-prefix | |
1314 | is specified. | |
1315 | ||
24376d1b AM |
1316 | 2000-10-12 Alan Modra <alan@linuxcare.com.au> |
1317 | ||
1318 | * ldlang.c (section_already_linked): Set kept_section instead of | |
1319 | sec->comdat->sec. | |
1320 | ||
e47d05ad KH |
1321 | 2000-10-10 Kazu Hirata <kazu@hxi.com> |
1322 | ||
1323 | * deffile.h: Fix formatting. | |
1324 | * lexsup.c: Likewise. | |
1325 | * mri.c: Likewise. | |
1326 | ||
23a87948 DD |
1327 | 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
1328 | ||
1329 | * pe-dll.c (make_one): Do not generate code thunk for DATA | |
1330 | exports. | |
1331 | (process_def_file): deduce DATA flag for auto-export sumbols. | |
1332 | ||
86b1cc60 KH |
1333 | 2000-10-09 Kazu Hirata <kazu@hxi.com> |
1334 | ||
89cdebba KH |
1335 | * ld.h: Fix formatting. |
1336 | * ldcref.c: Likewise. | |
1337 | * ldctor.h: Likewise. | |
1338 | * ldemul.c: Likewise. | |
1339 | * ldemul.h: Likewise. | |
1340 | * ldexp.c: Likewise. | |
1341 | * ldexp.h: Likewise. | |
1342 | * ldfile.c: Likewise. | |
1343 | * ldfile.h: Likewise. | |
1344 | * ldlang.c: Likewise. | |
1345 | * ldlang.h: Likewise. | |
1346 | * ldmain.c: Likewise. | |
7bfd51a3 KH |
1347 | * pe-dll.c: Likewise. |
1348 | ||
1349 | * pe-dll.c: Revert some formatting fixes. | |
86b1cc60 | 1350 | |
d643799d KH |
1351 | 2000-10-08 Kazu Hirata <kazu@hxi.com> |
1352 | ||
1353 | * pe-dll.c: Fix formatting. | |
1354 | ||
08da4cac KH |
1355 | 2000-10-05 Kazu Hirata <kazu@hxi.com> |
1356 | ||
1357 | * ldlang.c: Fix formatting. | |
1358 | ||
c2a94a7a DD |
1359 | 2000-10-03 DJ Delorie <dj@redhat.com> |
1360 | ||
1361 | * pe-dll.c (fill_edata): initialize entire block | |
1362 | (make_one): fill in correct section. | |
1363 | ||
8c95a62e KH |
1364 | 2000-10-03 Kazu Hirata <kazu@hxi.com> |
1365 | ||
1366 | * ldexp.c: Fix formatting. | |
1367 | ||
486e80e2 DD |
1368 | 2000-10-02 DJ Delorie <dj@redhat.com> |
1369 | ||
1370 | * emultempl/pe.em (gld_*_after_open): detect case where there two | |
1371 | import libraries for same dll; rename one to ensure proper link | |
1372 | order. | |
1373 | ||
1374 | * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix | |
1375 | typo | |
1376 | (generate_edata): fix typo | |
1377 | ||
24dd9f75 HPN |
1378 | 2000-09-29 Hans-Peter Nilsson <hp@axis.com> |
1379 | ||
1380 | * scripttempl/crisaout.sc (ENTRY): Now __start. | |
1381 | (.text): Add default setting for __start. | |
1382 | Remove CONSTRUCTORS handling. | |
1383 | (/DISCARD/): Add .gnu.warning.*. | |
1384 | * emulparams/crislinux.sh (ENTRY): Now __start. | |
1385 | (TEXT_START_SYMBOLS): New; provide __Stext and __start default. | |
1386 | * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. | |
1387 | (ENTRY): Now __start. | |
1388 | (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. | |
1389 | (EXECUTABLE_SYMBOLS): Add default setting for __start. | |
1390 | ||
4de2d33d KH |
1391 | 2000-09-29 Kazu Hirata <kazu@hxi.com> |
1392 | ||
5cc18311 KH |
1393 | * deffile.h: Fix formatting. |
1394 | * ld.h: Likewise. | |
1395 | * ldcref.c: Likewise. | |
4de2d33d | 1396 | * ldctor.c: Likewise. |
5cc18311 | 1397 | * ldctor.h: Likewise. |
4de2d33d | 1398 | * ldemul.c: Likewise. |
5cc18311 | 1399 | * ldemul.h: Likewise. |
4de2d33d | 1400 | * ldexp.c: Likewise. |
5cc18311 | 1401 | * ldexp.h: Likewise. |
4de2d33d | 1402 | * ldfile.c: Likewise. |
5cc18311 | 1403 | * ldfile.h: Likewise. |
4de2d33d | 1404 | * ldlang.c: Likewise. |
5cc18311 KH |
1405 | * ldlang.h: Likewise. |
1406 | * lexsup.c: Likewise. | |
1407 | * mri.c: Likewise. | |
1408 | * pe-dll.c: Likewise. | |
4de2d33d | 1409 | |
45b1f63c DD |
1410 | 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> |
1411 | ||
1412 | * pe-dll.c (process_def_file): Uninitialized data wasn't | |
1413 | exported with --export-all-symbols switch. | |
d952f17a | 1414 | |
45b1f63c DD |
1415 | 2000-09-28 DJ Delorie <dj@redhat.com> |
1416 | ||
1417 | * pe-dll.c (fill_edata): rearrange the data so that ordinals and | |
1418 | noname work properly. | |
1419 | ||
47d89dba AM |
1420 | 2000-09-28 Alan Modra <alan@linuxcare.com.au> |
1421 | ||
1422 | * ld.texinfo (HPPA ELF32): New section. | |
1423 | ||
1424 | * emultempl/hppaelf.em (group_size): New. | |
1425 | (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. | |
1426 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. | |
1427 | (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate | |
1428 | options to prevent abbreviations matching. | |
1429 | (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. | |
1430 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
1431 | ||
36bdbeec NC |
1432 | 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1433 | ||
1434 | * emultempl/m68kelf.em: Conditionalise the embedded relocs feature | |
1435 | on the m68*-*-elf target. Make it support COFF input objects. | |
1436 | ||
6d5e62f8 KH |
1437 | 2000-09-21 Kazu Hirata <kazu@hxi.com> |
1438 | ||
1439 | * ldmain.c: Fix formatting. | |
1440 | * ldmisc.c: Likewise. | |
1441 | * ldver.c: Likewise. | |
1442 | * ldwrite.c: Likewise. | |
1443 | ||
e2eb67d9 AM |
1444 | 2000-09-21 Alan Modra <alan@linuxcare.com.au> |
1445 | ||
1446 | * ldwrite.c (clone_section): Silence gcc warnings. | |
1447 | ||
b3ea3584 AM |
1448 | 2000-09-20 Alan Modra <alan@linuxcare.com.au> |
1449 | ||
1450 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle | |
1451 | out of memory failure. | |
1452 | ||
1453 | * ldwrite.c (ldwrite): Remove unnecessary einfo arg. | |
1454 | (clone_section): Handle out of memory failures. Rename var to | |
1455 | avoid c++ reserved word. | |
1456 | ||
25f72752 AM |
1457 | 2000-09-18 Alan Modra <alan@linuxcare.com.au> |
1458 | ||
1459 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename | |
1460 | stub_name param to stub_sec_name. | |
1461 | (hppaelf_finish): Modify call to elf32_hppa_size_stubs. | |
1462 | ||
0752970e NC |
1463 | 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1464 | ||
1465 | * emultempl/m68kelf.em: New file. | |
1466 | * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. | |
1467 | * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. | |
1468 | * Makefile.in: Regenerate. | |
1469 | ||
92b7e9d8 AM |
1470 | 2000-09-15 Alan Modra <alan@linuxcare.com.au> |
1471 | ||
1472 | * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ | |
1473 | only as needed. | |
1474 | ||
9b14b192 NC |
1475 | 2000-09-13 Nick Clifton <nickc@redhat.com> |
1476 | ||
1477 | * ldmain.c (multiple_definition): Disable relaxation if | |
1478 | multiple symbol definitions are encountered - otherwise the | |
1479 | linker could abort with an assertion failure. | |
1480 | ||
891fa266 NC |
1481 | 2000-09-10 Nick Clifton <nickc@redhat.com> |
1482 | ||
1483 | * mri.c: Fix formatting. | |
1484 | ||
5d64ca4e L |
1485 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
1486 | ||
1487 | * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. | |
1488 | * configure: Rebuild. | |
1489 | ||
dd94604f L |
1490 | 2000-09-07 H.J. Lu <hjl@gnu.org> |
1491 | ||
1492 | * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. | |
1493 | * Makefile.in: Rebuild. | |
1494 | ||
71bfc0ae AM |
1495 | 2000-09-07 Alan Modra <alan@linuxcare.com.au> |
1496 | ||
1497 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix | |
1498 | broken list handling. Create __start_SECNAME and __stop_SECNAME | |
1499 | when no place-holder. Add some comments. Test both SEC_CODE and | |
1500 | SEC_READONLY for hold_text to prevent .rodata orphan poisoning. | |
ed15ac6a | 1501 | Handle case where no output section statement created. |
71bfc0ae | 1502 | |
4a428502 AO |
1503 | 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> |
1504 | ||
1505 | * configure.tgt (sh-*-linux*): Added. | |
1506 | * Makefile.am: Added eshelf_linux and eshlelf_linux. | |
1507 | * Makefile.in: Rebuilt. | |
1508 | * emulparams/shelf_linux.sh: New file. | |
1509 | * emulparams/shlelf_linux.sh: New file. | |
1510 | ||
f9989030 AM |
1511 | 2000-09-06 Alan Modra <alan@linuxcare.com.au> |
1512 | ||
1513 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
1514 | try shuffling sections when the orphan happens to be the place | |
1515 | holder. Keep count of unique section names generated so we speed | |
1516 | the search for a new name. | |
1517 | ||
58cccadb AO |
1518 | 2000-09-06 Alexandre Oliva <aoliva@redhat.com> |
1519 | ||
1520 | * configure: Rebuilt with new libtool.m4. | |
1521 | ||
5b343f5a NC |
1522 | 2000-09-05 Nick Clifton <nickc@redhat.com> |
1523 | ||
1524 | * Makefile.in: Regenerate. | |
1525 | * aclocal.m4: Regenerate. | |
1526 | * configure: Regenerate. | |
1527 | * config.in: Regenerate. | |
1528 | * po/ld.pot: Regenerate. | |
1529 | ||
1530 | * ldint.texinfo: Remove CVS revision marker - it foils local | |
1531 | comparisons. | |
1532 | ||
1533 | * emultempl/ticoff.em: Remove extraneous comma. | |
50bbae35 | 1534 | |
a854a4a7 AM |
1535 | 2000-09-05 Alan Modra <alan@linuxcare.com.au> |
1536 | ||
3231d22e AM |
1537 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC |
1538 | to stub section flags. | |
1539 | (hppa_for_each_input_file_wrapper): New. | |
1540 | (hppa_lang_for_each_input_file): New. | |
1541 | (lang_for_each_input_file): Define to call above. | |
1542 | (multi_subspace): New. | |
1543 | (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. | |
1544 | (PARSE_AND_LIST_PROLOGUE): Define. | |
1545 | (PARSE_AND_LIST_LONGOPTS): Define. | |
1546 | (PARSE_AND_LIST_OPTIONS): Define. | |
1547 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
1548 | (hppaelf_finish): Call elf32_hppa_set_gp. | |
1549 | (hppaelf_set_output_arch): Remove. | |
1550 | (LDEMUL_SET_OUTPUT_ARCH): Remove. | |
1551 | ||
1552 | * emulparams/hppalinux.sh (ELFSIZE): Define. | |
1553 | (MACHINE): Define. | |
1554 | (OTHER_READONLY_SECTIONS): Define. | |
1555 | (DATA_PLT): Define. | |
1556 | (GENERATE_SHLIB_SCRIPT): Define. | |
1557 | ||
5f992e62 AM |
1558 | * ldlang.c: Add missing prototypes, and tidy others. Change CONST |
1559 | to const throughout. Change `void *' to `PTR' throughout. | |
1560 | (lang_memory_default): Function is local to file, add `static'. | |
1561 | ||
1562 | * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. | |
1563 | (ehppalinux.c): Likewise. | |
1564 | (earmelf.c): Likewise. | |
1565 | (earmelf_linux.c): Likewise. | |
1566 | (earmelf_linux26.c): Likewise. | |
1567 | * Makefile.in: Regenerate. | |
1568 | ||
a854a4a7 AM |
1569 | * ld.h (ld_config_type): Add unique_orphan_sections. |
1570 | * lexsup.c (OPTION_UNIQUE): Define. | |
1571 | (ld_options): Add "--unique". | |
1572 | (parse_args): Handle it. | |
1573 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
1574 | search for an existing output section if unique_orphan_sections is | |
1575 | set. Make use of bfd_get_unique_section_name rather than | |
1576 | duplicating code here. | |
1577 | * ld.texinfo: Describe --unique. | |
1578 | ||
1579 | * lexsup.c (ld_options): Make split-by-reloc arg optional. Add | |
1580 | optional arg to split-by-file. | |
1581 | (parse_args): Handle them. | |
1582 | * ld.texinfo: Update description of these options. | |
1583 | * ldwrite.c (clone_section): Pass in the section name. Replace | |
1584 | local code with bfd_get_unique_section_name. | |
1585 | (split_sections): Tidy code and comments. Use a list traversal | |
1586 | more appropriate to the list construction. Handle cooked section | |
1587 | sizes. Split when split_by_reloc reached rather than exceeded. | |
1588 | Track section size and split when split_by_file reached. Fix | |
1589 | link_order_tail (even though it's not used). | |
1590 | (ldwrite): Modify condition for calling split_sections to suit | |
1591 | changed split_by_reloc and split_by_file. | |
1592 | * ldmain.c (main): Init config.split_by_reloc and | |
1593 | config.split_by_file to -1. | |
1594 | * ld.h (ld_config_type): Change split_by_reloc to unsigned. | |
1595 | Change split_by_file to bfd_size_type. | |
1596 | ||
18e03609 NC |
1597 | 2000-09-02 Nick Clifton <nickc@redhat.com> |
1598 | ||
1599 | * configure.in: Increase version number to 2.10.91. | |
1600 | * NEWS: Mention new ability to support removal of duplicate DWARF2 | |
1601 | debug information. | |
1602 | * configure: Regenerate. | |
1603 | * aclocal.m4: Regenerate. | |
1604 | * config.in: Regenerate. | |
1605 | ||
3a9d486c NC |
1606 | 2000-09-02 Daniel Berlin <dberlin@redhat.com> |
1607 | ||
1608 | * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info | |
1609 | sections. | |
a2b64bed | 1610 | * scripttempl/elf32avr.sc: Ditto. |
3a9d486c NC |
1611 | * scripttempl/elfd10v.sc: Ditto. |
1612 | * scripttempl/elfd30v.sc: Ditto. | |
1613 | * scripttempl/elfi370.sc: Ditto. | |
1614 | * scripttempl/elfm68hc11.sc: Ditto. | |
1615 | * scripttempl/elfm68hc12.sc: Ditto. | |
1616 | * scripttempl/elfi386beos.sc: Ditto. | |
1617 | * scripttempl/v850.sc: Ditto. | |
50bbae35 | 1618 | |
ac48eca1 AO |
1619 | 2000-08-31 Alexandre Oliva <aoliva@redhat.com> |
1620 | ||
1621 | * acinclude.m4: Include libtool and gettext macros from the | |
1622 | top level. | |
1623 | * aclocal.m4, configure: Rebuilt. | |
1624 | ||
c13b1b77 NC |
1625 | 2000-08-25 Nick Clifton <nickc@redhat.com> |
1626 | ||
1627 | * ldlang.c (open_output): When choosing the target for a | |
1628 | particular endianness, do nothing if the target is not | |
1629 | supported. | |
1630 | ||
dcb0bd0e L |
1631 | 2000-08-25 H.J. Lu <hjl@gnu.org> |
1632 | ||
1633 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
1634 | check -rpath nor LD_RUN_PATH for cross link. | |
1635 | * ld.texinfo: Document the change. | |
1636 | ||
5bcac8a4 HPN |
1637 | 2000-08-24 Hans-Peter Nilsson <hp@axis.com> |
1638 | ||
1639 | * NEWS: Mention support for CRIS. | |
1640 | ||
6dd8c765 L |
1641 | 2000-08-23 H.J. Lu <hjl@gnu.org> |
1642 | ||
1643 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get | |
1644 | the current runpath list from bfd_elf_get_runpath_list () | |
1645 | before search. | |
1646 | ||
ec4eb78a L |
1647 | 2000-08-22 H.J. Lu <hjl@gnu.org> |
1648 | ||
1649 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search | |
1650 | the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after | |
1651 | LD_LIBRARY_PATH for native linker. Display the needed DSO if | |
1652 | trace_file_tries is non-zero. | |
1653 | (gld${EMULATION_NAME}_try_needed): Report the needed DSO found | |
1654 | if trace_file_tries is non-zero. | |
1655 | ||
1656 | * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. | |
a8175964 | 1657 | * NEWS: Mention it. |
ec4eb78a | 1658 | |
22b36938 JE |
1659 | 2000-08-14 Jason Eckhardt <jle@cygnus.com> |
1660 | ||
1661 | * NEWS: Mention i860 support. | |
1662 | ||
d73e9da0 AS |
1663 | 2000-08-14 Andreas Schwab <schwab@suse.de> |
1664 | ||
1665 | * scripttempl/elf.sc: Fix last change to use correct comment | |
50bbae35 | 1666 | syntax. |
d73e9da0 | 1667 | |
9ac4db9c GK |
1668 | 2000-08-10 Geoff Keating <geoffk@cygnus.com> |
1669 | ||
1670 | * scripttempl/elf.sc: Add a comment giving the correspondence | |
1671 | between sections, per-datum sections, and linkonce sections. Make | |
1672 | the comment true even for .bss, .sdata, .sdata2, .sbss, and | |
1673 | .sbss2. | |
1674 | ||
165589e4 JE |
1675 | 2000-08-10 Jason Eckhardt <jle@cygnus.com> |
1676 | ||
1677 | * emulparams/elf32_i860.sh: New file. | |
1678 | * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. | |
1679 | * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. | |
1680 | (eelf32_i860.c): New rule. | |
1681 | * Makefile.in: Regenerate. | |
1682 | ||
345a835d NC |
1683 | 2000-08-10 Nick Clifton <nickc@cygnus.com> |
1684 | ||
1685 | * emulparams/mipspe.sh (ENTRY): Add definition. | |
1686 | ||
e374f1d9 NC |
1687 | 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au> |
1688 | ||
1689 | * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath | |
1690 | in error message. | |
1691 | ||
236d5abf NC |
1692 | 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1693 | ||
1694 | * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate | |
1695 | the final size of .bss section. | |
1696 | * scripttempl/elfm68hc12.sc: Likewise. | |
1697 | ||
4b209b22 AM |
1698 | 2000-08-04 Alan Modra <alan@linuxcare.com.au> |
1699 | ||
1700 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to | |
1701 | gld${EMULATION_NAME}_parse_args for consistency. Combine | |
1702 | lastoptind and prevoptind vars, and keep track of last optind. | |
1703 | (gld_${EMULATION_NAME}_list_options): Rename to | |
1704 | gld${EMULATION_NAME}_list_options. | |
1705 | ||
28423a68 AM |
1706 | 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com> |
1707 | ||
1708 | * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 | |
1709 | (i586-sco-sysv5uw7.1.0). | |
1710 | ||
b2009ff7 L |
1711 | 2000-07-27 H.J. Lu <hjl@gnu.org> |
1712 | ||
1713 | * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. | |
1714 | (PARSE_AND_LIST_PROLOGUE): New. | |
1715 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
1716 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
1717 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
1718 | (PARSE_AND_LIST_EPILOGUE): Likewise. | |
1719 | ||
04925e1e AM |
1720 | 2000-07-28 Alan Modra <alan@linuxcare.com.au> |
1721 | ||
41392f03 AM |
1722 | * emultempl/armelf.em: Elide functions common to elf32.em, |
1723 | ie. most of the file. | |
1724 | (arm_elf_after_open): New. Do arm specific things then call | |
1725 | gld${EMULATION_NAME}_after_open. | |
1726 | (arm_elf_before_allocation): New. Call | |
1727 | gld${EMULATION_NAME}_before_allocation then do arm specifics. | |
1728 | (PARSE_AND_LIST_PROLOGUE): Define. | |
1729 | (PARSE_AND_LIST_SHORTOPTS): Define. | |
1730 | (PARSE_AND_LIST_LONGOPTS): Define. | |
1731 | (PARSE_AND_LIST_OPTIONS): Define. | |
1732 | (PARSE_AND_LIST_ARGS_CASES): Define. | |
1733 | (LDEMUL_AFTER_OPEN): Define. | |
1734 | (LDEMUL_BEFORE_ALLOCATION): Define. | |
1735 | (LDEMUL_BEFORE_PARSE): Define. | |
1736 | (LDEMUL_FINISH): Define. | |
1737 | ||
1738 | * emultempl/hppaelf.em: Similarly zap most of this file. | |
1739 | (hppaelf_add_stub_section): Prototype. | |
1740 | (hppaelf_layaout_sections_again): Prototype. | |
1741 | (hook_in_stub): Prototype. | |
1742 | (LDEMUL_SET_OUTPUT_ARCH): Define. | |
1743 | (LDEMUL_FINISH): Define. | |
1744 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. | |
1745 | ||
1746 | * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. | |
1747 | (EXTRA_EM_FILE): New. | |
1748 | * emulparams/armelf_linux.sh: Likewise. | |
1749 | * emulparams/armelf_linux26.sh: Likewise. | |
1750 | * emulparams/hppalinux.sh: Likewise. | |
1751 | * emulparams/hppaelf.sh: Likewise. | |
1752 | (NOP): Define. | |
1753 | ||
1754 | * emultempl/elf32.em: Fix formatting. | |
1755 | (EXTRA_EM_FILE): Source it. | |
1756 | (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, | |
1757 | LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, | |
1758 | LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, | |
1759 | LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, | |
1760 | LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, | |
1761 | LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, | |
1762 | LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, | |
1763 | LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, | |
1764 | LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to | |
1765 | allow functions in this file to be overridden. | |
1766 | (PARSE_AND_LIST_SHORTOPTS): Handle it. | |
1767 | ||
1768 | * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. | |
1769 | ||
04925e1e AM |
1770 | * emultempl/elf32.em: Reorganize file. |
1771 | ||
88cdf297 NC |
1772 | 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru> |
1773 | ||
1774 | * emulparams/elf64alpha.sh: Implement "-taso" emulation | |
1775 | specific option to fit 64-bit executable in the lower | |
1776 | 31-bit address range. This is done by changing start | |
1777 | address of .interp (the very first section of executable) | |
1778 | and then setting EF_ALPHA_32BIT elf header flag. | |
1779 | ||
20bccb34 NC |
1780 | 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
1781 | ||
1782 | * emultempl/m68kcoff.em: New file. | |
1783 | * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. | |
1784 | * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than | |
1785 | generic.em. | |
1786 | * Makefile.in: Regenerate. | |
1787 | ||
699845ef L |
1788 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
1789 | ||
1790 | * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" | |
1791 | and "disable-new-dtags" to stop getopt from treating -d/-e as | |
1792 | abbreviations for these options. | |
1793 | ||
6c1439be L |
1794 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
1795 | ||
1796 | * ld.texinfo: Add documentation for --disable-new-dtags and | |
1797 | --enable-new-dtags. | |
1798 | ||
1799 | * ldmain.c (main): Initialize link_info.new_dtags to false. | |
1800 | ||
1801 | * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add | |
1802 | --disable-new-dtags and --enable-new-dtags. | |
1803 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
1804 | ||
28c309a2 NC |
1805 | 2000-07-05 Kenneth Block <krblock@computer.org> |
1806 | ||
a2b64bed NC |
1807 | * lexsup.c: Add optional style to demangle switch |
1808 | * ld.texinfo: Document optional style to demangle switch. | |
50bbae35 | 1809 | |
9d06555c HPN |
1810 | 2000-07-20 Hans-Peter Nilsson <hp@axis.com> |
1811 | ||
1812 | * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, | |
1813 | ecrislinux.o. | |
1814 | (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. | |
1815 | Regenerate dependencies. | |
1816 | * Makefile.in: Rebuild. | |
1817 | * configure.tgt (cris-*-*): New target. | |
1818 | * emulparams/crisaout.sh, emulparams/criself.sh, | |
1819 | emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. | |
1820 | * po/POTFILES.in, po/ld.pot: Regenerate. | |
1821 | ||
19e3be22 L |
1822 | 2000-07-20 H.J. Lu <hjl@gnu.org> |
1823 | ||
1824 | * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): | |
1825 | Print out ignored -z options. | |
1826 | ||
e0ee487b L |
1827 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
1828 | ||
19e3be22 L |
1829 | * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. |
1830 | (PARSE_AND_LIST_PROLOGUE): New. | |
1831 | (PARSE_AND_LIST_LONGOPTS): Likewise. | |
1832 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
1833 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
1834 | ||
1835 | * ldmain.c (main): Clear link_info.flags and link_info.flags_1. | |
1836 | ||
1837 | * lexsup.c (ld_options): Comment out 'z'. | |
1838 | (parse_args): Likewise. | |
1839 | ||
1840 | * emultempl/elf32.em: Include "elf/common.h". | |
1841 | (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z | |
1842 | options. | |
1843 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
1844 | ||
1845 | * ld.texinfo: Add documentation for the recognized -z options. | |
e0ee487b | 1846 | |
49e56c49 L |
1847 | 2000-07-19 H.J. Lu <hjl@gnu.org> |
1848 | ||
1849 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call | |
1850 | bfd_elf_set_dt_needed_soname (). | |
1851 | ||
9d68bc82 DD |
1852 | 2000-07-18 DJ Delorie <dj@cygnus.com> |
1853 | ||
1854 | * pe-dll.c (pe_dll_id_target): check object target name also | |
1855 | ||
53db15ed HPN |
1856 | 2000-07-18 Hans-Peter Nilsson <hp@axis.com> |
1857 | ||
1858 | * scripttempl/elf.sc (.init): Only do ${INIT_START} and | |
1859 | ${INIT_END} if relocating. | |
1860 | (.fini): Likewise ${FINI_START} and ${FINI_END}. | |
1861 | ||
0ad8cf4c DD |
1862 | 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu> |
1863 | ||
a2b64bed | 1864 | * emultempl/pe.em (gld_*_open_dynamic_archive): New search |
0ad8cf4c DD |
1865 | order for dynamic library '-lfoo' on pei386: libfoo.dll.a, |
1866 | foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility | |
1867 | errors introduced by the old dynamic lib search order. | |
1868 | ||
874c8c99 DD |
1869 | 2000-07-17 DJ Delorie <dj@cygnus.com> |
1870 | ||
1871 | * pe-dll.c (process_def_file): auto-export data items also | |
1872 | (pe_process_import_defs): also see if _imp_ form needed | |
1873 | ||
5b4cf3f4 DD |
1874 | 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> |
1875 | ||
1876 | * pe-dll.c (make_one): fix a typo in the __imp_ name decoration | |
1877 | for dll import libraries | |
1878 | ||
062739d1 NC |
1879 | 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> |
1880 | ||
1881 | * scripttempl/i386go32.sc: Support the g++ attribute init_priority in | |
d952f17a | 1882 | gcc 2.95.2 and later. |
062739d1 | 1883 | |
1c64c4ed NC |
1884 | 2000-07-11 Kazu Hirata <kazu@hxi.com> |
1885 | ||
50bbae35 AM |
1886 | * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error |
1887 | message. | |
1c64c4ed | 1888 | |
b71e2778 AM |
1889 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
1890 | ||
1891 | * ldemul.h (struct lang_input_statement_struct): Remove forward | |
1892 | declaration. | |
1893 | (struct search_dirs): Likewise. | |
1894 | * ldfile.h (struct lang_input_statement_struct): Likewise. | |
1895 | Protect file from multiple inclusion. | |
1896 | * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain | |
1897 | declaration from macro to file scope. | |
1898 | ||
1899 | * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. | |
1900 | * ldgram.y: Likewise here. | |
1901 | * ldlang.c: And here. | |
1902 | * ldmain.c: And here. | |
1903 | * mpw-elfmips.c: And here. | |
1904 | * mpw-eppcmac.c: And here. | |
1905 | * emultempl/aix.em: And here. | |
1906 | * emultempl/armcoff.em: And here. | |
1907 | * emultempl/armelf.em: And here. | |
1908 | * emultempl/armelf_oabi.em: And here. | |
1909 | * emultempl/beos.em: And here. | |
1910 | * emultempl/elf32.em: And here. | |
1911 | * emultempl/hppaelf.em: And here. | |
1912 | * emultempl/linux.em: And here. | |
1913 | * emultempl/lnk960.em: And here. | |
1914 | * emultempl/pe.em: And here. | |
1915 | * emultempl/sunos.em: And here. | |
1916 | * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. | |
1917 | * mpw-idtmips.c: Ditto. | |
1918 | * emultempl/generic.em: Ditto. | |
1919 | * emultempl/gld960.em: Ditto. | |
1920 | * emultempl/gld960c.em: Ditto. | |
1921 | * emultempl/mipsecoff.em: Ditto. | |
1922 | * emultempl/ticoff.em: Ditto. | |
1923 | * emultempl/vanilla.em: Ditto. | |
1924 | ||
1925 | * pe-dll.c: Include ldfile.h | |
1926 | * ldver.c: Include ldexp.h, ldlang.h, ldfile.h | |
1927 | ||
1928 | * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing | |
1929 | arguments to bfd_elf32_size_dynamic_sections call. | |
1930 | (gldelf32ebmip_place_orphan): Add missing arguments to | |
1931 | lang_leave_output_section_statement call. | |
1932 | ||
2ef53d66 L |
1933 | 2000-07-10 H.J. Lu <hjl@gnu.org> |
1934 | ||
1935 | * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with | |
1936 | DLL_SUPPORT. | |
1937 | (strhash): Likewise. | |
1938 | (compute_dll_image_base): Likewise. | |
1939 | (pe_undef_found_sym): Likewise. | |
1940 | (pe_undef_cdecl_match): Likewise. | |
1941 | (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the | |
1942 | argument "arch" with ATTRIBUTE_UNUSED. | |
1943 | ||
9a8cbb09 AM |
1944 | 2000-07-10 Alan Modra <alan@linuxcare.com.au> |
1945 | ||
1946 | * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. | |
1947 | ||
1948 | From Ryan Bradetich <rbradetich@uswest.net> | |
1949 | * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. | |
50bbae35 | 1950 | |
4900fc06 AM |
1951 | 2000-07-09 Alan Modra <alan@linuxcare.com.au> |
1952 | ||
1953 | Changes to create multiple linker stubs, positioned immediately | |
1954 | before the section where they are required. | |
1955 | * emultempl/hppaelf.em: Include elf32-hppa.h. | |
1956 | (stub_sec, file_chain): Delete. | |
1957 | (hppaelf_create_output_section_statements): Don't make a stub | |
1958 | section here. | |
1959 | (hook_stub_info): New struct. | |
1960 | (hook_in_stub): New function. | |
1961 | (hppaelf_add_stub_section): New function. | |
1962 | (hppaelf_finish): Do nothing for relocateable links. Modify the | |
1963 | call to elf32_hppa_size_stubs. Move code for updating section | |
1964 | layout from here... | |
1965 | (hppaelf_layaout_sections_again): ..to here, a new function. | |
1966 | ||
1967 | * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix | |
1968 | broken list handling. Pass in a pointer to the list. | |
1969 | (hppaelf_finish): Update call to hppaelf_delete_padding_statements | |
1970 | for above changes. | |
1971 | (hppaelf_before_parse): Prototype. | |
1972 | (hppaelf_set_output_arch): Prototype. | |
1973 | (hppaelf_create_output_section_statements): Prototype. | |
1974 | (hppaelf_delete_padding_statements): Prototype. | |
1975 | (hppaelf_finish): Prototype. | |
1976 | ||
1977 | Merge from elf32.em | |
1978 | * emultempl/hppaelf.em: Include ctype.h. | |
1979 | (struct orphan_save): New. | |
1980 | (gld${EMULATION_NAME}_place_orphan): New. | |
1981 | (output_rel_find): New. | |
1982 | (hppaelf_get_script): Update from elf32.em. | |
1983 | (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. | |
1984 | Change emulation_name field to "${EMULATION_NAME}". Add | |
50bbae35 | 1985 | gld${EMULATION_NAME}_place_orphan. |
4900fc06 AM |
1986 | |
1987 | * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add | |
1988 | ehppalinux.o, sort it. Regenerate dependencies. | |
1989 | (ehppalinux.c): Depend on hppaelf.em | |
1990 | * Makefile.in: Regenerate. | |
1991 | ||
1992 | * configure.tgt: targ_emul=hppalinux for hppa*linux | |
1993 | ||
1994 | * emulparams/hppalinux.sh: New. | |
1995 | * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. | |
1996 | ||
227aeb07 AM |
1997 | 2000-07-08 Alan Modra <alan@linuxcare.com.au> |
1998 | ||
1999 | * lexsup.c (parse_args): Copy section name. | |
2000 | ||
28609fd4 | 2001 | 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu> |
602e90d3 | 2002 | |
2ef53d66 | 2003 | * emultempl/pe.em: institute the following search order for |
602e90d3 DD |
2004 | dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import |
2005 | libs), libfoo.dll, foo.dll (link direct to dll). Fall back to | |
2006 | static lib (libfoo.a) if none of the above are found. | |
2007 | ||
5f577f7d DD |
2008 | 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu> |
2009 | ||
50bbae35 | 2010 | * emultempl/pe.em (pe_enable_auto_image_base): New variable. |
5f577f7d | 2011 | (longopts): New --{enable,disable}-auto-image-base options. |
50bbae35 | 2012 | (gld_${EMULATION_NAME}_list_options): Document. |
5f577f7d DD |
2013 | (gld_${EMULATION_NAME}_parse): Handle. |
2014 | (strhash): New static function. | |
50bbae35 | 2015 | (compute_dll_image_base): New static function. |
5f577f7d DD |
2016 | (gld_${EMULATION_NAME}_set_symbols): Use. |
2017 | ||
9a8cbb09 | 2018 | 2000-07-05 DJ Delorie <dj@redhat.com> |
302ab118 DD |
2019 | |
2020 | * MAINTAINERS: new | |
2021 | ||
3548145d | 2022 | 2000-07-01 Koundinya K <kk@ddeorg.soft.net> |
50bbae35 AM |
2023 | |
2024 | * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. | |
2025 | * emulparams/elf32btsmip.sh: New file. | |
2026 | * Makefile.am: Add traditional mips target. | |
2027 | * Makefile.in: Rebuild. | |
2028 | ||
67798033 L |
2029 | 2000-07-01 H.J. Lu <hjl@gnu.org> |
2030 | ||
2031 | * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for | |
2032 | automake to use YLWRAP. | |
2033 | * Makefile.in: Rebuild. | |
2034 | ||
0bdaf48b AM |
2035 | 2000-07-01 Alan Modra <alan@linuxcare.com.au> |
2036 | ||
2037 | * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed | |
2038 | (CLEANFILES): Add DEPA. | |
2039 | * Makefile.in: Regenerate. | |
2040 | ||
c9e769c2 TW |
2041 | 2000-06-30 Timothy Wall <twall@ppc> |
2042 | ||
2043 | * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode | |
2044 | the page in the upper octet of the address. | |
2045 | ||
65aa24b6 NC |
2046 | 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> |
2047 | ||
2048 | * emulparams/avrmega161.sh (ARCH): Change to avr:5. | |
2049 | ||
4667035e AM |
2050 | 2000-06-24 Alan Modra <alan@linuxcare.com.au> |
2051 | ||
2052 | * NEWS: arm-elf does --gc-sections too. | |
2053 | ||
1581f8c9 AM |
2054 | 2000-06-22 Alan Modra <alan@linuxcare.com.au> |
2055 | ||
2056 | * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we | |
2057 | find one. | |
2058 | * Makefile.in: Regenerate. | |
2059 | ||
01580992 L |
2060 | 2000-06-21 H.J. Lu <hjl@gnu.org> |
2061 | ||
2062 | * Makefile.am: Rebuild dependency. | |
2063 | * Makefile.in: Rebuild. | |
2064 | ||
bbeb2e03 L |
2065 | 2000-06-20 H.J. Lu <hjl@gnu.org> |
2066 | ||
2067 | * Makefile.am: Rebuild dependency. | |
2068 | * Makefile.in: Rebuild. | |
2069 | ||
74459f0e TW |
2070 | 2000-06-20 Timothy Wall <twall@cygnus.com> |
2071 | ||
2072 | * scripttempl/tic54xcoff.sc: New. | |
2073 | * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. | |
2074 | * gen-doc.texi: Add flag for TI COFF. | |
2075 | * ld.texinfo: Add documentation for TI COFF handling switches. | |
2076 | * emultempl/ticoff.em: New. TI COFF handling. | |
2077 | * configure.tgt: Add tic54x target. | |
2078 | * Makefile.am: Add tic54x target. | |
2079 | * Makefile.in: Ditto. | |
2080 | ||
2ab47eed AM |
2081 | 2000-06-20 Alan Modra <alan@linuxcare.com.au> |
2082 | ||
2083 | * ldmain.c (set_scripts_dir): Correct pointer comparison when | |
2084 | checking for backslashes. | |
2085 | ||
919e4093 AM |
2086 | 2000-06-19 Alan Modra <alan@linuxcare.com.au> |
2087 | ||
2088 | * NEWS: Move entries not in 2.10 above "Changes in version 2.10". | |
2089 | ||
987fd5b4 AM |
2090 | 2000-06-18 Alan Modra <alan@linuxcare.com.au> |
2091 | ||
2092 | * NEWS: Update list of targets supporting --gc-sections. | |
2093 | ||
2094 | * scripttempl/elf.sc: KEEP .eh_frame contents. | |
2095 | * scripttempl/elfd30v.sc: Same here. | |
2096 | ||
60bcf0fa NC |
2097 | 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> |
2098 | ||
2099 | * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 | |
2100 | and m68hc11 (elf). | |
2101 | * Makefile.in: Rebuild. | |
2102 | * configure.tgt: Recognize m68hc12 and m68hc11. | |
2103 | * scripttempl/elfm68hc12.sc: New file. | |
2104 | * emulparams/m68hc12elfb: New emulation. | |
2105 | * emulparams/m68hc12elf: New emulation. | |
2106 | * emulparams/m68hc11elfb.sh: New file. User configurable emulation | |
2107 | (includes a memory.x script to define the ROM and RAM banks). | |
2108 | * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: | |
2109 | New configuration files for support of Motorola 68hc11 | |
2110 | ||
c7c54483 AM |
2111 | 2000-06-15 Alan Modra <alan@linuxcare.com.au> |
2112 | ||
2113 | * ldmain.c (main): Only change SEC_READONLY for final link. | |
2114 | ||
bcef29e6 L |
2115 | 2000-06-13 H.J. Lu <hjl@gnu.org> |
2116 | ||
2117 | * configure: Regenerate. | |
2118 | ||
946efd95 DB |
2119 | 2000-06-08 David O'Brien <obrien@FreeBSD.org> |
2120 | ||
2121 | * configure.in (VERSION): Update to show this is the CVS mainline. | |
2122 | ||
57a6fd07 DB |
2123 | 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
2124 | ||
2125 | * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all | |
2126 | input objects to be ECOFF. | |
2127 | (check_sections): einfo takes %B, not %P, to print a BFD name. | |
2128 | ||
e06cae36 L |
2129 | 2000-06-05 Michael Matz <matz@ifh.de> |
2130 | ||
2131 | * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in | |
d952f17a | 2132 | version scripts. |
e06cae36 | 2133 | |
d952f17a | 2134 | * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. |
e06cae36 | 2135 | |
2f0b56c0 DC |
2136 | 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl> |
2137 | ||
2138 | * emulparams/avr1200.sh (STACK): Define as 0. | |
2139 | * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. | |
2140 | * emulparams/avr4433.sh (STACK): Likewise. | |
2141 | * emulparams/avr44x4.sh (STACK): Likewise. | |
2142 | * emulparams/avr85xx.sh (STACK): Likewise. | |
2143 | * emulparams/avrmega103.sh (STACK): Likewise. | |
2144 | * emulparams/avrmega161.sh (STACK): Likewise. | |
2145 | * emulparams/avrmega603.sh (STACK): Likewise. | |
2146 | * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. | |
2147 | (__stack): Define from ${STACK} for main(). | |
2148 | ||
2114f57b AM |
2149 | 2000-05-26 Alan Modra <alan@linuxcare.com.au> |
2150 | ||
2151 | * Makefile.am: Update dependencies with "make dep-am" | |
2152 | * Makefile.in: Regenerate. | |
2153 | ||
5af11cab AM |
2154 | 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> |
2155 | ||
2156 | * ldmain.c: Include filenames.h. | |
2157 | (set_scripts_dir): Support backslashes in program name. | |
2158 | ||
1f0df59a NC |
2159 | 2000-05-22 Igor Shevlyakov <igor@windriver.com> |
2160 | ||
2161 | * ldmain.c (main): When deciding if ".text" section should be | |
50bbae35 AM |
2162 | read-only, don't forget to reset SEC_READONLY because it |
2163 | could be already set. | |
1f0df59a | 2164 | |
176355da NC |
2165 | 2000-05-22 Thomas de Lellis <tdel@windriver.com> |
2166 | ||
50bbae35 AM |
2167 | * ld.1: Add documentation for new command line option: |
2168 | --section-start <sectionname>=<sectionorg> | |
2169 | This is a generic version of -Ttext etc. which accepts | |
2170 | any section name as a parameter instead of just text/data/ | |
2171 | bss. | |
2172 | * ld.texinfo: More docs. | |
2173 | * NEWS: More docs. | |
2174 | * lexsup.c: (parse_args): Recognize new command line option. | |
176355da | 2175 | (ld_options): Add new option. |
50bbae35 | 2176 | |
8c5ff972 L |
2177 | 2000-05-18 H.J. Lu <hjl@gnu.org> |
2178 | ||
2179 | * lexsup.c (parse_args): `i' == `r', not `q'. | |
2180 | ||
0b76fe77 JL |
2181 | Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com) |
2182 | ||
2183 | * configure.tgt (hppa*64*-*-*): Enable PA64 target. | |
2184 | ||
a712da20 NC |
2185 | 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> |
2186 | Rick Gorton <gorton@scrugs.lkg.dec.com> | |
50bbae35 | 2187 | |
a712da20 NC |
2188 | Add support for '-q' == '--emit-relocs' switch. |
2189 | * ldmain.c (main): Default to false. | |
2190 | * lexsup.c (parse_args): Turn on emitrelocations flag if set. | |
2191 | * NEWS: Describe the emitrelocations switch. | |
2192 | * ld.texinfo: Describe the emitrelocations switch. | |
2193 | ||
690a460e NC |
2194 | 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu> |
2195 | ||
a2b64bed | 2196 | * emultempl/pe.em (_open_dynamic_archive): New function: Search |
690a460e NC |
2197 | the library path for "foo.dll" and "libfoo.dll" dynamic libraries |
2198 | before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' | |
2199 | link options. | |
50bbae35 | 2200 | |
c2f1343c AM |
2201 | 2000-05-15 David O'Brien <obrien@FreeBSD.org> |
2202 | ||
2203 | * lexsup.c (parse_args): Update the year in the copyright notice. | |
2204 | ||
897083bd AM |
2205 | 2000-05-13 Alan Modra <alan@linuxcare.com.au> |
2206 | ||
2207 | * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): | |
2208 | Replace defines with those from intl/libgettext.h to quieten gcc | |
2209 | warnings. | |
2210 | ||
cd4c806a L |
2211 | 2000-05-10 H.J. Lu <hjl@gnu.org> |
2212 | ||
2213 | * ldlang.c (open_input_bfds): Don't load the same file within | |
2214 | a group again if the whole archive has been loaded already. | |
2215 | ||
93697284 AM |
2216 | 2000-05-03 Alan Modra <alan@linuxcare.com.au> |
2217 | ||
2218 | From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> | |
2219 | * lexsup.c (set_section_start): Use bfd_scan_vma rather than | |
2220 | strtoul. | |
2221 | ||
ebd6fc29 JW |
2222 | Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com> |
2223 | ||
99a4150f | 2224 | * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. |
50bbae35 | 2225 | |
ebd6fc29 JW |
2226 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for |
2227 | host "ia64-*-linux-gnu*". | |
2228 | ||
a1934524 AM |
2229 | 2000-04-29 Andreas Jaeger <aj@suse.de> |
2230 | ||
2231 | * ld.h: Correctly check GCC version. | |
2232 | ||
730a39a0 JL |
2233 | Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com) |
2234 | ||
2235 | * Makefile.am: Add PA64 support. Add missing dependencies for | |
2236 | PA32 elf support. | |
2237 | * Makefile.in: Rebuilt. | |
2238 | * configure.tgt: Add PA64 support (currently disabled). | |
2239 | ||
aea4bd9d AM |
2240 | 2000-04-25 Alan Modra <alan@linuxcare.com.au> |
2241 | ||
2242 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. | |
2243 | (output_rel_find): New function. | |
2244 | (hold_section, hold_use): Delete. | |
2245 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
2246 | hold_interp): Make local to place_orphan. | |
2247 | (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find | |
2248 | rather than place_section to find possible previous use of orphan. | |
2249 | Similarly find the place-holder output sections. Use returned | |
2250 | value from lang_enter_output_section_statement rather than calling | |
2251 | lang_output_section_statement_lookup. | |
2252 | * emultempl/armelf.em: Same here. | |
2253 | * emultempl/pe.em: Similar to above, but no need for output_rel_find. | |
2254 | ||
2255 | * ldlang.c (lang_enter_output_section_statement): Return output | |
2256 | section statement. | |
2257 | * ldlang.h (lang_enter_output_section_statement): Change | |
2258 | declaration too. | |
2259 | ||
2260 | * ldlang.h (lang_output_section_statement): Export it. | |
2261 | * ldlang.c (lang_output_section_statement): Ditto. | |
2262 | ||
2b5fc1f5 NC |
2263 | 2000-04-24 Nick Clifton <nickc@cygnus.com> |
2264 | ||
2265 | * ld.texinfo (Output Section Data): Add note that section data | |
2266 | commands cannot appear outside of section directives. | |
2267 | ||
d8475ff6 JL |
2268 | 2000-04-2 Matthew Green <mrg@cygnus.com> |
2269 | ||
2270 | * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. | |
2271 | ||
800eeca4 JW |
2272 | Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com> |
2273 | David Mosberger <davidm@hpl.hp.com> | |
2274 | ||
2275 | * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. | |
2276 | (eelf64_ia64.c): New rule. | |
2277 | * Makefile.in: Rebuild. | |
2278 | * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. | |
2279 | * emulparams/elf64_ia64.sh: New file. | |
50bbae35 | 2280 | |
c9637625 RH |
2281 | 2000-04-21 Richard Henderson <rth@cygnus.com> |
2282 | ||
2283 | * scripttempl/elfd30v.sc: Place .gcc_except_table. | |
2284 | ||
28ea9521 AM |
2285 | 2000-04-19 Alan Modra <alan@linuxcare.com.au> |
2286 | ||
2287 | * dep-in.sed: Match space at start of file name, not at end. | |
2288 | ||
20d04697 L |
2289 | 2000-04-18 H.J. Lu <hjl@gnu.org> |
2290 | ||
2291 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call | |
2292 | lang_leave_output_section_statement () after calling | |
2293 | lang_enter_output_section_statement (). | |
2294 | * emultempl/armelf.em: Likewise. | |
2295 | ||
5ba47421 AM |
2296 | 2000-04-18 Alan Modra <alan@linuxcare.com.au> |
2297 | ||
2298 | * emultempl/elf32.em (struct orphan_save): Add section field. | |
2299 | (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in | |
2300 | better order, and place first orphan section as we did before the | |
2301 | 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. | |
2302 | Don't call make_bfd_section here, let wild_doit do the job for us. | |
2303 | Don't build a statement list when we'll only throw it away. | |
2304 | * emultempl/armelf.em: Ditto. | |
2305 | * emultempl/pe.em: Similarly. | |
2306 | ||
bdbe5705 GK |
2307 | 2000-04-14 Geoff Keating <geoffk@cygnus.com> |
2308 | ||
2309 | * scripttempl/elfppc.sc: Remove. | |
2310 | * emulparams/elf32ppc.sh: Use elf.sc. | |
2311 | * emulparams/elf32lppc.sh: Use elf.sc. | |
2312 | * emulparams/elf32ppclinux.sh: Use elf.sc. | |
2313 | * emulparams/elf32ppcsim.sh: New file. | |
2314 | * emulparams/elf32lppcsim.sh: New file. | |
2315 | * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. | |
2316 | (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. | |
2317 | * Makefile.in: Regenerate. | |
2318 | * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. | |
2319 | ||
01cc8ff8 AM |
2320 | 2000-04-14 Alan Modra <alan@linuxcare.com.au> |
2321 | ||
5ba47421 | 2322 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process |
01cc8ff8 | 2323 | ~SEC_ALLOC sections too. Init start address of debug sections. |
5ba47421 AM |
2324 | * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. |
2325 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. | |
01cc8ff8 AM |
2326 | Also set all relocateable section start addresses. |
2327 | ||
6c86c541 GK |
2328 | 2000-04-13 Geoff Keating <geoffk@cygnus.com> |
2329 | ||
2330 | * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. | |
2331 | Add new BSS_PLT variable for when .plt need not be contained in | |
2332 | the file. Move _etext so that it is also after .fini, and provide | |
2333 | both etext and _etext with a leading underscore. Mark the start | |
2334 | and end of .sbss. | |
2335 | ||
6a345e87 AM |
2336 | 2000-04-12 Alan Modra <alan@linuxcare.com.au> |
2337 | ||
2338 | * emultempl/elf32.em (struct orphan_save): New. | |
2339 | (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, | |
2340 | hold_interp): Make them struct orphan_save. | |
2341 | (gld${EMULATION_NAME}_place_section): Modify for new hold_*. | |
2342 | (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to | |
2343 | the end of the relevant section list. Also add associated section | |
2344 | statements to the end of any previous orphan statements. | |
2345 | * emultempl/armelf.em: Similarly. | |
2346 | * emultempl/pe.em: Similarly. | |
2347 | ||
8be86746 AM |
2348 | 2000-04-11 Alan Modra <alan@linuxcare.com.au> |
2349 | ||
2350 | * ld.texinfo (Simple Example): Remove extraneous paragraph. | |
2351 | ||
a2d91340 | 2352 | Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> |
50bbae35 | 2353 | |
a2d91340 | 2354 | * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add |
50bbae35 | 2355 | --enable-build-warnings option. |
a2d91340 AC |
2356 | * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. |
2357 | * Makefile.in, configure: Re-generate. | |
2358 | ||
41b49281 AM |
2359 | 2000-04-04 Alan Modra <alan@linuxcare.com.au> |
2360 | ||
8ad3436c AM |
2361 | * po/ld.pot: Regenerate. |
2362 | ||
2363 | * lexsup.c (help): Restore translated part of bug string. | |
2364 | ||
41b49281 AM |
2365 | * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. |
2366 | (DEP): Quote when passing vars to sub-make. Add warning message | |
2367 | to end. | |
2368 | (DEP1): Rewrite for "gcc -MM". | |
2369 | (CLEANFILES): Add DEP2. | |
2370 | Update dependencies. | |
2371 | * Makefile.in: Regenerate. | |
2372 | ||
c20f4f8c AM |
2373 | 2000-04-03 Alan Modra <alan@linuxcare.com.au> |
2374 | ||
2375 | * ld.h: #include "bin-bugs.h" | |
2376 | * lexsup.c (help): Use REPORT_BUGS_TO. | |
2377 | ||
adde6300 AM |
2378 | 2000-03-27 Denis Chertykov <denisc@overta.ru> |
2379 | ||
2380 | * configure.tgt (avr-*-*): New target support. | |
2381 | * Makefile.am: Likewise. | |
2382 | * scripttempl/elf32avr.sc: New script file. | |
2383 | * emulparams/avr1200.sh: New file. | |
2384 | * emulparams/avr23xx.sh: New file. | |
2385 | * emulparams/avr4433.sh New file. | |
2386 | * emulparams/avr44x4.sh New file. | |
2387 | * emulparams/avr85xx.sh New file. | |
2388 | * emulparams/avrmega103.sh New file. | |
2389 | * emulparams/avrmega161.sh New file. | |
2390 | * emulparams/avrmega603.sh New file. | |
2391 | * Makefile.in: Regenerate. | |
2392 | ||
9282ff41 L |
2393 | 2000-03-09 Andreas Jaeger <aj@suse.de> |
2394 | ||
2395 | * Makefile.am (check-DEJAGNU): Also unset LANG. | |
2396 | * Makefile.in: Rebuild. | |
2397 | ||
a9998805 ILT |
2398 | 2000-03-06 Ian Lance Taylor <ian@zembu.com> |
2399 | ||
2400 | * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty | |
2401 | archive. | |
2402 | ||
f9bc20e7 NC |
2403 | 2000-03-02 H.J. Lu <hjl@gnu.org> |
2404 | ||
2405 | * emulparams/elf32mcore.sh: Include "getopt.h". | |
2406 | ||
4e277b38 ILT |
2407 | 2000-03-01 Ian Lance Taylor <ian@zembu.com> |
2408 | ||
2409 | * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. | |
2410 | ||
f0c87f88 NC |
2411 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
2412 | ||
2413 | * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. | |
2414 | * emulparams/shpe.sh: Likewise. | |
2415 | ||
2416 | 2000-03-01 Nick Clifton <nickc@cygnus.com> | |
2417 | ||
2418 | * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED | |
2419 | to unused parameters. | |
2420 | ||
2421 | * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static | |
2422 | functions only used by DLL code. | |
2423 | (_place_orphan): Initialise 'dollar'. | |
2424 | ||
b6f29aaa L |
2425 | 2000-03-01 H.J. Lu <hjl@gnu.org> |
2426 | ||
2427 | * ldmain.c (undefined_symbol): Take one more arg, fatal, to | |
2428 | indicate if the undefined symbol is a fatal error or not. | |
2429 | Don't delete the output file if "fatal" is false. | |
2430 | ||
af28fce3 L |
2431 | 2000-02-29 H.J. Lu <hjl@gnu.org> |
2432 | ||
50bbae35 | 2433 | * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". |
af28fce3 L |
2434 | Set LC_COLLATE and LC_ALL to null and export them. It is for |
2435 | sort which expects the C locale. | |
2436 | Add $(LIBS) to all $(HOSTING_LIBS). | |
2437 | * Makefile.in: Rebuild. | |
2438 | ||
40d109bf AM |
2439 | 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au> |
2440 | ||
2441 | * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, | |
2442 | beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, | |
2443 | linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} | |
2444 | (ld_emulation_xfer_struct): Add missing NULL initialiser for | |
2445 | find_potential_libraries. | |
2446 | ||
db5be682 JB |
2447 | 2000-02-28 Jim Blandy <jimb@redhat.com> |
2448 | ||
2449 | * ldgram.y (exclude_name_list): Don't require a comma to separate | |
50bbae35 | 2450 | list entries; the lexer considers commas to be valid part of a |
db5be682 JB |
2451 | filename, so in something like `foo, bar' the comma is considered |
2452 | part of the first filename, `foo,'. | |
2453 | * ld.texinfo: Update section on EXCLUDE_FILE lists. | |
2454 | ||
3558ff4c ILT |
2455 | 2000-02-27 Loren J. Rittle <ljrittle@acm.org> |
2456 | ||
2457 | * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for | |
2458 | host "i[3456]86-*-freebsdelf*". | |
2459 | ||
4eee2681 ILT |
2460 | 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com> |
2461 | ||
2462 | * scripttempl/i386go32.sc: Move misplaced semicolons. | |
2463 | ||
8d75d12d ILT |
2464 | 2000-02-25 Ian Lance Taylor <ian@zembu.com> |
2465 | ||
2466 | * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. | |
2467 | (ALL_64_EMULATIONS): Remove eelf64hppa.o. | |
2468 | (eelf64hppa.c, ehppaelf.c): Remove targets. | |
2469 | * Makefile.in: Rebuild. | |
2470 | ||
a1836d49 AO |
2471 | 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
2472 | ||
ad51fb57 AO |
2473 | * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on |
2474 | GNU/Linux/sparc, but keep the default as 32. | |
2475 | ||
a1836d49 AO |
2476 | * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make |
2477 | it default if sparcv9 or sparc64. | |
2478 | ||
344a211f NC |
2479 | 2000-02-24 Nick Clifton <nickc@cygnus.com> |
2480 | ||
2481 | * Makefile.am: Add rules to build emipspe.o and earmpe.o. | |
2482 | * Makefile.in: Regenerate. | |
2483 | * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. | |
2484 | ||
2485 | * ldemul.h (ld_emulation_xfer_struct): Add new field: | |
2486 | find_potential_libraries. | |
2487 | * ldemul.c (ldemul_find_potential_libraries): New function. | |
2488 | ||
2489 | * ldfile.c (ldfile_open_file_search): Allow function to be | |
50bbae35 | 2490 | exported. |
344a211f NC |
2491 | (ldfile_open_file): Call ldemul_find_potential_libraries. |
2492 | * ldfile.h: Add prototype for ldfile_open_file_search. | |
2493 | ||
2494 | * pe-dll.c: Add support for ARM, MIPS and SH targets. | |
2495 | ||
2496 | * emulparams/mipspe.sh: New file. Parameters for mips-pe target. | |
2497 | * emulparams/shpe.sh: New file. Parameters for sh-pe target. | |
2498 | ||
2499 | * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. | |
2500 | (gld_X_find_potential_libraries): New function. Search for | |
2501 | libraries called "*.lib". | |
2502 | ||
a2b64bed | 2503 | * scripttempl/pe.sc: Add .pdata section. |
344a211f | 2504 | |
eaba1dd3 RH |
2505 | 2000-02-23 Richard Henderson <rth@cygnus.com> |
2506 | ||
2507 | * scripttempl/elfd10v.sc: Remove dynamic linking hooks. | |
2508 | Add and use memory regions. | |
2509 | ||
5b93d8bb AM |
2510 | 2000-02-23 Linas Vepstas (linas@linas.org) |
2511 | ||
2512 | * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. | |
2513 | ||
2514 | * Makefile.am: Add support for Linux/IBM 370. | |
2515 | * configure.tgt: Likewise. | |
2516 | ||
2517 | * Makefile.in: Regenerate. | |
2518 | ||
f6af82bd AM |
2519 | 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> |
2520 | ||
2521 | * ldlang.c (print_input_section, print_data_statement, | |
2522 | print_reloc_statement, print_padding_statement, insert_pad, | |
2523 | size_input_section, lang_check_section_addresses, | |
2524 | lang_size_sections, lang_do_assignments, lang_set_startof, | |
50bbae35 | 2525 | lang_one_common): Change `opb' to unsigned. |
f6af82bd AM |
2526 | (lang_do_assignments): Also change `size' to unsigned. |
2527 | ||
9e673ad1 RH |
2528 | 2000-02-16 Richard Henderson <rth@cygnus.com> |
2529 | ||
2530 | * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. | |
2531 | ||
562d3460 TW |
2532 | 2000-02-16 Timothy Wall <twall@cygnus.com> |
2533 | ||
2534 | * mri.c (mri_draw_tree): Add default LMA region argument to call | |
2535 | to lang_leave_output_section_statement. | |
2536 | * ldlang.h: Update prototypes with LMA region arguments. | |
2537 | * ldlang.c (lang_size_sections): Encapsulate region bounds | |
2538 | checking in os_check_region call. | |
2539 | (os_check_region): New function. | |
2540 | (lang_output_section_statement_lookup): Initialize lma_region. | |
2541 | (lang_leave_output_section_statement): Add LMA region argument. | |
2542 | (lang_leave_overlay): Ditto. | |
2543 | * ldgram.y: Handle LMA region syntax. | |
2544 | * ld.texinfo (Output Section Description): Describe LMA region usage. | |
2545 | * emultempl/armelf.em (gld$place_orphan): Add default value for | |
01cc8ff8 | 2546 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 2547 | * emultempl/elf32.em (gld$place_orphan): Add default value for |
01cc8ff8 | 2548 | lma region in call to lang_leave_output_section_statement. |
562d3460 | 2549 | * emultempl/pe.em (gld$place_orphan): Add default value for |
01cc8ff8 | 2550 | lma region in call to lang_leave_output_section_statement. |
50bbae35 AM |
2551 | |
2552 | ||
9e4ed18c TW |
2553 | 2000-02-04 Timothy Wall <twall@redhat.com> |
2554 | ||
2555 | * ldlang.c (lang_check_section_addresses): Use bytes instead of | |
2556 | octets when calculating section end addresses. | |
2557 | ||
32edc927 TW |
2558 | 2000-02-04 Timothy Wall <twall@redhat.com> |
2559 | ||
2560 | * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. | |
2561 | ||
4cbfc3ac TW |
2562 | 2000-02-03 Timothy Wall <twall@redhat.com> |
2563 | ||
a2b64bed | 2564 | * ldexp.c (fold_name): Make SIZEOF operator return byte count, not |
4cbfc3ac | 2565 | octet count. |
a2b64bed | 2566 | * ldlang.c (print_input_section, print_data_statement, |
4cbfc3ac TW |
2567 | print_reloc_statement, print_padding_statement): Print target |
2568 | address values and section sizes as bytes, not octets. | |
2569 | (insert_pad) Calculate padding size in octets, and adjust "dot" | |
2570 | by bytes. | |
2571 | (size_input_section) Always adjust "dot" by bytes, not octets. | |
2572 | (lang_check_section_addresses, lang_do_assignments) Adjust | |
2573 | "dot" by bytes, not octets. Use the larger of the directive size | |
2574 | or octets_per_byte for the number of octets actually allocated in | |
2575 | the output section. | |
2576 | (lang_set_startof) Make sure STARTOF returns a target address. | |
2577 | (lang_one_common) Record size changes in octets. | |
2578 | (lang_abs_symbol_at_end_of) Section end symbol's value is | |
2579 | recorded in target bytes. | |
2580 | * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. | |
2581 | to be clear about behavior when an octet is smaller than one byte. | |
50bbae35 | 2582 | |
305c7206 AM |
2583 | 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> |
2584 | ||
2585 | * ldcref.c (output_cref): Don't pass message strings to printf | |
2586 | as format arg. | |
2587 | Update copyright. | |
2588 | ||
2589 | * ldmisc.c (vfinfo): Same here. | |
2590 | Update copyright. | |
2591 | ||
e1c47aa4 AM |
2592 | 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> |
2593 | ||
2594 | * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, | |
2595 | generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, | |
2596 | mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): | |
2597 | Add missing NULL initialisers, and comments. | |
2598 | ||
2599 | * testsuite/ld-srec/sr3.cc (__rethrow): New. | |
2600 | ||
13392b77 NC |
2601 | 2000-01-21 Nick Clifton <nickc@cygnus.com> |
2602 | ||
2603 | * ldlang.c (lang_size_sections): Fix typo in comment. | |
2604 | ||
cce4c4c5 NC |
2605 | 2000-01-18 H.J. Lu <hjl@gnu.org> |
2606 | ||
2607 | * ldlang.c (lang_size_sections): Also update the current | |
2608 | address of a region if the SEC_NEVER_LOAD bit is not set. | |
2609 | ||
0decc840 NC |
2610 | 2000-01-10 Philip Blundell <pb@futuretv.com> |
2611 | ||
2612 | * configure.tgt (arm*-*-conix*): New target. | |
2613 | ||
4e53152f NC |
2614 | 2000-01-07 Nick Clifton <nickc@cygnus.com> |
2615 | ||
2616 | * ld.texinfo (Options): Remind users to preceed linker command | |
fa19fce0 NC |
2617 | line switches with -Wl, (or whatever is appropriate) if it is |
2618 | being invoked by a comnpiler driver program. | |
50bbae35 | 2619 | Fix description of the behaviour of the -n command line switch. |
4e53152f | 2620 | |
18625d54 CM |
2621 | Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com> |
2622 | ||
2623 | * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. | |
2624 | (name_list): New. | |
2625 | * ld.texinfo (EXCLUDE_FILE): Update documentation. | |
2626 | * ldgram.y (wildcard_spec): Support a list of excluded_files. | |
2627 | (exclude_name_list): New. | |
2628 | ldlang.c (walk_wild_section): Support list of excluded files. | |
2629 | (print_wild_statement): Likewise. | |
2630 | (lang_add_wild): Likewise. | |
2631 | * ldlang.h (lang_wild_statement_type): Likewise. | |
2632 | * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. | |
6ddeca85 | 2633 | |
5aaace27 NC |
2634 | 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> |
2635 | ||
870df5dc NC |
2636 | * pe-dll.c (pe_dll_warn_dup_exports): New variable. |
2637 | (process_def_file): Use. | |
2638 | (pe_dll_compat_implib): New variable. | |
2639 | (make_one): Use. | |
50bbae35 | 2640 | |
870df5dc NC |
2641 | * pe-dll.h: Add exports of pe_dll_warn_dup_exports and |
2642 | pe_dll_compat_implib. | |
50bbae35 AM |
2643 | |
2644 | * emultempl/pe.em (longopts): Add warn-duplicate-exports and | |
870df5dc NC |
2645 | compat-implib options. |
2646 | (gld_${EMULATION_NAME}_list_options): List new options. | |
2647 | (gld_${EMULATION_NAME}_parse_args): Handle. | |
2648 | ||
50bbae35 | 2649 | * pe-dll.c (pe_dll_generate_implib): Use the correct name for output |
5aaace27 | 2650 | dll. |
50bbae35 AM |
2651 | |
2652 | * deffilep.y (opt_name): Allow "." in name. | |
5aaace27 | 2653 | |
2f6d2f85 | 2654 | For older changes see ChangeLog-9899 |
252b5132 RH |
2655 | \f |
2656 | Local Variables: | |
2657 | mode: change-log | |
2658 | left-margin: 8 | |
2659 | fill-column: 74 | |
2660 | version-control: never | |
2661 | End: |