1 2012-02-19 Kai Tietz <ktietz@redhat.com>
3 * deffilep.y (cmp_import_elem): Sort first by module name.
4 * pe-dll.c (process_def_file_and_drectve): Free strings
5 from removed export-element.
6 (add_bfd_to_link): Optimize loop on import-elements and lower
8 (pe_implied_import_dll): Pass NULL instead of 0 for pointer
11 2012-02-18 Hans-Peter Nilsson <hp@axis.com>
13 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
14 temporary variable node used for NULL argument.
16 2012-02-18 Alan Modra <amodra@gmail.com>
19 * ld.h (parsing_defsym): Delete.
20 * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
21 (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
22 exp_get_abs_int): Add tree arg for %S in error messages. Don't
24 (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
25 type.filename from sub-tree.
26 (exp_trinop): Likewise, and use "cond" rather than "lhs".
27 * ldexp.h (node_type): Add filename field to struct.
28 * ldfile.c (ldfile_input_filename): Delete. Remove all refs.
29 * ldfile.h (ldfile_input_filename): Delete.
30 * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
32 * ldemul.c (syslib_default, hll_default): Likewise.
33 * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
34 lang_get_regions, lang_new_phdr): Likewise.
35 (lang_size_sections_1): Pass addr_tree for %S.
36 * ldlex.h (lex_redirect): Update prototype.
37 (ldlex_filename): Declare.
38 * ldlex.l (<EOF>): Don't set ldfile_input_filename.
39 (lex_redirect): Add fake_filename and count params. Push
40 fake_filename to file_name_stack and init lineno from count.
41 (ldlex_filename): New function.
42 (lex_warn_invalid): Use above.
43 * ldmain.c (main): Update lex_redirect call.
44 * ldmisc.c (vfinfo <%S>): Take file name and line number from
45 etree_type arg, or use current if arg is NULL.
46 * lexsup.c (parsing_defsym): Delete.
47 (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
49 2012-02-13 Kai Tietz <ktietz@redhat.com>
51 * deffilep.y (find_export_in_list): Set is_indent for
52 first or last element, if identical.
53 (find_import_in_list): Likewise.
55 2012-02-11 Kai Tietz <ktietz@redhat.com>
57 * deffilep.y (%union): New type id_const.
58 (opt_name2): New rule.
59 (keyword_as_name): New rule.
60 (dot_name): Replaced by opt_name2 rule.
61 (opt_name): Adjust rule.
62 (opt_equal_name): Likewise.
64 2012-02-11 Pascal Obry <pascal@obry.net>
66 * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
68 (process_def_file_and_drectve): Maintain sorting of exports table
69 after stripping leading @ signs.
71 2012-02-09 Alan Modra <amodra@gmail.com>
73 * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
75 2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
78 * emulparams/elf32_x86_64.sh: Remove NOP.
79 * emulparams/elf_i386.sh: Likewise.
80 * emulparams/elf_i386_be.sh: Likewise.
81 * emulparams/elf_i386_ldso.sh: Likewise.
82 * emulparams/elf_i386_vxworks.sh: Likewise.
83 * emulparams/elf_k1om.sh: Likewise.
84 * emulparams/elf_l1om.sh: Likewise.
85 * emulparams/elf_x86_64.sh: Likewise.
87 * ldlang.c (zero_fill): Initialized to 0.
89 * ldwrite.c (build_link_order): Set data size to linker odrder
90 size when they are the same.
92 * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
94 2012-01-17 Alan Modra <amodra@gmail.com>
96 * ldver.c (ldversion): Update copyright message year.
98 2012-01-15 Alan Modra <amodra@gmail.com>
101 * ldlang.c (lang_process): Don't reopen all files, just those
102 newly added by plugin.
104 2012-01-11 Alan Modra <amodra@gmail.com>
106 * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
107 PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
108 PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
110 (plt_thread_safe, plt_stub_align): New vars.
111 (gld${EMULATION_NAME}_after_allocation): Pass them to
112 ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
113 * ld.texinfo: Document new command line options, and an old
116 2012-01-09 Roland McGrath <mcgrathr@google.com>
118 * configure.in: Use AM_ZLIB.
119 * configure: Regenerated.
121 For older changes see ChangeLog-2011
127 version-control: never