*** empty log message ***
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
fb6cedde
WL
12012-02-25 Walter Lee <walt@tilera.com>
2
3 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c.
4 (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c.
5 (eelf32tilegx_be.c): Add rule to build this file.
6 (eelf64tilegx_be.c): Ditto.
7 * Makefile.in: Regenerate.
8 * configure.tgt (tilegx-*-*): Support big endian.
9 (tilegxbe-*-*): New.
10 * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename.
11 (BIG_OUTPUT_FORMAT): Define.
12 (LITTLE_OUTPUT_FORMAT): Define.
13 * emulparams/elf32tilegx_be.sh: New.
14 * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename.
15 (BIG_OUTPUT_FORMAT): Define.
16 (LITTLE_OUTPUT_FORMAT): Define.
17 * emulparams/elf64tilegx_be.sh: New.
18
5b3d386e
KT
192012-02-24 Kai Tietz <ktietz@redhat.com>
20
21 PR binutils/13710
22 * deffilep.y (keyword_as_name): Disable LIBRARY
23 keyword.
24
2aa9aad9
NC
252012-02-22 Alan Modra <amodra@gmail.com>
26
27 PR ld/13683
28 * ldlang.c (lang_process): Rerun lang_do_assignments before
29 starting garbage collection.
30 * ldexp.c (fold_name): Generate a reloc for defined symbols
31 found without an associated output section during the mark phase.
289b70fe
NC
32 (exp_fold_tree_1): Continue processing an expression, even if we
33 are unable to fold it, if we are in the first two evaluation
34 phases.
2aa9aad9
NC
35 * ldexp.h (enum lang_phase_type): Add descriptions of the phases.
36
6e230cc2
KT
372012-02-19 Kai Tietz <ktietz@redhat.com>
38
39 * deffilep.y (cmp_import_elem): Sort first by module name.
40 * pe-dll.c (process_def_file_and_drectve): Free strings
41 from removed export-element.
42 (add_bfd_to_link): Optimize loop on import-elements and lower
43 allocated memory.
44 (pe_implied_import_dll): Pass NULL instead of 0 for pointer
45 argument.
46
39085894
HPN
472012-02-18 Hans-Peter Nilsson <hp@axis.com>
48
49 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
50 temporary variable node used for NULL argument.
51
dab69f68
AM
522012-02-18 Alan Modra <amodra@gmail.com>
53
54 PR ld/13343
55 * ld.h (parsing_defsym): Delete.
56 * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
57 (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
58 exp_get_abs_int): Add tree arg for %S in error messages. Don't
59 fudge lineno.
60 (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
61 type.filename from sub-tree.
62 (exp_trinop): Likewise, and use "cond" rather than "lhs".
63 * ldexp.h (node_type): Add filename field to struct.
64 * ldfile.c (ldfile_input_filename): Delete. Remove all refs.
65 * ldfile.h (ldfile_input_filename): Delete.
66 * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
67 %S in error messages.
68 * ldemul.c (syslib_default, hll_default): Likewise.
69 * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
70 lang_get_regions, lang_new_phdr): Likewise.
71 (lang_size_sections_1): Pass addr_tree for %S.
72 * ldlex.h (lex_redirect): Update prototype.
73 (ldlex_filename): Declare.
74 * ldlex.l (<EOF>): Don't set ldfile_input_filename.
75 (lex_redirect): Add fake_filename and count params. Push
76 fake_filename to file_name_stack and init lineno from count.
77 (ldlex_filename): New function.
78 (lex_warn_invalid): Use above.
79 * ldmain.c (main): Update lex_redirect call.
80 * ldmisc.c (vfinfo <%S>): Take file name and line number from
81 etree_type arg, or use current if arg is NULL.
82 * lexsup.c (parsing_defsym): Delete.
83 (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
84
d0ac6938
KT
852012-02-13 Kai Tietz <ktietz@redhat.com>
86
87 * deffilep.y (find_export_in_list): Set is_indent for
88 first or last element, if identical.
89 (find_import_in_list): Likewise.
90
aa83d1ec
KT
912012-02-11 Kai Tietz <ktietz@redhat.com>
92
93 * deffilep.y (%union): New type id_const.
94 (opt_name2): New rule.
95 (keyword_as_name): New rule.
96 (dot_name): Replaced by opt_name2 rule.
97 (opt_name): Adjust rule.
98 (opt_equal_name): Likewise.
99
98872a7c
NC
1002012-02-11 Pascal Obry <pascal@obry.net>
101
102 * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
103 table.
104 (process_def_file_and_drectve): Maintain sorting of exports table
105 after stripping leading @ signs.
106
09f6ed34
AM
1072012-02-09 Alan Modra <amodra@gmail.com>
108
109 * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
110
b7761f11
L
1112012-01-31 H.J. Lu <hongjiu.lu@intel.com>
112
113 PR ld/13616
114 * emulparams/elf32_x86_64.sh: Remove NOP.
115 * emulparams/elf_i386.sh: Likewise.
116 * emulparams/elf_i386_be.sh: Likewise.
117 * emulparams/elf_i386_ldso.sh: Likewise.
118 * emulparams/elf_i386_vxworks.sh: Likewise.
119 * emulparams/elf_k1om.sh: Likewise.
120 * emulparams/elf_l1om.sh: Likewise.
121 * emulparams/elf_x86_64.sh: Likewise.
122
123 * ldlang.c (zero_fill): Initialized to 0.
124
125 * ldwrite.c (build_link_order): Set data size to linker odrder
126 size when they are the same.
127
128 * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
129
576477a6
AM
1302012-01-17 Alan Modra <amodra@gmail.com>
131
132 * ldver.c (ldversion): Update copyright message year.
133
cdaa438c
AM
1342012-01-15 Alan Modra <amodra@gmail.com>
135
136 PR ld/12758
137 * ldlang.c (lang_process): Don't reopen all files, just those
138 newly added by plugin.
139
794e51c0
AM
1402012-01-11 Alan Modra <amodra@gmail.com>
141
142 * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
143 PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
144 PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
145 --{no-,}plt-align.
146 (plt_thread_safe, plt_stub_align): New vars.
147 (gld${EMULATION_NAME}_after_allocation): Pass them to
148 ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
149 * ld.texinfo: Document new command line options, and an old
150 undocumented option.
151
52546677
RM
1522012-01-09 Roland McGrath <mcgrathr@google.com>
153
154 * configure.in: Use AM_ZLIB.
155 * configure: Regenerated.
c0a512e2 156
23e1d329 157For older changes see ChangeLog-2011
252b5132
RH
158\f
159Local Variables:
160mode: change-log
161left-margin: 8
162fill-column: 74
163version-control: never
164End:
This page took 0.717013 seconds and 4 git commands to generate.