Author: jhb
Date: Tue Nov 14 17:16:03 2017
New Revision: 325816
URL: https://svnweb.freebsd.org/changeset/base/325816

Log:
  Appease old GCC by disabling .cfi_sections for GCC 4.x.

Modified:
  head/libexec/rtld-elf/mips/rtld_start.S

Modified: head/libexec/rtld-elf/mips/rtld_start.S
==============================================================================
--- head/libexec/rtld-elf/mips/rtld_start.S     Tue Nov 14 17:05:34 2017        
(r325815)
+++ head/libexec/rtld-elf/mips/rtld_start.S     Tue Nov 14 17:16:03 2017        
(r325816)
@@ -32,7 +32,9 @@
 
 #include <machine/asm.h>
 
+#if defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 4)
        .cfi_sections .debug_frame
+#endif
 
 .globl _C_LABEL(_rtld_relocate_nonplt_self)
 .globl _C_LABEL(_rtld)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to