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]

linker script places part of section out of bounds


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


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