You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.4 KiB
40 lines
1.4 KiB
# --- T2-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# T2 SDE: package/.../glibc/x86-i686.patch |
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This patch file is dual-licensed. It is available under the license the |
|
# patched project is licensed under, as long as it is an OpenSource license |
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
# of the GNU General Public License as published by the Free Software |
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
# version. |
|
# --- T2-COPYRIGHT-NOTE-END --- |
|
|
|
__i686 is used in assembler, but when optimizing for a 686-class CPU |
|
gcc defines __i686 as cpp macro ... |
|
|
|
- Rene Rebe <rene@exactcode.de> |
|
|
|
--- glibc-20050919/csu/defs.awk.vanilla 2005-11-03 13:16:56.000000000 +0100 |
|
+++ glibc-20050919/csu/defs.awk 2005-11-03 13:17:10.000000000 +0100 |
|
@@ -24,4 +24,5 @@ |
|
|
|
print "#include <libc-symbols.h>"; |
|
print "weak_extern (__gmon_start__)"; |
|
+ print "#undef __i686"; |
|
} |
|
--- glibc-20050919/sysdeps/i386/bp-asm.h.vanilla 2005-11-03 14:27:22.000000000 +0100 |
|
+++ glibc-20050919/sysdeps/i386/bp-asm.h 2005-11-03 14:27:39.000000000 +0100 |
|
@@ -22,6 +22,8 @@ |
|
#ifndef _bp_asm_h_ |
|
# define _bp_asm_h_ 1 |
|
|
|
+#undef __i686 |
|
+ |
|
# if __ASSEMBLER__ |
|
|
|
# if __BOUNDED_POINTERS__
|
|
|