This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible bug in m68k-rtems


On Sun, Jul 01, 2012 at 11:21:17PM +0930, Alan Modra wrote:
     On Sun, Jul 01, 2012 at 08:01:50AM +0000, John Darrington wrote:
     > a.out:     file format elf32-m68k
     > 
     > Sections:
     > Idx Name          Size      VMA       LMA       File off  Algn
     >   0 foo           00000002  00123000  00123000  00000034  2**0
     >                   CONTENTS, READONLY
     >   1 bar           00000002  00123000  00123000  00000036  2**0
     >                   CONTENTS, READONLY
     > 
     > 
     > As you can see, both sections have the same start address, which is incorrect.
     
     Nope.  This is correct.  Your sections are non-alloc, so should not take
     up VMA space.

In that case, the bug must be in the second example I posted, which does not show this
correct behaviour?

J'


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


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