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