Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2016 18:41:49 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, Ian Lepore <ian@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r296428 - head/sys/boot/common
Message-ID:  <C6FFFB5D-EAE1-4BFA-90EC-6AE2DF67A921@FreeBSD.org>
In-Reply-To: <CANCZdforb7gAanu4Hys6b2NmhOGVGn7UutsUqav5gGUsqSTMxA@mail.gmail.com>
References:  <201603061557.u26FvhMi033982@repo.freebsd.org> <56DCD52F.4010709@freebsd.org> <AC0A9708-B618-4D05-8532-BD451AB94A60@FreeBSD.org> <1457365187.13785.174.camel@freebsd.org> <20160307155217.GJ67250@kib.kiev.ua> <CANCZdforb7gAanu4Hys6b2NmhOGVGn7UutsUqav5gGUsqSTMxA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_B5F18951-30F7-490B-8516-4CC09CE44D4B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 07 Mar 2016, at 17:28, Warner Losh <imp@bsdimp.com> wrote:
...
> Alternatively, is there a switch to clang 3.8 that says 'Don't =
generate the new
> relocation, use the old one instead" which would also be safe and =
allow a
> less-bumpy transition?

On amd64, we actually compile source files for the kernel with
-fno-asynchronous-unwind-tables, which is the flag that ensures object
files do not end up with a .eh_frame section, because the compiler will
refrain from inserting CFI directives into the assembler.

However, this only affects C source files, and we have a number of
hand-written assembler sources in the tree, with CFI directives in them.
These will always result in .eh_frame sections, unless there is another
assembler-specific flag of suppressing that.

-Dimitry


--Apple-Mail=_B5F18951-30F7-490B-8516-4CC09CE44D4B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.29

iEYEARECAAYFAlbdvWQACgkQsF6jCi4glqPyhACg4rfv1EjG41J0A5YAJBJmqUcC
fy4AniNkkS4bi3YjixoLZZRCLGvpWTL1
=EsXH
-----END PGP SIGNATURE-----

--Apple-Mail=_B5F18951-30F7-490B-8516-4CC09CE44D4B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C6FFFB5D-EAE1-4BFA-90EC-6AE2DF67A921>