This is the mail archive of the binutils@sources.redhat.com 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]

Re: SDAREL output sections


Geoff Keating wrote:
> 
> > Date: Mon, 19 Feb 2001 10:18:02 +0100
> > From: Momchil Velikov <velco@fadata.bg>
> > X-Accept-Language: en,bg,ru
> > CC: binutils@sourceware.cygnus.com
> >
> > Geoff Keating wrote:
> > >
> > > > From: Momchil Velikov <velco@fadata.bg>
> > > > Date: 19 Feb 2001 01:14:30 +0200
> > >
> > > > The test, as it stands now, prevents people (well, me) from folding the
> > > > .sdata section into .data.
> > >
> > > This is true, but why do you wish to do this?
> >   b) the PMAC OpenFirmware 1.0.5 recognizes only .text, .data and .bss
> >      when loading a program. So my linker script looks like
> >        .data { *(.data) *(.sdata) }
> >        .bss  { *(.sbss) *(.bss) }
> 
> Hmmm.  Why doesn't it use the PHDR entries?  What does it do if there
> are no section entries at all?
> 
> I think that for such special cases (broken loaders, vxworks, etc.),
> it's best to consider them a different format from ELF.

OF 1.0.5 indeed loads only XCOFF files. I convert the ELF file to XCOFF
with objcopy.

Regards,
-velco


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