This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Patches for the branch
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 1 May 2003 10:55:51 -0400
- Subject: Patches for the branch
I'm tentatively planning to move patches to the branch for the ELF
visibility issues and the ia64 relaxing bug, unless anyone disagrees; the
visibility changes are a little intrusive but I trust that they're an
improvement.
./ld/ChangeLog
+2003-04-28 H.J. Lu <hjl@gnu.org>
+
+ * ldlang.c (lang_process): Add the relax finalize pass.
+
+ * ldmain.c (main): Initialize link_info.relax_finalizing to
+ FALSE.
+
./ld/testsuite/ChangeLog
+2003-04-28 H.J. Lu <hjl@gnu.org>
+
+ * ld-elfvers/vers.exp (picflag): Set PIC flag for compiler.
+ (build_vers_lib): Support PIC.
+ (build_vers_lib_no_pic): New. Change all calls to build_vers_lib
+ to build_vers_lib_no_pic.
+ (build_vers_lib_pic): New.
+ Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned
+ definition vs. normal definition in different files.
+
+ * ld-elfvers/vers26a.c: New file.
+ * ld-elfvers/vers26a.dsym: Likewise.
+ * ld-elfvers/vers26a.map: Likewise.
+ * ld-elfvers/vers26a.ver: Likewise.
+ * ld-elfvers/vers26b.c: Likewise.
+
+ * ld-elfvers/vers26b.dsym: New empty file.
+ * ld-elfvers/vers26b.ver: Likewise.
+
+2003-04-27 H.J. Lu <hjl@gnu.org>
+
+ * ld-elfvsb/elfvsb.dat: Updated.
+ * ld-elfvsb/elfvsb.exp: Likewise.
+ * ld-elfvsb/main.c: Likewise.
+ * ld-elfvsb/sh1.c: Likewise.
+ * ld-elfvsb/sh2.c: Likewise.
+
./bfd/ChangeLog
+2003-04-28 H.J. Lu <hjl@gnu.org>
+
+ * elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during
+ the relax finalize pass.
+
+ * section.c (struct sec): Add need_finalize_relax and remove
+ flag11.
+ (STD_SECTION): Update struct sec initializer.
+ * bfd-in2.h: Regenerated.
+
+2003-04-28 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_merge_symbol): Call elf_backend_copy_indirect_symbol
+ to copy any information related to dynamic linking when we flip
+ the indirection.
+
+2003-04-27 H.J. Lu <hjl@gnu.org>
+
+ * elf-bfd.h (ELF_LINK_DYNAMIC_DEF): New.
+ (ELF_LINK_DYNAMIC_WEAK): New.
+
+ * elflink.h (elf_merge_symbol): Add one argument to indicate if
+ a symbol should be skipped. Ignore definitions in dynamic
+ objects for symbols with non-default visibility.
+ (elf_add_default_symbol): Adjusted.
+ (elf_link_add_object_symbols): Check if a symbol should be
+ skipped. Don't merge the visibility field with the one from
+ a dynamic object.
+ (elf_link_check_versioned_symbol): Use undef_bfd.
+ (elf_link_output_extsym): Warn if a forced local symbol is
+ referenced from dynamic objects. Make non-weak undefined symbol
+ with non-default visibility a fatal error.
./include/ChangeLog
+2003-04-28 H.J. Lu <hjl@gnu.org>
+
+ * bfdlink.h (bfd_link_info): Add relax_finalizing.
+
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer