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