2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
[platform/upstream/binutils.git] / ld / ChangeLog
1 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
4         (DEFSYMEND): Likewise.
5         (NAME): Likewise.
6         (LNAME): Likewise.
7
8 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
9
10         * pe-dll.c: (make_one) Conditionally include jump stubs.
11         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
12         redundant jump stubs from import libraries and exclude them from 
13         link.
14
15 2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>
16
17         * ld.h (args_type): Add new symbolic and dynamic_list fields.
18
19         * ld.texinfo: Update -Bsymbolic-functions.
20
21         * ldmain.c (main): Initialize command_line.symbolic to
22         symbolic_unset and command_line.dynamic_list to
23         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
24         --dynamic-list* before setting link_info.symbolic,
25         link_info.dynamic and link_info.dynamic_data. 
26
27         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
28         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
29         -Bsymbolic-functions.
30         (parse_args): Handle -Bsymbolic-functions.  Don't set
31         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
32         here.  Set command_line.symbolic for -Bsymbolic.  Set
33         command_line.dynamic_list and command_line.symbolic for
34         --dynamic-list-data, --dynamic-list-cpp-new,
35         --dynamic-list-cpp-typeinfo and --dynamic-list.
36
37 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
38             H.J. Lu  <hongjiu.lu@intel.com>
39
40         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
41         or -z common-page-size argument is a power of 2.  Call
42         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
43
44 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
45
46         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
47         bfd_emul_set_commonpagesize.
48
49 2007-01-19 H.J. Lu  <hongjiu.lu@intel.com>
50
51         * NEWS: Mention --default-script/-dT.
52
53         * ld.h (args_type): Add a default_script field.
54
55         * ld.texinfo: Document --default-script/-dT.
56
57         * ldmain.c (main): Handle command_line.default_script.
58
59         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
60         (ld_options): Add entries for --default-script and -dT.
61         (parse_args): Handle --default-script/-dT.
62
63 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
64
65         PR ld/3831
66         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
67         --dynamic-list-cpp-new.
68
69         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
70         and --dynamic-list-cpp-new.
71
72         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
73         (lang_process): Change link_info.dynamic to
74         link_info.dynamic_list.
75         (lang_append_dynamic_list): Likewise.
76         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
77         link_info.dynamic_data to FALSE.
78
79         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
80
81         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
82         OPTION_DYNAMIC_LIST_CPP_NEW.
83         (ld_options): Add entries for -Bsymbolic-functions,
84         --dynamic-list-data and --dynamic-list-cpp-new.  Make
85         -Bsymbolic-functions an alias of --dynamic-list-data.
86         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
87         Set link_info.dynamic to TRUE for --dynamic-list and
88         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
89         --dynamic-list-cpp-new.
90
91 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
92
93         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
94         shrinkage for the first few iterations.
95
96 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
97
98         * configure.tgt: Renamed target x86_64-*-mingw64 to
99         x86_64-*-mingw*.
100
101 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
102
103         * configure.host: Add i[3-7]86-*-mingw* case.
104
105 2007-01-08  Nick Clifton  <nickc@redhat.com>
106
107         * pep-dll.h (pep_bfd_is_dll): Add prototype.
108
109 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
110
111         PR ld/3843
112         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
113         tdir_elf_i386_fbsd.
114
115 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
116
117         * ldexp.c (fold_name): Issue error on undefined sections.
118
119 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
120
121         * pe-dll.c: Include pe-dll.h.
122         * pep-dll.c (pe_bfd_is_dll): Define.
123
124 For older changes see ChangeLog-2006
125 \f
126 Local Variables:
127 mode: change-log
128 left-margin: 8
129 fill-column: 74
130 version-control: never
131 End: