[PATCH] _begin missing

Andrew Stubbs ams@codesourcery.com
Fri Jan 30 15:55:00 GMT 2009


The sed script used to insert the definition of _begin into the linker 
script does not always work.

In particular, the lastest SH linker script reads as follows:

   . = SEGMENT_START("text-segment", 0) + SIZEOF_HEADERS;

whereas the sed script requires:

   . = 0 + SIZEOF_HEADERS;

Please apply this patch to match both types of script.

Thanks

Andrew Stubbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-linkerscript.patch
Type: text/x-diff
Size: 891 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20090130/87923230/attachment.bin>


More information about the Libc-alpha mailing list