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