From 21d2c1a6398228b1cadc11e7e4c3f40b1f628f75 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 24 Apr 2001 20:41:48 +0000 Subject: Disable an ugly bug-workaround for ancient versions of gcc. -Erik --- ldso/ldso/boot1.c | 6 +++--- ldso/ldso/ld-uClibc.c | 6 +++--- ldso/ldso/ldso.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'ldso') diff --git a/ldso/ldso/boot1.c b/ldso/ldso/boot1.c index 6b0b864cb..dd66b51b2 100644 --- a/ldso/ldso/boot1.c +++ b/ldso/ldso/boot1.c @@ -236,9 +236,9 @@ void _dl_boot(int args){ { /* This hack is to work around a suspected asm bug in gcc-2.7.0 */ - int zfileno; -#define ZFILENO ((-1 & (~zfileno)) | zfileno) -/*#define ZFILENO -1*/ + //int zfileno; +//#define ZFILENO ((-1 & (~zfileno)) | zfileno) +#define ZFILENO -1 #ifndef MAP_ANONYMOUS #ifdef __sparc__ diff --git a/ldso/ldso/ld-uClibc.c b/ldso/ldso/ld-uClibc.c index 6b0b864cb..dd66b51b2 100644 --- a/ldso/ldso/ld-uClibc.c +++ b/ldso/ldso/ld-uClibc.c @@ -236,9 +236,9 @@ void _dl_boot(int args){ { /* This hack is to work around a suspected asm bug in gcc-2.7.0 */ - int zfileno; -#define ZFILENO ((-1 & (~zfileno)) | zfileno) -/*#define ZFILENO -1*/ + //int zfileno; +//#define ZFILENO ((-1 & (~zfileno)) | zfileno) +#define ZFILENO -1 #ifndef MAP_ANONYMOUS #ifdef __sparc__ diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 6b0b864cb..dd66b51b2 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -236,9 +236,9 @@ void _dl_boot(int args){ { /* This hack is to work around a suspected asm bug in gcc-2.7.0 */ - int zfileno; -#define ZFILENO ((-1 & (~zfileno)) | zfileno) -/*#define ZFILENO -1*/ + //int zfileno; +//#define ZFILENO ((-1 & (~zfileno)) | zfileno) +#define ZFILENO -1 #ifndef MAP_ANONYMOUS #ifdef __sparc__ -- cgit v1.2.3