amd64 patches for review again

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sat Jul 22 16:51:44 PDT 2006


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   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00009.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20060722/aa1d7edd/attachment-0016.obj>


More information about the Kernel mailing list