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