ldlang.c (print_assignment): Do not rely upon a valid result having a section
[binutils-gdb.git] / ld / ChangeLog
index 1e9042b8a52575786f30feb6f9029233bd0feaa0..27654cb84d8aa0958c357acdff42af8ec270dbbd 100644 (file)
@@ -1,5 +1,83 @@
+2005-05-17  Julian Brown <julian@codesourcery.com>
+
+       * ldlang.c (print_assignment): Do not rely upon a valid result
+       having a section associated with it.
+
+2005-05-17  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
+       see if the same value is being used on the rhs as on the lhs.
+       (print_assignment): Call scan_for_self_assignment and if it
+       returns true, do no display the result of the computation but
+       instead just the final value of the symbol on the lhs.
+       * ld.texinfo: Document this behaviour and provide an example of
+       when it will happen.
+
+2005-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am (AM_MAKEINFOFLAGS): Define.
+       (TEXI2DVI): Define.
+       (ldver.texi): Depend on distributed files instead of built files.
+       (ld.info): Include $(srcdir) in the rule target.  Remove actions.
+       (ld.dvi): Remove actions.
+       (MAINTAINERCLEANFILES): Add configdoc.texi.
+       (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
+       (install-data-local): Renamed from install.
+       (Makefile): Remove explicit dependency.
+       * acinclude.m4: Remove obsolete code.
+       * configure.in: Update AC_PREREQ.  Remove extra $CONFIG_SHELL.
+       * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
+
+2005-05-11  Bob Wilson  <bob.wilson@acm.org>
+
+       * scripttempl/elfxtensa.sc: Sync up with elf.sc.
+       * emulparams/elf32xtensa.sh (PLT, GOT): Define.
+
+2005-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldgram.y: Add SPECIAL token.
+       (sect_constraint): Handle SPECIAL.
+       * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
+       (map_input_to_output_sections): Likewise.
+       * ldlex.l (SPECIAL): Define.
+       * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
+       GOT, PLT, GOTPLT): Define.
+       * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
+       (ppc_after_open): New function.
+       (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
+       (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
+       (PARSE_AND_LIST_OPTIONS): Document them.
+       (PARSE_AND_LIST_ARGS_CASES): Handle them.
+       (LDEMUL_AFTER_OPEN): Define.
+       * scripttempl/elf.sc (PLT): Don't override existing define.
+       (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
+       placement rather than using NO_SMALL_DATA.  Emit GOTPLT for RELRO_NOW.
+
+2005-05-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
+       (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
+       (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END.  Place after
+       DATA_SEGMENT_RELRO_END in script.
+
+2005-05-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
+       Don't use a removed section.
+
+2005-05-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldmain.c (reloc_overflow): Use output_bfd if the symbol
+       is defined in the ABS section.
+
+2005-05-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
+       Put back !link_info.relocatable.
+
 2005-05-06  H.J. Lu  <hongjiu.lu@intel.com>
 
+       PR 878
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
        Just check link_info.executable.
 
 2005-04-07  Nick Clifton  <nickc@redhat.com>
 
        * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
-       ldfile.h can use the lang_input_statement type. 
+       ldfile.h can use the lang_input_statement type.
 
 2005-04-06  Jakub Jelinek  <jakub@redhat.com>