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