cvs commit: src/sys/boot/alpha/common Makefile.common ldscript

Ruslan Ermilov ru at freebsd.org
Sun Aug 22 11:17:53 PDT 2004


On Sun, Aug 22, 2004 at 12:26:01AM +0000, Marcel Moolenaar wrote:
> marcel      2004-08-22 00:26:01 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/boot/alpha/common Makefile.common 
>   Added files:
>     sys/boot/alpha/common ldscript 
>   Log:
>   Part 1 of fixing the boot code: binutils 2.15 fixes.
>   
>   The binutils 2.15 assembler now automaticly and non-optionally adds
>   the .eh_frame section for unwind information. This section appears
>   to wreck havoc to the final boot code. Fix this by using a special
>   linker script that discards the .eh_frame sections, but is otherwise
>   identical to the linker internal script used for -N.
>   
>   Compiler used: gcc 3.3.5
>   Verified with: binutils 2.14 & binutils 2.15 (stock and in-tree)
>   Tested with: /boot/loader & /boot/netboot
>   
>   Revision  Changes    Path
>   1.19      +1 -1      src/sys/boot/alpha/common/Makefile.common
>   1.1       +201 -0    src/sys/boot/alpha/common/ldscript (new)
> 
Yes, I also noticed this in my testing (5-CURRENT just before and
just after BU upgrade).  Unfortunately, it was too late in the night
to finish with this.  That's so cool that you took a pick on it,
Marcel!  ;)


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040822/4a399208/attachment.bin


More information about the cvs-all mailing list