2004-03-23 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2004-03-23 Alan Modra <amodra@bigpond.net.au>
2
3 PR 51.
4 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
5 link_info.wrap_char.
6
7 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
8
9 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
10 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
11
12 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
13
14 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
15
16 2004-03-19 Alan Modra <amodra@bigpond.net.au>
17
18 * config.in: Regenerate.
19 * po/ld.pot: Regenerate.
20
21 2004-03-18 Alan Modra <amodra@bigpond.net.au>
22
23 * ld.texinfo: Add --as-needed doco.
24 * ldmain.c (as_needed): New global var.
25 * ldmain.h (as_needed): Declare.
26 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
27 OPTION_NO_AS_NEEDED.
28 (ld_options): Likewise.
29 (parse_args): Handle them.
30 * ldlang.h (lang_input_statement_type): Add as_needed field.
31 * ldlang.c (new_afile): Set p->as_needed.
32 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
33 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
34 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
35
36 * ldlang.c (open_input_bfds): Remove useless cast.
37 (lang_do_assignments_1): Likewise.
38 (lang_for_each_input_section): Delete.
39
40 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
41
42 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
43
44 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
45
46 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
47 private when building implib.
48
49 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
50
51 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
52 SEC_THREAD_LOCAL.
53 (IGNORE_SECTION): Ignore .tbss sections too.
54 (lang_size_sections_1): .tbss sections do not advance dot.
55
56 2004-03-01 Andreas Schwab <schwab@suse.de>
57
58 * ld.texinfo (Options): Fix example for --wrap.
59
60 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
61
62 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
63 not NULL.
64
65 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
66
67 * ldlang.c (lang_check): Use %P, not %E, in error message.
68
69 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
70
71 * ldlang.h (struct lang_output_section_state): Change processed
72 field's type.
73 * ldexp.c (check, invalid): Remove.
74 (fold_name): Move valid_p assignments. Create undefined symbol
75 when needed. Directly exampine section's processd flag.
76 * ldlang.c (lang_output_section_statement_lookup): Adjust
77 processed field init.
78 (lang_size_sections_1): Allow LOADADDR when determining section's
79 VMA. Adjust error message. Fold data statement's expr.
80 (lang_size_sections): Correctly increment lang_statement_iteration.
81
82 2004-02-23 Alan Modra <amodra@bigpond.net.au>
83
84 * ldexp.c (fold_tree): Follow indirect symbols.
85
86 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
87
88 * ldgram.y (exp): Add two operand ALIGN.
89 * ldexp.c (fold_binary): Add ALIGN_K case.
90 * ld.texinfo (ALIGN): Document two operand version.
91
92 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
93
94 * ldlang.c (map_input_to_output_sections): Initialize sections
95 mentioned in a data statement expression.
96 (lang_do_assignments_1): Add data statement's expression's
97 section's vma.
98
99 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
100
101 * ldgram.y (statement_anywhere): Add assert rule.
102 * ldlang.c (exp_init_os): Add assert case.
103
104 2004-02-14 Andrew Cagney <cagney@redhat.com>
105
106 * ldmain.c (remove_output): Call bfd_cache_close.
107
108 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
109
110 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
111 .MIPS.content* and .MIPS.events* sections.
112
113 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
114
115 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
116 .note.gnu.arm.ident to after allocated sections. Mark its
117 address as 0.
118
119 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
120
121 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
122 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
123 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
124 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
125 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
126
127 2004-02-05 Nick Clifton <nickc@redhat.com>
128
129 * emultempl/pe.em (_after_open): Fix typo in previous delta.
130
131 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
132
133 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
134
135 2004-01-28 Alan Modra <amodra@bigpond.net.au>
136
137 * genscripts.sh: Fix typo.
138
139 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
140
141 2004-01-24 Jakub Jelinek <jakub@redhat.com>
142
143 * emulparams/elf64_ia64.sh: Put .rela.opd into
144 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
145
146 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
147
148 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
149 * ld.texinfo (--omagic): Note that writable text section
150 does not conform to published PE-COFF specs.
151 (--enable-auto-import): Likewise.
152
153 2004-01-15 Alan Modra <amodra@bigpond.net.au>
154
155 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
156
157 2004-01-13 Nick Clifton <nickc@redhat.com>
158
159 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
160 which if true will prevent the LMA region being used as a
161 replacement for a default VMA region.
162 (lang_leave_output_section_statement): Pass extra parameter.
163 (lang_leave_overlay): Likewise.
164 * ld.texinfo (Output Section LMA): Document that the LMA
165 region can be set to the VMA region if no VMA has been set.
166 * ldlang.h (struct lang_output_section_phdr_list): Create a
167 typedef for this type. Minor formatting fixes.
168
169 2004-01-13 Nick Clifton <nickc@redhat.com>
170
171 * ldlang.c (lang_size_sections_1): If dot is advanced, then
172 assume that the section should be allocated.
173
174 2004-01-13 Alan Modra <amodra@bigpond.net.au>
175
176 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
177 sections. Do ignore SEC_NEVER_LOAD sections.
178 (lang_size_sections_1): Remove test made redundant with the above.
179
180 2004-01-09 Alan Modra <amodra@bigpond.net.au>
181
182 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
183 program_header_size.
184
185 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
186
187 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
188 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
189 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
190 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
191 (MAXPAGESIZE): Set to 64Kb.
192 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
193 __ROFIXUP_END__. Don't map .rofixup.got any more.
194 * emulparams/elf32frv.sh (NOP): Set.
195 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
196 * configure.tgt: Add frv-*-*linux*.
197 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
198 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
199 (eelf32frvfd.c): New.
200 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
201 * emulparams/elf32frv.sh: Reverted previous two patches.
202 * emulparams/elf32frvfd.sh: New.
203 * Makefile.in: Rebuilt.
204 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
205 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
206 .rofixup.got to .rofixup.
207 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
208 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
209 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
210
211 2004-01-05 Jakub Jelinek <jakub@redhat.com>
212
213 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
214 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
215
216 2004-01-03 Alan Modra <amodra@bigpond.net.au>
217
218 * ldexp.c (align_n): Make static.
219 * ldexp.h (align_n): Delete declaration.
220 * ldlang.h (lang_enter_output_section_statement): Remove
221 block_value param.
222 * ldlang.c (lang_enter_output_section_statement): Likewise.
223 (TO_ADDR, TO_SIZE): Define.
224 (opb_shift): New var.
225 (init_opb): New function.
226 (print_input_section): Call init_opb and use TO_ADDR.
227 (print_data_statement, print_reloc_statement): Likewise.
228 (print_padding_statement): Likewise.
229 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
230 (lang_check_section_addresses): Likewise.
231 (lang_size_sections_1): Likewise.
232 (lang_do_assignments_1): Likewise.
233 (lang_set_startof): Likewise.
234 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
235 (lang_process): Call init_opb.
236 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
237 (lang_enter_overlay_section): Adjust
238 lang_enter_output_section_statement call.
239 * ldgram.y: Likewise.
240 * mri.c (mri_draw_tree): Likewise.
241 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
242 * emultempl/mmo.em (mmo_place_orphan): Likewise.
243 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
244
245 * ldfile.c (ldfile_set_output_arch): Add defarch param.
246 * ldfile.h (ldfile_set_output_arch): Ditto.
247 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
248 ldfile_set_output_arch.
249 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
250 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
251 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
252 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
253 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
254 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
255 * ldgram.y: Adjust ldfile_set_output_arch call.
256 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
257 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
258 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
259 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
260 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
261 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
262 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
263
264 2004-01-02 Bernardo Innocenti <bernie@develer.com>
265
266 * configure.tgt: Add m68k-uClinux target.
267
268 For older changes see ChangeLog-0203
269 \f
270 Local Variables:
271 mode: change-log
272 left-margin: 8
273 fill-column: 74
274 version-control: never
275 End:
This page took 0.047976 seconds and 4 git commands to generate.