This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: linker script places part of section out of bounds


Hi,.

thanks for your responce,.. it is possible that the virtual to physical
address conversion my be wrong and that is what would be causing problems,..
but im a using x86 linux as the host and so i dont have control of the
phyisical memory layout as i would in a embedded system,..

with regards to this i am unsure how to test if this is the porblem or how
to solve it,..

does this have some relivance to the PHYS linker option for spesifiing
memory sections ??,.. as the defualt x86 linux script does not use them.

regards,

---
Matthew J Fletcher
Serck Controls Ltd
Embedded/Firmware/Development

mfletcher@serck-controls.co.uk
Phone (UK Direct) 02476 515089
---


> -----Original Message-----
> From: Ushit Kumar [mailto:ushit.kumar@inet.com]
> Sent: Friday, November 01, 2002 5:56 PM
> To: mfletcher@serck-controls.co.uk
> Subject: Re: linker script places part of section out of bounds
>
>
> Hi Matthew,
>
> Total long shot, but I was wondering if your problem could be due
> virtual to
> physical mem conversions. The linker script address are virtual.
> If they are
> mapped to physical address, and the physical address has not been
> set up. Of
> course if this is the case then you may also be getting a memory
> exception.
>
>
> ushit
>
> Matthew J Fletcher wrote:
>
> > Hi,.
> >
> > i am using the default elf-i386-linux linker script with the following
> > modifications,..
> > the problem is that the .outvar section has part of its range
> out of bounds
> > (i.e unaccessable memory),..
> >
> > the details are this
> > __outvar_start = 0x808a8e8
> > __outvar_stop =  0x808c13c
> >
> > however if i try to access memory above 0x808afff (i.e more
> than 71f into
> > the section)
> > i get an out of bounds error.
> >
> > does anybody know what the problem is,.. or a solution ?
> >
> > .outvar :{
> >         __outvar_start = . ;
> >
> >         ./osfiles/debug/* (.bss)
> >
> >         . = ALIGN(32 / 8);
> >
> >         __outvar_stop = . ;
> >
> >         }
> >
> > . = ALIGN(0x1000) + (. & (0x1000 - 1));
> >
> > .outdta :{
> >         __outdata_start = . ;
> >
> >         ./osfiles/debug/*(.data)
> >
> >         __outdata_stop = . ;
> >         }
> >
> > regards,
> >
> > ---
> > Matthew J Fletcher
> > Serck Controls Ltd
> > Embedded/Firmware/Development
> >
> > mfletcher@serck-controls.co.uk
> > Phone (UK Direct) 02476 515089
> > ---
> >
> > **********************************************************************
> > Serck Controls Ltd, Rowley Drive, Coventry, CV3 4FH, UK
> > Tel: 44 (0) 24 7630 5050   Fax: 44 (0) 24 7630 2437
> > Web: www.serck-controls.co.uk  Admin: post@serck-controls.co.uk
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the above.  Any views or opinions presented are solely those of the
> > author and do not necessarily represent those of Serck Controls Ltd.
> > Please note that Serck Controls Ltd is able to, and reserves the right
> > to, monitor e-mail communications passing through its network.
> > This email has been checked for viruses.  Serck Controls Ltd shall not
> > be responsible for damage caused by any undetected virus.
> > **********************************************************************
> > Serck Controls Ltd is a subsidiary of Hunter Watertech Pty.
> > Registered in England No. 4353634.
> > **********************************************************************
> >
> > ******************************************************************
> > This message has been checked for all known viruses by MessageLabs
> > ******************************************************************
> >
> > ------
> > Want more information?  See the CrossGCC FAQ,
> http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to
> crossgcc-unsubscribe@sources.redhat.com
>
>
> ******************************************************************
> This message has been checked for all known viruses by MessageLabs
> ******************************************************************

**********************************************************************
Serck Controls Ltd, Rowley Drive, Coventry, CV3 4FH, UK
Tel: 44 (0) 24 7630 5050   Fax: 44 (0) 24 7630 2437
Web: www.serck-controls.co.uk  Admin: post@serck-controls.co.uk
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the above.  Any views or opinions presented are solely those of the
author and do not necessarily represent those of Serck Controls Ltd.
Please note that Serck Controls Ltd is able to, and reserves the right
to, monitor e-mail communications passing through its network.
This email has been checked for viruses.  Serck Controls Ltd shall not
be responsible for damage caused by any undetected virus.
**********************************************************************
Serck Controls Ltd is a subsidiary of Hunter Watertech Pty.
Registered in England No. 4353634.
**********************************************************************


******************************************************************
This message has been checked for all known viruses by MessageLabs
******************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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