summaryrefslogtreecommitdiff
path: root/newlib/patches/07-newlib-newlib-libm-machine-i386-i386mach-h.patch
blob: ac110da0d10c79f26169ee5f5bf7ba607f1d05db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
patch -p1 -f $* < $0
exit $?

Bug fix.

--- newlib/newlib/libm/machine/i386/i386mach.h~	2001-12-14 00:50:11.000000000 +0100
+++ newlib/newlib/libm/machine/i386/i386mach.h	2008-02-21 15:07:36.000000000 +0100
@@ -25,7 +25,7 @@
  
 /* Use the right prefix for registers.  */
  
-#define REG(x) CONCAT1(__REG_PREFIX__, x)
+#define REG(x) __REG_PREFIX__ x
  
 #define eax REG(eax)
 #define ebx REG(ebx)