You may extract default linker script "gcc ... -Wl,--verbose", change
the base address and rebuild application, overriding default linker
script by the new-one.
SECTIONS
{
/* Read-only sections, merged into text segment: */
. = 0x400000 + SIZEOF_HEADERS;
- Grigory
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>[EMAIL PROTECTED]
>Sent: Thursday, April 07, 2005 8:25 PM
>To: [email protected]
>Subject: How to specify customized base addr?
>
>Hi there,
> Any idea about how to set the options of gcc to produce a static
>linked elf with
>customized base addr? I've googled, but found nothing worth:(
>Thanks,
>Zhenyu
>