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