* file alignment of elf sections
@ 2003-02-11 3:39 Felix Domke
0 siblings, 0 replies; only message in thread
From: Felix Domke @ 2003-02-11 3:39 UTC (permalink / raw)
To: linuxppc-embedded
hi,
i'm currently porting u-boot to a ppc405-based board, but i'm failing
miserably at the first step - correct linking.
to make it short (and keep it a bit ontopic, sorry):
how can i tell ld to align the section in the FILE to 2^16 ? i have my
.text-section started at (loading address) 5MB, and like to have it in
the elf-file at 64k. i saw lds producing exactly this output, but in my
case the .text-section starts immediately after the elf header. (the
reason is that i have to convert the binary to a special format for the
primary bootloader, and the tool for converting is rather dumb, but i
don't want to invest time into fixing the tool since i didn't wrote it
and nobody else cares about it).
There must be a simple option, but i can't find it :/ (even after
googling around)
I have to admit that i did this before, but i can't remember HOW i did it.
felix
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-11 3:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-11 3:39 file alignment of elf sections Felix Domke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).