-
-2011-01-13 Alan Modra <amodra@gmail.com>
-
- PR ld/12356
- * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
- (Expression Section): Update.
- * ld.h (ld_config_type): Add sane_expr.
- * ldgram.y (ifile_p1): Add LD_FEATURE.
- * ldlex.l (LD_FEATYRE): New.
- * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
- * ldexp.h (struct ldexp_control): Delete uses_defined.
- * ldexp.c: Remove all uses of uses_defined.
- (fold_name): Test config.sane_expr rather than ld_compatibility.
- (exp_fold_tree_1): Likewise. Adjust handling of assignments
- during first phase.
- * ldlang.h (ld_compatibility): Delete.
- (lang_ld_feature): Declare.
- * ldlang.c (ld_compatibility): Delete.
- (open_input_bfds): Only handle assignments for --defsym.
- (lang_ld_feature): New function.
-
- PR ld/12356
- * ldexp.h (exp_assop): Delete.
- (exp_assign, exp_defsym): Declare.
- * ldexp.c (exp_assop): Make static, handle all assignment variations.
- (exp_assign, exp_defsym): New functions.
- (exp_provide): Use exp_assop.
- * ldgram.y (defsym_expr): Use exp_defsym.
- * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
- * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
- * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
-
-2011-01-12 Alan Modra <amodra@gmail.com>
-
- PR ld/12380
- * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
- * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
- for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
- to detect when we've finished sizing sections.
- (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
- (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
- that we are not inside an output section statement.
- * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
- not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
- lang_final_phase_enum here.
- (lang_process): Set lang_final_phase_enum here.
-
-2011-01-10 Nick Clifton <nickc@redhat.com>
-
- * po/da.po: Updated Danish translation.
-
-2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
-
- * ldlang.c (startup_file): Removed.
- (lang_startup): Updated.
-
-2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
-
- PR ld/12364
- * plugin.c (get_symbols): Check if owner_sec->owner is NULL
- before accessing its flags field.
-
-2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
-
- * ldver.c (ldversion): Update copyright to 2011.
-
-For older changes see ChangeLog-2010
+ * configure.tgt (tilegx-*-*): Support big endian.
+ (tilegxbe-*-*): New.
+ * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename.
+ (BIG_OUTPUT_FORMAT): Define.
+ (LITTLE_OUTPUT_FORMAT): Define.
+ * emulparams/elf32tilegx_be.sh: New.
+ * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename.
+ (BIG_OUTPUT_FORMAT): Define.
+ (LITTLE_OUTPUT_FORMAT): Define.
+ * emulparams/elf64tilegx_be.sh: New.
+
+2012-02-24 Kai Tietz <ktietz@redhat.com>
+
+ PR binutils/13710
+ * deffilep.y (keyword_as_name): Disable LIBRARY
+ keyword.
+
+2012-02-22 Alan Modra <amodra@gmail.com>
+
+ PR ld/13683
+ * ldlang.c (lang_process): Rerun lang_do_assignments before
+ starting garbage collection.
+ * ldexp.c (fold_name): Generate a reloc for defined symbols
+ found without an associated output section during the mark phase.
+ (exp_fold_tree_1): Continue processing an expression, even if we
+ are unable to fold it, if we are in the first two evaluation
+ phases.
+ * ldexp.h (enum lang_phase_type): Add descriptions of the phases.
+
+2012-02-19 Kai Tietz <ktietz@redhat.com>
+
+ * deffilep.y (cmp_import_elem): Sort first by module name.
+ * pe-dll.c (process_def_file_and_drectve): Free strings
+ from removed export-element.
+ (add_bfd_to_link): Optimize loop on import-elements and lower
+ allocated memory.
+ (pe_implied_import_dll): Pass NULL instead of 0 for pointer
+ argument.
+
+2012-02-18 Hans-Peter Nilsson <hp@axis.com>
+
+ * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
+ temporary variable node used for NULL argument.
+
+2012-02-18 Alan Modra <amodra@gmail.com>
+
+ PR ld/13343
+ * ld.h (parsing_defsym): Delete.
+ * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
+ (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
+ exp_get_abs_int): Add tree arg for %S in error messages. Don't
+ fudge lineno.
+ (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
+ type.filename from sub-tree.
+ (exp_trinop): Likewise, and use "cond" rather than "lhs".
+ * ldexp.h (node_type): Add filename field to struct.
+ * ldfile.c (ldfile_input_filename): Delete. Remove all refs.
+ * ldfile.h (ldfile_input_filename): Delete.
+ * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
+ %S in error messages.
+ * ldemul.c (syslib_default, hll_default): Likewise.
+ * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
+ lang_get_regions, lang_new_phdr): Likewise.
+ (lang_size_sections_1): Pass addr_tree for %S.
+ * ldlex.h (lex_redirect): Update prototype.
+ (ldlex_filename): Declare.
+ * ldlex.l (<EOF>): Don't set ldfile_input_filename.
+ (lex_redirect): Add fake_filename and count params. Push
+ fake_filename to file_name_stack and init lineno from count.
+ (ldlex_filename): New function.
+ (lex_warn_invalid): Use above.
+ * ldmain.c (main): Update lex_redirect call.
+ * ldmisc.c (vfinfo <%S>): Take file name and line number from
+ etree_type arg, or use current if arg is NULL.
+ * lexsup.c (parsing_defsym): Delete.
+ (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
+
+2012-02-13 Kai Tietz <ktietz@redhat.com>
+
+ * deffilep.y (find_export_in_list): Set is_indent for
+ first or last element, if identical.
+ (find_import_in_list): Likewise.
+
+2012-02-11 Kai Tietz <ktietz@redhat.com>
+
+ * deffilep.y (%union): New type id_const.
+ (opt_name2): New rule.
+ (keyword_as_name): New rule.
+ (dot_name): Replaced by opt_name2 rule.
+ (opt_name): Adjust rule.
+ (opt_equal_name): Likewise.
+
+2012-02-11 Pascal Obry <pascal@obry.net>
+
+ * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
+ table.
+ (process_def_file_and_drectve): Maintain sorting of exports table
+ after stripping leading @ signs.
+
+2012-02-09 Alan Modra <amodra@gmail.com>
+
+ * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
+
+2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/13616
+ * emulparams/elf32_x86_64.sh: Remove NOP.
+ * emulparams/elf_i386.sh: Likewise.
+ * emulparams/elf_i386_be.sh: Likewise.
+ * emulparams/elf_i386_ldso.sh: Likewise.
+ * emulparams/elf_i386_vxworks.sh: Likewise.
+ * emulparams/elf_k1om.sh: Likewise.
+ * emulparams/elf_l1om.sh: Likewise.
+ * emulparams/elf_x86_64.sh: Likewise.
+
+ * ldlang.c (zero_fill): Initialized to 0.
+
+ * ldwrite.c (build_link_order): Set data size to linker odrder
+ size when they are the same.
+
+ * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
+
+2012-01-17 Alan Modra <amodra@gmail.com>
+
+ * ldver.c (ldversion): Update copyright message year.
+
+2012-01-15 Alan Modra <amodra@gmail.com>
+
+ PR ld/12758
+ * ldlang.c (lang_process): Don't reopen all files, just those
+ newly added by plugin.
+
+2012-01-11 Alan Modra <amodra@gmail.com>
+
+ * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
+ PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
+ PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
+ --{no-,}plt-align.
+ (plt_thread_safe, plt_stub_align): New vars.
+ (gld${EMULATION_NAME}_after_allocation): Pass them to
+ ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
+ * ld.texinfo: Document new command line options, and an old
+ undocumented option.
+
+2012-01-09 Roland McGrath <mcgrathr@google.com>
+
+ * configure.in: Use AM_ZLIB.
+ * configure: Regenerated.
+
+For older changes see ChangeLog-2011