This commit is contained in:
parent
a51dfad3e2
commit
dad3b40fad
16
glibc-2.9-fortify.diff
Normal file
16
glibc-2.9-fortify.diff
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
--- misc/sys/cdefs.h.orig 2009-02-27 16:05:10.000000000 +0100
|
||||||
|
+++ misc/sys/cdefs.h 2009-02-27 16:06:32.000000000 +0100
|
||||||
|
@@ -303,7 +303,12 @@
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define __extern_inline extern __inline
|
||||||
|
-# define __extern_always_inline extern __always_inline
|
||||||
|
+# if __GNUC_PREREQ (4,3)
|
||||||
|
+# define __extern_always_inline \
|
||||||
|
+ extern __always_inline __attribute__ ((__artificial__))
|
||||||
|
+# else
|
||||||
|
+# define __extern_always_inline extern __always_inline
|
||||||
|
+# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 27 16:21:17 CET 2009 - rguenther@suse.de
|
||||||
|
|
||||||
|
- Make sure to mark fortified inline routines with
|
||||||
|
__attribute__((__artificial__)).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 18 16:18:19 CET 2009 - adrian@suse.de
|
Wed Feb 18 16:18:19 CET 2009 - adrian@suse.de
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ Obsoletes: glibc-32bit
|
|||||||
Provides: rtld(GNU_HASH)
|
Provides: rtld(GNU_HASH)
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.9
|
Version: 2.9
|
||||||
Release: 12
|
Release: 14
|
||||||
%define snapshot_date 2008111711
|
%define snapshot_date 2008111711
|
||||||
Url: http://www.gnu.org/software/libc/libc.html
|
Url: http://www.gnu.org/software/libc/libc.html
|
||||||
PreReq: filesystem
|
PreReq: filesystem
|
||||||
@ -149,6 +149,7 @@ Patch54: glibc-2.10-nscd-nostack.diff
|
|||||||
Patch55: glibc-cpusetsize.diff
|
Patch55: glibc-cpusetsize.diff
|
||||||
Patch56: glibc-ldscript.diff
|
Patch56: glibc-ldscript.diff
|
||||||
Patch57: glibc-mtfsf.diff
|
Patch57: glibc-mtfsf.diff
|
||||||
|
Patch58: glibc-2.9-fortify.diff
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GNU C Library provides the most important standard libraries used
|
The GNU C Library provides the most important standard libraries used
|
||||||
@ -358,6 +359,7 @@ rm sysdeps/x86_64/fpu/s_sincos.S
|
|||||||
%patch55
|
%patch55
|
||||||
%patch56
|
%patch56
|
||||||
%patch57
|
%patch57
|
||||||
|
%patch58
|
||||||
%patch5
|
%patch5
|
||||||
#
|
#
|
||||||
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
|
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
|
||||||
@ -1056,6 +1058,9 @@ exit 0
|
|||||||
%{_libdir}/libdl_p.a
|
%{_libdir}/libdl_p.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 27 2009 rguenther@suse.de
|
||||||
|
- Make sure to mark fortified inline routines with
|
||||||
|
__attribute__((__artificial__)).
|
||||||
* Wed Feb 18 2009 adrian@suse.de
|
* Wed Feb 18 2009 adrian@suse.de
|
||||||
- Build i686 glibc src rpm as nosrc to get both versions on the
|
- Build i686 glibc src rpm as nosrc to get both versions on the
|
||||||
media [bnc#474338]
|
media [bnc#474338]
|
||||||
|
Loading…
Reference in New Issue
Block a user