This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Executable file size and program header alignment.
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: Executable file size and program header alignment.
- From: "Pierre Saucourt-Harmel (r54698)" <pierre dot saucourt-harmel at motorola dot com>
- Date: Thu, 11 Jan 2001 11:54:00 +0100
- Organization: Motorola
- References: <3A5D8994.F02890BF@motorola.com>
2) What can I do to minimise this offset (to 1 byte ?) ?
I found a response to this question (I did not realise that the "data
segment" described in the -N option of the ld.info means "program
header") , giving the -N option to the linker. I obtained an executable
file of 13 Kbytes !