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