f8f89a093f6132a0304d242a8d423a8f4402ffa9
[platform/upstream/binutils.git] / ld / ChangeLog
1 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
2
3         * emulparams/m68kelf.sh: Add newline at end of file.
4
5 2009-02-04  Nick Clifton  <nickc@redhat.com>
6
7         PR 9805
8         * ld.texinfo (--allow-shlib-undefined): Correct description of
9         default settings and tidy up the rest of the entry.
10
11 2009-02-04  Alan Modra  <amodra@bigpond.net.au>
12
13         * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
14         during relocatable link.
15
16 2009-02-03  Nick Clifton  <nickc@redhat.com>
17
18         PR 9797
19         * ld.texinfo (Constants): Document the base-encoding suffixes
20         supported in linker scripts.
21
22 2009-02-03  Alan Modra  <amodra@bigpond.net.au>
23
24         * NEWS: Mention --as-needed change.
25
26 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
27
28         * configure.in: AC_SUBST pdfdir.
29         * Makefile.am: Add install-pdf, install-pdf-am,
30         and install-pdf-recursive targets. Define pdf__strip_dir.
31         * po/Make-in: Add install-pdf target.
32         * configure: Regenerate.
33         * Makefile.in: Regenerate.
34
35 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
36
37         * ld.texinfo (--as-needed): Update.
38
39 2009-01-29  Andrew Jenner  <andrew@codesourcery.com>
40
41         * emultempl/armelf.em: Correct formatting of help text for
42         --no-enum-size-warning option.
43
44 2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
45
46         * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
47         * ld.h (args_type): Make check_section_addresses a char.
48         ldlang.c (lang_process): Don't consider relocatable flag when
49         checking for overlap.
50         * ldmain.c (main): Default check_section_addresses to -1. Check it
51         for relocatable links.
52         * ld.texinfo (--check-sections): Update documentation.
53
54 2009-01-26  Kai Tietz  <kai.tietz@onevision.com>
55
56         * pe-dll.c (tmp_seq2): New static variable.
57         (make_singleton_name_imp): New.
58         (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
59         avoid duplicate import table generation for same symbol.
60         (pe_create_runtime_relocator_reference): Make reference for
61         64-bit 8 bytes.
62
63 2009-01-21  Alan Modra  <amodra@bigpond.net.au>
64
65         * emultempl/spuelf.em (params): Init new field.
66         (OPTION_SPU_NON_IA_TEXT): Define.
67         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
68         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
69
70 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
71
72         * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
73         (ld_options): Add -Ttext-segment.
74         (parse_args): Handle OPTION_TTEXT_SEGMENT.
75
76         * ld.texinfo: Document -Ttext-segment.
77
78         * NEWS: Mention -Ttext-segment.
79
80         * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
81         (SHLIB_TEXT_START_ADDR): Likewise.
82
83 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
84
85         * emultempl/spu_icache.o_c: Regenerate.
86
87 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
88
89         * emultempl/spuelf.em (params): Init new fields.
90         (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
91         (spu_place_special_section): Adjust placement for soft-icache.  Pad
92         soft-icache section to a fixed size.  Clear addr_tree.
93         (spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
94         sections a little more intelligently.
95         (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
96         (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
97         (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
98         (OPTION_SPU_LRLIVE): Define.
99         (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
100         (PARSE_AND_LIST_OPTIONS): Likewise.
101         (PARSE_AND_LIST_ARGS_CASES): Handle them.
102         * emultempl/spu_icache.S: Dummy file.
103         * emultempl/spu_icache.o_c: Regenerate.
104         * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
105         (spu_icache.o_c): Add rule to build.
106         (CLEANFILES): Zap temp files.
107         (EXTRA_DIST): Add spu_icache.o_c.
108         * Makefile.in: Regenerate.
109
110 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
111
112         * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
113         (gld..._add_options): Add new option
114         --use-nul-prefixed-import-tables.
115         (gld..._handle_option): Likewise.
116         * pep.em: Same as for pe.em.
117         * ld.texinfo: Add new option documentation for
118         --use-nul-prefixed-import-tables.
119         * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
120         (make_head): Make prefix leading zero prefix element for
121         idata$4 and idata$5 dependent to new flag.
122         (make_import_fixup_entry): Remove idata4/5 prefix.
123         * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
124         * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
125         * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
126         * NEWS: Add new option.
127
128 2009-01-05  Kai Tietz  <kai.tietz@onevision.com>
129
130         * emultempl/pe.em: Prefix dollar characters to be outputed in
131         generated C file.
132         * emultempl/pep.em: Likewise.
133
134 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
135
136         * NEWS:  Mention new feature --exclude-modules-for-implib.
137         * ld.texinfo:  Document new --exclude-modules-for-implib option.
138         * pe-dll.c (exclude_list_struct):  Change type member from int to
139         new enumeration exclude_type.
140         (pe_dll_add_excludes):  Accept exclude_type instead of int param.
141         (auto_export):  Replace magic constants by exclude_type values and
142         handle new choice EXCLUDEFORIMPLIB.
143         (pe_dll_generate_implib):  Accept a pointer to the link_info and
144         iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
145         fresh BFDs for any found and link into import lib archive chain.
146         * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
147         constants previously used for exclude_list_struct type member.
148         (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
149         * pep-dll.h (exclude_type, pe_dll_add_excludes,
150         pe_dll_generate_implib):  Likewise to all the above.
151         * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
152         getopts long option code for new --exclude-modules-for-implib option.
153         (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
154         (gld_${EMULATION_NAME}_list_options):  List usage for it.
155         (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
156         values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
157         (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
158         calling pe_dll_generate_implib.
159         * emultempl/pep.em (options):  Define new enumerated value for getopts
160         long option code for new --exclude-modules-for-implib option.
161         (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
162         gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
163         Again, likewise to all the above.
164
165 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
166
167         * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
168         (libnamencmp):  New function.
169         (auto_export):  Use it in place of strncmp when filtering libraries.
170
171 For older changes see ChangeLog-2008
172 \f
173 Local Variables:
174 mode: change-log
175 left-margin: 8
176 fill-column: 74
177 version-control: never
178 End: