Take into account MEMORY regions when creating a segment map.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2007-02-21 Nick Clifton <nickc@redhat.com>
2
3 * ldlang.c (ldlang_override_segment_assignment): New function.
4 * ldlang.h (ldlang_override_segment_assignment): Prototype.
5 * ldmain.c (link_callbacks): Add
6 ldlang_override_segment_assignment.
7
8 2007-02-20 Alan Modra <amodra@bigpond.net.au>
9
10 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
11
12 2007-02-17 Mark Mitchell <mark@codesourcery.com>
13 Nathan Sidwell <nathan@codesourcery.com>
14 Vladimir Prus <vladimir@codesourcery.com
15 Joseph Myers <joseph@codesourcery.com>
16
17 * configure.in (--with-bugurl): New option.
18 * configure: Regenerate.
19 * Makefile.am (REPORT_BUGS_TO): Define.
20 (INCLUDES): Define REPORT_BUGS_TO.
21 Regenerate dependencies.
22 * Makefile.in: Regenerate.
23 * ld.h: Remove include of bin-bugs.h.
24 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
25
26 2007-02-17 Alan Modra <amodra@bigpond.net.au>
27
28 * ldcref.c (check_reloc_refs): Compare section for local syms.
29
30 2007-02-13 Alan Modra <amodra@bigpond.net.au>
31
32 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
33 (__ovly_load_event): Define.
34 (size): Rename to osize.
35 * emultempl/spu_ovl.o: Regenerate.
36
37 2007-02-13 Alan Modra <amodra@bigpond.net.au>
38
39 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
40 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
41 SEC_RELOC flag set.
42
43 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
44
45 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
46 want64 is true.
47 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
48 true
49 * configure: Regenerated.
50
51 * configure.tgt (targ_extra_libpath): Initialize.
52 (targ64_extra_emuls): New. Document. Initialize.
53 (targ64_extra_libpath): Likewise.
54 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
55 targ64_extra_libpath.
56 (powerpc*-*-linux*): Likewise.
57 (s390-*-linux*): Likewise.
58
59 2007-02-07 Paul Brook <paul@codesourcery.com>
60
61 * configure.tgt: Add arm*-*-uclinux-*eabi.
62
63 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
64
65 * ldlang.c (lang_size_sections_1): Add a missing `)'.
66
67 2007-02-06 Alan Modra <amodra@bigpond.net.au>
68
69 PR ld/3966
70 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
71 move unless section size is non-zero.
72
73 2007-02-05 Dave Brolley <brolley@redhat.com>
74
75 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
76 * configure.tgt: Likewise.
77 * scripttempl/mep.sc: New file.
78 * emulparams/elf32mep.sh: New file.
79 * Makefile.in: Regenerate.
80
81 2006-01-29 Julian Brown <julian@codesourcery.com>
82
83 * NEWS: Mention --vfp11-denorm-fix option.
84 * ld.texinfo: Document above.
85 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
86 .vfp11_veneer section.
87 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
88 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
89 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
90 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
91 (arm_elf_after_allocation): New function. Call
92 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
93 (arm_elf_create_output_section_statements): Pass vfp11 fix command
94 line option to BFD.
95 (OPTION_VFP11_DENORM_FIX): New option.
96 (PARSE_AND_LIST_LONGOPTS): Handle new option.
97 (PARSE_AND_LIST_OPTIONS): Likewise.
98 (PARSE_AND_LIST_ARGS_CASES): Likewise.
99 (LDEMUL_AFTER_ALLOCATION): Define.
100
101 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
102
103 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
104 (DEFSYMEND): Likewise.
105 (NAME): Likewise.
106 (LNAME): Likewise.
107
108 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
109
110 * pe-dll.c: (make_one) Conditionally include jump stubs.
111 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
112 redundant jump stubs from import libraries and exclude them from
113 link.
114
115 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
116
117 * ld.h (args_type): Add new symbolic and dynamic_list fields.
118
119 * ld.texinfo: Update -Bsymbolic-functions.
120
121 * ldmain.c (main): Initialize command_line.symbolic to
122 symbolic_unset and command_line.dynamic_list to
123 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
124 --dynamic-list* before setting link_info.symbolic,
125 link_info.dynamic and link_info.dynamic_data.
126
127 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
128 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
129 -Bsymbolic-functions.
130 (parse_args): Handle -Bsymbolic-functions. Don't set
131 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
132 here. Set command_line.symbolic for -Bsymbolic. Set
133 command_line.dynamic_list and command_line.symbolic for
134 --dynamic-list-data, --dynamic-list-cpp-new,
135 --dynamic-list-cpp-typeinfo and --dynamic-list.
136
137 2007-01-19 Jakub Jelinek <jakub@redhat.com>
138 H.J. Lu <hongjiu.lu@intel.com>
139
140 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
141 or -z common-page-size argument is a power of 2. Call
142 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
143
144 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
145
146 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
147 bfd_emul_set_commonpagesize.
148
149 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
150
151 * NEWS: Mention --default-script/-dT.
152
153 * ld.h (args_type): Add a default_script field.
154
155 * ld.texinfo: Document --default-script/-dT.
156
157 * ldmain.c (main): Handle command_line.default_script.
158
159 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
160 (ld_options): Add entries for --default-script and -dT.
161 (parse_args): Handle --default-script/-dT.
162
163 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
164
165 PR ld/3831
166 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
167 --dynamic-list-cpp-new.
168
169 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
170 and --dynamic-list-cpp-new.
171
172 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
173 (lang_process): Change link_info.dynamic to
174 link_info.dynamic_list.
175 (lang_append_dynamic_list): Likewise.
176 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
177 link_info.dynamic_data to FALSE.
178
179 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
180
181 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
182 OPTION_DYNAMIC_LIST_CPP_NEW.
183 (ld_options): Add entries for -Bsymbolic-functions,
184 --dynamic-list-data and --dynamic-list-cpp-new. Make
185 -Bsymbolic-functions an alias of --dynamic-list-data.
186 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
187 Set link_info.dynamic to TRUE for --dynamic-list and
188 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
189 --dynamic-list-cpp-new.
190
191 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
192
193 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
194 shrinkage for the first few iterations.
195
196 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
197
198 * configure.tgt: Renamed target x86_64-*-mingw64 to
199 x86_64-*-mingw*.
200
201 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
202
203 * configure.host: Add i[3-7]86-*-mingw* case.
204
205 2007-01-08 Nick Clifton <nickc@redhat.com>
206
207 * pep-dll.h (pep_bfd_is_dll): Add prototype.
208
209 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
210
211 PR ld/3843
212 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
213 tdir_elf_i386_fbsd.
214
215 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
216
217 * ldexp.c (fold_name): Issue error on undefined sections.
218
219 2007-01-02 Alan Modra <amodra@bigpond.net.au>
220
221 * pe-dll.c: Include pe-dll.h.
222 * pep-dll.c (pe_bfd_is_dll): Define.
223
224 For older changes see ChangeLog-2006
225 \f
226 Local Variables:
227 mode: change-log
228 left-margin: 8
229 fill-column: 74
230 version-control: never
231 End:
This page took 0.035525 seconds and 5 git commands to generate.