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