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