a73efc556596bca90b92c99391d3c42f3cfbb589
[external/binutils.git] / ld / ChangeLog
1 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
4         (ld_options): Add -Ttext-segment.
5         (parse_args): Handle OPTION_TTEXT_SEGMENT.
6
7         * ld.texinfo: Document -Ttext-segment.
8
9         * NEWS: Mention -Ttext-segment.
10
11         * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
12         (SHLIB_TEXT_START_ADDR): Likewise.
13
14 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
15
16         * emultempl/spu_icache.o_c: Regenerate.
17
18 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
19
20         * emultempl/spuelf.em (params): Init new fields.
21         (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
22         (spu_place_special_section): Adjust placement for soft-icache.  Pad
23         soft-icache section to a fixed size.  Clear addr_tree.
24         (spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
25         sections a little more intelligently.
26         (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
27         (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
28         (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
29         (OPTION_SPU_LRLIVE): Define.
30         (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
31         (PARSE_AND_LIST_OPTIONS): Likewise.
32         (PARSE_AND_LIST_ARGS_CASES): Handle them.
33         * emultempl/spu_icache.S: Dummy file.
34         * emultempl/spu_icache.o_c: Regenerate.
35         * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
36         (spu_icache.o_c): Add rule to build.
37         (CLEANFILES): Zap temp files.
38         (EXTRA_DIST): Add spu_icache.o_c.
39         * Makefile.in: Regenerate.
40
41 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
42
43         * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
44         (gld..._add_options): Add new option
45         --use-nul-prefixed-import-tables.
46         (gld..._handle_option): Likewise.
47         * pep.em: Same as for pe.em.
48         * ld.texinfo: Add new option documentation for
49         --use-nul-prefixed-import-tables.
50         * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
51         (make_head): Make prefix leading zero prefix element for
52         idata$4 and idata$5 dependent to new flag.
53         (make_import_fixup_entry): Remove idata4/5 prefix.
54         * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
55         * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
56         * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
57         * NEWS: Add new option.
58
59 2009-01-05  Kai Tietz  <kai.tietz@onevision.com>
60
61         * emultempl/pe.em: Prefix dollar characters to be outputed in
62         generated C file.
63         * emultempl/pep.em: Likewise.
64
65 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
66
67         * NEWS:  Mention new feature --exclude-modules-for-implib.
68         * ld.texinfo:  Document new --exclude-modules-for-implib option.
69         * pe-dll.c (exclude_list_struct):  Change type member from int to
70         new enumeration exclude_type.
71         (pe_dll_add_excludes):  Accept exclude_type instead of int param.
72         (auto_export):  Replace magic constants by exclude_type values and
73         handle new choice EXCLUDEFORIMPLIB.
74         (pe_dll_generate_implib):  Accept a pointer to the link_info and
75         iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
76         fresh BFDs for any found and link into import lib archive chain.
77         * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
78         constants previously used for exclude_list_struct type member.
79         (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
80         * pep-dll.h (exclude_type, pe_dll_add_excludes,
81         pe_dll_generate_implib):  Likewise to all the above.
82         * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
83         getopts long option code for new --exclude-modules-for-implib option.
84         (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
85         (gld_${EMULATION_NAME}_list_options):  List usage for it.
86         (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
87         values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
88         (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
89         calling pe_dll_generate_implib.
90         * emultempl/pep.em (options):  Define new enumerated value for getopts
91         long option code for new --exclude-modules-for-implib option.
92         (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
93         gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
94         Again, likewise to all the above.
95
96 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
97
98         * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
99         (libnamencmp):  New function.
100         (auto_export):  Use it in place of strncmp when filtering libraries.
101
102 For older changes see ChangeLog-2008
103 \f
104 Local Variables:
105 mode: change-log
106 left-margin: 8
107 fill-column: 74
108 version-control: never
109 End: