From: "Suhaib M. Siddiqi" <Ssiddiqi@InspirePharm.Com>
To: <bfd@cygnus.com>
Cc: "DJ Delorie" <dj@delorie.com>
Subject: Fw: Fw: ld not picking up .bss sections from Digital Fortran
Date: Tue, 23 Feb 1999 08:49:00 -0000 [thread overview]
Message-ID: <000401be5f4e$75c9f490$29acdfd0@InspirePharm.Com> (raw)
At the request of Delorie from Cygnus, I am forwarding a copy of the
following patch, which was sent to me by Mr. joe Sirott
Regards
Suhaib Siddiqi
----------------------------
The following patch for bfd/peicode.h was sent to me by Joe Sirott.
According to him this patch allowed him to use *.bass files from
Digital
Fortran.
I have not tried it myself. This is what Joe wrote about his patch
>> >> >Au contraire! Turns out a one line fix in the GNU BFD code allows
>> >> >Digital Fortran object files to be used.
I think it might be of use to others therefore I am forwarding it to
Cygwin list.
Suhaib
>> ----- Original Message -----
>> From: Joe Sirott <sirott@pmel.noaa.gov>
>> To: Suhaib M. Siddiqi <Ssiddiqi@InspirePharm.Com>
Here it is:
--- bfd/peicode.h.orig Mon Jun 01 09:15:09 1998
+++ bfd/peicode.h Fri Jan 29 18:09:28 1999
@@ -1079,8 +1079,10 @@
}
if (strcmp (scnhdr_int->s_name, _BSS) == 0)
{
- scnhdr_int->s_size = scnhdr_int->s_paddr;
- scnhdr_int->s_paddr = 0;
+ if (scnhdr_int->s_size == 0){
+ scnhdr_int->s_size = scnhdr_int->s_paddr;
+ scnhdr_int->s_paddr = 0;
+ }
}
}
Original Message -----
From: DJ Delorie <dj@delorie.com>
To: <Ssiddiqi@InspirePharm.Com>
Sent: Tuesday, February 23, 1999 11:44 AM
Subject: Re: Fw: ld not picking up .bss sections from Digital Fortran
>
>Could you send a copy of this to bfd@cygnus.com also? They're the
>ones that maintain those files.
>
>> Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
>> Precedence: bulk
>> Sender: cygwin-owner@sourceware.cygnus.com
>> From: "Suhaib M. Siddiqi" <Ssiddiqi@InspirePharm.Com>
>> Date: Tue, 23 Feb 1999 11:21:55 -0500
>> Content-Type: text/plain;
>> charset="Windows-1252"
>> X-Priority: 3
>> X-MSMail-Priority: Normal
>> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
>>
>> The following patch for bfd/peicode.h was sent to me by Joe Sirott.
>> According to him this patch allowed him to use *.bass files from
Digital
>> Fortran.
>>
>> I have not tried it myself. This is what Joe wrote about his patch
>>
>> >> >Au contraire! Turns out a one line fix in the GNU BFD code allows
>> >> >Digital Fortran object files to be used.
>>
>> I think it might be of use to others therefore I am forwarding it to
>> Cygwin list.
>>
>> Suhaib
>>
>> ----- Original Message -----
>> From: Joe Sirott <sirott@pmel.noaa.gov>
>> To: Suhaib M. Siddiqi <Ssiddiqi@InspirePharm.Com>
>> Sent: Friday, January 29, 1999 9:15 PM
>> Subject: Re: ld not picking up .bss sections from Digital Fortran
>>
>>
>> >Here it is:
>> >
>> >--- bfd/peicode.h.orig Mon Jun 01 09:15:09 1998
>> >+++ bfd/peicode.h Fri Jan 29 18:09:28 1999
>> >@@ -1079,8 +1079,10 @@
>> > }
>> > if (strcmp (scnhdr_int->s_name, _BSS) == 0)
>> > {
>> >- scnhdr_int->s_size = scnhdr_int->s_paddr;
>> >- scnhdr_int->s_paddr = 0;
>> >+ if (scnhdr_int->s_size == 0){
>> >+ scnhdr_int->s_size = scnhdr_int->s_paddr;
>> >+ scnhdr_int->s_paddr = 0;
>> >+ }
>> > }
>> > }
>> >
>> >
>> >
>>
>>
>>
>>
>> --
>> Want to unsubscribe from this list?
>> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>>
>
reply other threads:[~1999-02-23 8:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000401be5f4e$75c9f490$29acdfd0@InspirePharm.Com' \
--to=ssiddiqi@inspirepharm.com \
--cc=bfd@cygnus.com \
--cc=dj@delorie.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).