This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Fw: ld not picking up .bss sections from Digital Fortran
- To: "cygwin" <cygwin@sourceware.cygnus.com>
- Subject: Fw: ld not picking up .bss sections from Digital Fortran
- From: "Suhaib M. Siddiqi" <Ssiddiqi@InspirePharm.Com>
- Date: Tue, 23 Feb 1999 11:21:55 -0500
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
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