From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: strip and that kernel patch nonsense
Date: Fri, 17 May 1996 23:22:51 -0500 (CDT) [thread overview]
Message-ID: <m0uKdXY-0001uBC@atheist.tamu.edu> (raw)
In-Reply-To: <9605172235.AA12252@nova.tat.physik.uni-tuebingen.de>
Harald Koenig wrote:
> if your description about the file offset information in the ECOFF
> header is correct I'd think that any patch for the binutils will only
> handle the symptoms but not the real reason (and not even the symptoms
> seem th be cured by the binutils patch).
I blame it all on a generally bad day, but the segment size
change really did run the idle program. After I'd slept I
realized that that shouldn't have worked.
The real problem, (no really!) was flags not being set on
the .pdata section before file offsets were assigned.
Try this.
r~
Index: ecoff.c
===================================================================
RCS file: /home/richard/Repository/cygnus/gas/bfd/ecoff.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 ecoff.c
--- ecoff.c 1996/03/23 22:46:11 1.1.1.3
+++ ecoff.c 1996/05/17 05:53:45
@@ -161,7 +161,8 @@
else if (strcmp (section->name, _RDATA) == 0
|| strcmp (section->name, _LIT8) == 0
|| strcmp (section->name, _LIT4) == 0
- || strcmp (section->name, _RCONST) == 0)
+ || strcmp (section->name, _RCONST) == 0
+ || strcmp (section->name, _PDATA) == 0)
section->flags |= SEC_DATA | SEC_LOAD | SEC_ALLOC | SEC_READONLY;
else if (strcmp (section->name, _BSS) == 0
|| strcmp (section->name, _SBSS) == 0)
next prev parent reply other threads:[~1996-05-18 4:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-15 17:54 strip and that kernel patch nonsense Richard Henderson
1996-05-17 16:37 ` Harald Koenig
1996-05-18 4:22 ` Richard Henderson [this message]
1996-05-18 9:01 ` Harald Koenig
1996-05-20 6:13 ` Jim Paradis
1996-05-20 5:48 ` Linus Torvalds
[not found] <m0uLBiU-0001ukC@atheist.tamu.edu>
1996-05-20 7:11 ` Harald Koenig
1996-05-20 7:11 ` Harald Koenig
1996-05-20 7:41 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1996-05-20 7:18 David Mosberger-Tang
[not found] <Pine.LNX.3.91.960520084514.15762E-100000@linux.cs.Helsinki.FI>
1996-06-06 0:51 ` Erik Troan
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox