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