svn commit: r208789 - in head/sys/boot: i386/boot0 i386/btx/btx i386/btx/btxldr i386/cdboot i386/mbr i386/pmbr pc98/boot0 pc98/boot0.5 pc98/btx/btx pc98/btx/btxldr pc98/cdboot sparc64/boot1

Kostik Belousov kostikbel at gmail.com
Thu Jun 3 17:53:10 UTC 2010


On Thu, Jun 03, 2010 at 05:42:32PM +0000, Ed Schouten wrote:
> Author: ed
> Date: Thu Jun  3 17:42:32 2010
> New Revision: 208789
> URL: http://svn.freebsd.org/changeset/base/208789
> 
> Log:
>   Use -Wl,-N instead of the undocumented -N option for GCC.
>   
>   GCC forwards the -N flag directly to ld. This flag is not documented and
>   not supported by (for example) Clang. Just use -Wl,-N.

This is strange. Traditionally, cc(1) forwards any switches or file
names it does not understand, to the linker. Similarly, file names with
extensions not recognized by cc, are passed to the linker.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20100603/50896bbc/attachment.pgp


More information about the svn-src-head mailing list