[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-kernel
Subject:    Re: amd64 patches for review again
From:       "Simon 'corecode' Schubert" <corecode () fs ! ei ! tum ! de>
Date:       2006-07-22 23:44:08
Message-ID: 44C2B848.50700 () fs ! ei ! tum ! de
[Download RAW message or body]


Matthew Dillon wrote:
> > hey,
> > 
> > now that we branched 1.6 i want to commit these patches.  please review a=
> > nd if nobody objects, i will commit them on saturday.
> > 
> > find them at: <http://chlamydia.fs.ei.tum.de/~corecode/unsorted/amd64.dif=
> > f>
> > 
> > cheers
> > simon
> 
> The only bit I don't understand is this one in
> gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h:
> 
> +#define LIBGCC_SPEC "%{shared: -lgcc_pic} %{!shared: -lgcc}"

ah, very cool, somebody read it completely :)

this makes gcc link libgcc_pic for shared libs and libgcc for static libs.  this is \
needed for amd64, because shared pic code can't get certain fixups for non-pic \
libgcc.  the libs still stay static.

cheers
  simon

-- 
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic