summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-24 20:41:48 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-24 20:41:48 +0000
commit21d2c1a6398228b1cadc11e7e4c3f40b1f628f75 (patch)
treecf5a9e9867ad084201e95752d8c282bb6f419f69 /ldso
parent2b1a8538a181219b579c69dc2ed94b5a2c31d291 (diff)
Disable an ugly bug-workaround for ancient versions of gcc.
-Erik
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/boot1.c6
-rw-r--r--ldso/ldso/ld-uClibc.c6
-rw-r--r--ldso/ldso/ldso.c6
3 files changed, 9 insertions, 9 deletions
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__