Linker_Script for i386

David Korn dkorn@pixelpower.com
Mon Jan 7 07:38:00 GMT 2002


>-----Original Message-----
>From: Manoj Verma [mailto:manojv@noida.hcltech.com]
>Sent: 06 January 2002 14:33
>To: crossgcc@sources.redhat.com; crossgcc@sourceware.cygnus.com

 [Manoj, the two crossgcc lists are the same, you only need to send to
one of those addresses: the redhat address is more up-to-date than the
cygnus one.]

>QUERY:
>My question is how should I specify a different start address than the
>default one(__image_base__ + __section_alignment__).
>and different value of ALIGN(xxx).

  I know almost nothing about linker scripts, but have you looked at adding
an AT command to your section header as described in the manual ?  It worked
for a colleague of mine who wanted to set the load address of a section:

  http://sources.redhat.com/binutils/docs-2.10/ld_3.html#SEC33


         DaveK
-- 
Burn your ID card!  http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!


**********************************************************************
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 system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

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



More information about the crossgcc mailing list