svn commit: r325816 - head/libexec/rtld-elf/mips
John Baldwin
jhb at FreeBSD.org
Tue Nov 14 17:16:05 UTC 2017
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)
More information about the svn-src-all
mailing list