about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-11-26 15:13:27 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-11-26 15:13:27 +0000
commita6f3079bfb8355b07bdc5eb578e2e77ff306a778 (patch)
tree2030e4643f1acc9955b540cd71e035ecbadccee9 /ChangeLog
parent706688aaefdeb48e63519525f11108ce14844a26 (diff)
downloadglibc-a6f3079bfb8355b07bdc5eb578e2e77ff306a778.tar.gz
glibc-a6f3079bfb8355b07bdc5eb578e2e77ff306a778.tar.xz
glibc-a6f3079bfb8355b07bdc5eb578e2e77ff306a778.zip
Fix sysdeps/unix/sysv/linux/arm/libc-do-syscall.S warning.
This patch fixes a warning

../include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]

seen when building for ARM.  This warning comes from libc-do-syscall.S
being built for nscd: the nscd build uses _FORTIFY_SOURCE, while .S
files aren't built with -O, and the combination produces a warning.
As _FORTIFY_SOURCE doesn't do anything for .S files, undefining it in
libc-do-syscall.S seems the simplest solution.

Tested for ARM.

	* sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
	Undefine.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 90a948b482..f43cb09c9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
+	Undefine.
+
 	[BZ #16619]
 	[BZ #16740]
 	* sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52