391292ee5d368885155193e770e154b968b89e6e
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
2
3 * ldlang.h (struct lang_output_section_state): Change processed
4 field's type.
5 * ldexp.c (check, invalid): Remove.
6 (fold_name): Move valid_p assignments. Create undefined symbol
7 when needed. Directly exampine section's processd flag.
8 * ldlang.c (lang_output_section_statement_lookup): Adjust
9 processed field init.
10 (lang_size_sections_1): Allow LOADADDR when determining section's
11 VMA. Adjust error message. Fold data statement's expr.
12 (lang_size_sections): Correctly increment lang_statement_iteration.
13
14 2004-02-23 Alan Modra <amodra@bigpond.net.au>
15
16 * ldexp.c (fold_tree): Follow indirect symbols.
17
18 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
19
20 * ldgram.y (exp): Add two operand ALIGN.
21 * ldexp.c (fold_binary): Add ALIGN_K case.
22 * ld.texinfo (ALIGN): Document two operand version.
23
24 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
25
26 * ldlang.c (map_input_to_output_sections): Initialize sections
27 mentioned in a data statement expression.
28 (lang_do_assignments_1): Add data statement's expression's
29 section's vma.
30
31 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
32
33 * ldgram.y (statement_anywhere): Add assert rule.
34 * ldlang.c (exp_init_os): Add assert case.
35
36 2004-02-14 Andrew Cagney <cagney@redhat.com>
37
38 * ldmain.c (remove_output): Call bfd_cache_close.
39
40 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
41
42 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
43 .MIPS.content* and .MIPS.events* sections.
44
45 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
46
47 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
48 .note.gnu.arm.ident to after allocated sections. Mark its
49 address as 0.
50
51 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
52
53 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
54 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
55 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
56 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
57 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
58
59 2004-02-05 Nick Clifton <nickc@redhat.com>
60
61 * emultempl/pe.em (_after_open): Fix typo in previous delta.
62
63 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
64
65 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
66
67 2004-01-28 Alan Modra <amodra@bigpond.net.au>
68
69 * genscripts.sh: Fix typo.
70
71 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
72
73 2004-01-24 Jakub Jelinek <jakub@redhat.com>
74
75 * emulparams/elf64_ia64.sh: Put .rela.opd into
76 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
77
78 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
79
80 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
81 * ld.texinfo (--omagic): Note that writable text section
82 does not conform to published PE-COFF specs.
83 (--enable-auto-import): Likewise.
84
85 2004-01-15 Alan Modra <amodra@bigpond.net.au>
86
87 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
88
89 2004-01-13 Nick Clifton <nickc@redhat.com>
90
91 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
92 which if true will prevent the LMA region being used as a
93 replacement for a default VMA region.
94 (lang_leave_output_section_statement): Pass extra parameter.
95 (lang_leave_overlay): Likewise.
96 * ld.texinfo (Output Section LMA): Document that the LMA
97 region can be set to the VMA region if no VMA has been set.
98 * ldlang.h (struct lang_output_section_phdr_list): Create a
99 typedef for this type. Minor formatting fixes.
100
101 2004-01-13 Nick Clifton <nickc@redhat.com>
102
103 * ldlang.c (lang_size_sections_1): If dot is advanced, then
104 assume that the section should be allocated.
105
106 2004-01-13 Alan Modra <amodra@bigpond.net.au>
107
108 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
109 sections. Do ignore SEC_NEVER_LOAD sections.
110 (lang_size_sections_1): Remove test made redundant with the above.
111
112 2004-01-09 Alan Modra <amodra@bigpond.net.au>
113
114 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
115 program_header_size.
116
117 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
118
119 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
120 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
121 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
122 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
123 (MAXPAGESIZE): Set to 64Kb.
124 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
125 __ROFIXUP_END__. Don't map .rofixup.got any more.
126 * emulparams/elf32frv.sh (NOP): Set.
127 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
128 * configure.tgt: Add frv-*-*linux*.
129 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
130 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
131 (eelf32frvfd.c): New.
132 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
133 * emulparams/elf32frv.sh: Reverted previous two patches.
134 * emulparams/elf32frvfd.sh: New.
135 * Makefile.in: Rebuilt.
136 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
137 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
138 .rofixup.got to .rofixup.
139 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
140 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
141 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
142
143 2004-01-05 Jakub Jelinek <jakub@redhat.com>
144
145 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
146 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
147
148 2004-01-03 Alan Modra <amodra@bigpond.net.au>
149
150 * ldexp.c (align_n): Make static.
151 * ldexp.h (align_n): Delete declaration.
152 * ldlang.h (lang_enter_output_section_statement): Remove
153 block_value param.
154 * ldlang.c (lang_enter_output_section_statement): Likewise.
155 (TO_ADDR, TO_SIZE): Define.
156 (opb_shift): New var.
157 (init_opb): New function.
158 (print_input_section): Call init_opb and use TO_ADDR.
159 (print_data_statement, print_reloc_statement): Likewise.
160 (print_padding_statement): Likewise.
161 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
162 (lang_check_section_addresses): Likewise.
163 (lang_size_sections_1): Likewise.
164 (lang_do_assignments_1): Likewise.
165 (lang_set_startof): Likewise.
166 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
167 (lang_process): Call init_opb.
168 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
169 (lang_enter_overlay_section): Adjust
170 lang_enter_output_section_statement call.
171 * ldgram.y: Likewise.
172 * mri.c (mri_draw_tree): Likewise.
173 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
174 * emultempl/mmo.em (mmo_place_orphan): Likewise.
175 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
176
177 * ldfile.c (ldfile_set_output_arch): Add defarch param.
178 * ldfile.h (ldfile_set_output_arch): Ditto.
179 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
180 ldfile_set_output_arch.
181 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
182 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
183 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
184 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
185 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
186 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
187 * ldgram.y: Adjust ldfile_set_output_arch call.
188 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
189 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
190 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
191 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
192 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
193 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
194 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
195
196 2004-01-02 Bernardo Innocenti <bernie@develer.com>
197
198 * configure.tgt: Add m68k-uClinux target.
199
200 For older changes see ChangeLog-0203
201 \f
202 Local Variables:
203 mode: change-log
204 left-margin: 8
205 fill-column: 74
206 version-control: never
207 End:
This page took 0.054022 seconds and 4 git commands to generate.