This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Adding vle functionality to /ld/scripttempl/elf.sc
- From: Kristi Morton <kristi dot morton at freescale dot com>
- To: binutils at sourceware dot org, binutils at sourceware dot org
- Cc: Daniel Jacobowitz <dan at codesourcery dot com>, Ian Lance Taylor <ian at airs dot com>, Edmar Wienskoski <edmar at freescale dot com>, Katherine E Stewart-RA4863 <K dot Stewart at freescale dot com>
- Date: Wed, 24 Aug 2005 10:37:35 -0500
- Subject: Adding vle functionality to /ld/scripttempl/elf.sc
Edmar and I have added some functionality to the elf.sc default linker
script file to generate the .texv (text vle code), aligned on a 64K
boundary. Do you forsee any problems with us committing this code to
the default elf linker script:
.texv ALIGN(0x10000) ${RELOCATING-0} :
{
*(.texv ${RELOCATING+ .texv.*})
} =${NOP-0}
We created a new program header segment in bfd/elf.c for VLE and have
utilized new program and section header flags. I'm not 100% sure if this
will work and not break anything else.
It was suggested by Ian that we create additional program headers
explicitly through PHDRS. However this will be a tedious task since
there is not a way to easily add a new program header segment to the
current ones without having to define every program header manually.
Any thoughts or suggestions on this matter would be appreciated.
Thanks,
Kristi