This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Typo in Fri Sep 23 15:15:31 1994 changes for elfcode.h


> 
>    From: hjl@nynexst.com (H.J. Lu)
>    Date: Sun, 25 Sep 94 20:37:23 EDT
> 
>    -      BFD_ASSERT (phdr_map == phdr_off + phdr_size);
>    +      BFD_ASSERT (phdr_map < phdr_off + phdr_size);
> 			      ^^^
> 
>    Should that be
> 
>    +      BFD_ASSERT (phdr_map <= phdr_off + phdr_size);
> 
> 
> Yes, it certainly should.  I checked that in for somebody in a hurry
> before leaving for the weekend--I should have known better.  Every
> time you think you don't need to test something, you get nailed.
> 

Thanks. I have two quick questions:

1. When will gas work with PIC? I don't think the current one works.
   I had to apply Eric's patches to gas-940912 and the PIC codes
   in the current one cannnot handle the gcc -fPIC output.
2. Should ld -N work on ELF? Has anyone tried it?


-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com