Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2017 17:16:03 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325816 - head/libexec/rtld-elf/mips
Message-ID:  <201711141716.vAEHG3vG052160@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711141716.vAEHG3vG052160>