1 2012-02-25 Walter Lee <walt@tilera.com>
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.
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.
19 2012-02-24 Kai Tietz <ktietz@redhat.com>
22 * deffilep.y (keyword_as_name): Disable LIBRARY
25 2012-02-22 Alan Modra <amodra@gmail.com>
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.
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
35 * ldexp.h (enum lang_phase_type): Add descriptions of the phases.
37 2012-02-19 Kai Tietz <ktietz@redhat.com>
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
44 (pe_implied_import_dll): Pass NULL instead of 0 for pointer
47 2012-02-18 Hans-Peter Nilsson <hp@axis.com>
49 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
50 temporary variable node used for NULL argument.
52 2012-02-18 Alan Modra <amodra@gmail.com>
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
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
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.
85 2012-02-13 Kai Tietz <ktietz@redhat.com>
87 * deffilep.y (find_export_in_list): Set is_indent for
88 first or last element, if identical.
89 (find_import_in_list): Likewise.
91 2012-02-11 Kai Tietz <ktietz@redhat.com>
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.
100 2012-02-11 Pascal Obry <pascal@obry.net>
102 * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
104 (process_def_file_and_drectve): Maintain sorting of exports table
105 after stripping leading @ signs.
107 2012-02-09 Alan Modra <amodra@gmail.com>
109 * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
111 2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
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.
123 * ldlang.c (zero_fill): Initialized to 0.
125 * ldwrite.c (build_link_order): Set data size to linker odrder
126 size when they are the same.
128 * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
130 2012-01-17 Alan Modra <amodra@gmail.com>
132 * ldver.c (ldversion): Update copyright message year.
134 2012-01-15 Alan Modra <amodra@gmail.com>
137 * ldlang.c (lang_process): Don't reopen all files, just those
138 newly added by plugin.
140 2012-01-11 Alan Modra <amodra@gmail.com>
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
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
152 2012-01-09 Roland McGrath <mcgrathr@google.com>
154 * configure.in: Use AM_ZLIB.
155 * configure: Regenerated.
157 For older changes see ChangeLog-2011
163 version-control: never