PERFORCE change 42421 for review

Peter Wemm peter at FreeBSD.org
Fri Nov 14 18:59:45 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=42421

Change 42421 by peter at peter_daintree on 2003/11/14 18:59:33

	Work around 'binutils knows best'

Affected files ...

.. //depot/projects/hammer/contrib/binutils/bfd/elf64-x86-64.c#3 edit

Differences ...

==== //depot/projects/hammer/contrib/binutils/bfd/elf64-x86-64.c#3 (text+ko) ====

@@ -667,7 +667,7 @@
 	     cannot be used in shared libs.  Don't error out for
 	     sections we don't care about, such as debug sections or
 	     non-constant sections.  */
-	  if (info->shared
+	  if (getenv("BINUTILS_BITE_ME_HARDER") == NULL && info->shared
 	      && (sec->flags & SEC_ALLOC) != 0
 	      && (sec->flags & SEC_READONLY) != 0)
 	    {


More information about the p4-projects mailing list