This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Invalid executable being created by custom linker scripts
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Eric B Munson <munsone at us dot ibm dot com>
- Cc: Mel Gorman <MELGOR at ie dot ibm dot com>, binutils at sourceware dot org
- Date: Tue, 25 Nov 2008 07:12:17 +1030
- Subject: Re: Invalid executable being created by custom linker scripts
- References: <OFD1314998.284D1EEA-ON80257508.0057A6C7-80257508.00598544@ie.ibm.com> <OF77F72174.E4F0E19A-ONCA257508.0080045C-E9257508.00823274@au1.ibm.com> <20081124075433.GF31406@bubble.grove.modra.org> <OFAC36083D.FFE0EFD5-ON8725750B.004EEEA5-8025750B.00511B95@us.ibm.com>
On Mon, Nov 24, 2008 at 02:45:48PM +0000, Eric B Munson wrote:
> I do not understand what modifications to the linker script you are asking
> for here
Your script is missing a new section. You need
.note.gnu.build-id : { *(.note.gnu.build-id) } :htext :note
to specify the correct program headers for this section.
--
Alan Modra
Australia Development Lab, IBM