This is the mail archive of the
mailing list for the binutils project.
[PATCH] Enable -z combreloc by default
On Tue, Apr 23, 2002 at 09:00:37AM -0700, H . J . Lu wrote:
> On Tue, Apr 23, 2002 at 09:12:06AM +0200, Jakub Jelinek wrote:
> > For that I need to know that it works on all targets using elf32.em.
> > I know it works for ia32/ia64/sparc*/ppc/s390*, but that's about it.
> > The target I'm worried about is mips which has its own .rel.dyn handling
> > which likely conflicts with -z combreloc.
> It is possible. But glibc seems to handle it fine without any problems. BTW,
> glibc enables -z combreloc if it is available anyway :-).
Ok to commit it then?
2002-04-23 Jakub Jelinek <email@example.com>
* ldmain.c (main): Enable -z combreloc by default.
--- ld/ldmain.c.jj Wed Apr 3 12:24:43 2002
+++ ld/ldmain.c Tue Apr 23 18:49:11 2002
@@ -259,7 +259,7 @@ main (argc, argv)
link_info.flags = (bfd_vma) 0;
link_info.flags_1 = (bfd_vma) 0;
link_info.pei386_auto_import = false;
- link_info.combreloc = false;
+ link_info.combreloc = true;
link_info.spare_dynamic_tags = 5;