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