4df7514093f55d5ced5948915aa799ef8e4236cd
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2012-02-18 Alan Modra <amodra@gmail.com>
2
3 PR ld/13343
4 * ld.h (parsing_defsym): Delete.
5 * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
6 (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
7 exp_get_abs_int): Add tree arg for %S in error messages. Don't
8 fudge lineno.
9 (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
10 type.filename from sub-tree.
11 (exp_trinop): Likewise, and use "cond" rather than "lhs".
12 * ldexp.h (node_type): Add filename field to struct.
13 * ldfile.c (ldfile_input_filename): Delete. Remove all refs.
14 * ldfile.h (ldfile_input_filename): Delete.
15 * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
16 %S in error messages.
17 * ldemul.c (syslib_default, hll_default): Likewise.
18 * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
19 lang_get_regions, lang_new_phdr): Likewise.
20 (lang_size_sections_1): Pass addr_tree for %S.
21 * ldlex.h (lex_redirect): Update prototype.
22 (ldlex_filename): Declare.
23 * ldlex.l (<EOF>): Don't set ldfile_input_filename.
24 (lex_redirect): Add fake_filename and count params. Push
25 fake_filename to file_name_stack and init lineno from count.
26 (ldlex_filename): New function.
27 (lex_warn_invalid): Use above.
28 * ldmain.c (main): Update lex_redirect call.
29 * ldmisc.c (vfinfo <%S>): Take file name and line number from
30 etree_type arg, or use current if arg is NULL.
31 * lexsup.c (parsing_defsym): Delete.
32 (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
33
34 2012-02-13 Kai Tietz <ktietz@redhat.com>
35
36 * deffilep.y (find_export_in_list): Set is_indent for
37 first or last element, if identical.
38 (find_import_in_list): Likewise.
39
40 2012-02-11 Kai Tietz <ktietz@redhat.com>
41
42 * deffilep.y (%union): New type id_const.
43 (opt_name2): New rule.
44 (keyword_as_name): New rule.
45 (dot_name): Replaced by opt_name2 rule.
46 (opt_name): Adjust rule.
47 (opt_equal_name): Likewise.
48
49 2012-02-11 Pascal Obry <pascal@obry.net>
50
51 * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
52 table.
53 (process_def_file_and_drectve): Maintain sorting of exports table
54 after stripping leading @ signs.
55
56 2012-02-09 Alan Modra <amodra@gmail.com>
57
58 * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
59
60 2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
61
62 PR ld/13616
63 * emulparams/elf32_x86_64.sh: Remove NOP.
64 * emulparams/elf_i386.sh: Likewise.
65 * emulparams/elf_i386_be.sh: Likewise.
66 * emulparams/elf_i386_ldso.sh: Likewise.
67 * emulparams/elf_i386_vxworks.sh: Likewise.
68 * emulparams/elf_k1om.sh: Likewise.
69 * emulparams/elf_l1om.sh: Likewise.
70 * emulparams/elf_x86_64.sh: Likewise.
71
72 * ldlang.c (zero_fill): Initialized to 0.
73
74 * ldwrite.c (build_link_order): Set data size to linker odrder
75 size when they are the same.
76
77 * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
78
79 2012-01-17 Alan Modra <amodra@gmail.com>
80
81 * ldver.c (ldversion): Update copyright message year.
82
83 2012-01-15 Alan Modra <amodra@gmail.com>
84
85 PR ld/12758
86 * ldlang.c (lang_process): Don't reopen all files, just those
87 newly added by plugin.
88
89 2012-01-11 Alan Modra <amodra@gmail.com>
90
91 * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
92 PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
93 PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
94 --{no-,}plt-align.
95 (plt_thread_safe, plt_stub_align): New vars.
96 (gld${EMULATION_NAME}_after_allocation): Pass them to
97 ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
98 * ld.texinfo: Document new command line options, and an old
99 undocumented option.
100
101 2012-01-09 Roland McGrath <mcgrathr@google.com>
102
103 * configure.in: Use AM_ZLIB.
104 * configure: Regenerated.
105
106 For older changes see ChangeLog-2011
107 \f
108 Local Variables:
109 mode: change-log
110 left-margin: 8
111 fill-column: 74
112 version-control: never
113 End:
This page took 0.031157 seconds and 4 git commands to generate.