Date: Thu, 21 Jan 2016 19:00:42 -0200 From: Renato Botelho <garga@FreeBSD.org> To: Ed Maste <emaste@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r294530 - head/sys/sys Message-ID: <2651E939-BCCD-4013-A4EB-717CA2496563@FreeBSD.org> In-Reply-To: <201601212044.u0LKiLL9077696@repo.freebsd.org> References: <201601212044.u0LKiLL9077696@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Jan 21, 2016, at 18:44, Ed Maste <emaste@freebsd.org> wrote: >=20 > Author: emaste > Date: Thu Jan 21 20:44:21 2016 > New Revision: 294530 > URL: https://svnweb.freebsd.org/changeset/base/294530 >=20 > Log: > Add STB_GNU_UNIQUE symbol binding definition >=20 > Red Hat created STB_GNU_UNIQUE to handle certain special cases = relating > to dynamically loading C++ DSOs[1]. >=20 > We don't (currently) have support for STB_GNU_UNIQUE, but ought to > reserve the value in ELFNN_ST_BIND. This will also be used by an > upcoming ELF Tool Chain import. >=20 > [1] = https://www.redhat.com/archives/posix-c++-wg/2009-August/msg00002.html >=20 > MFC after: 1 week > Sponsored by: The FreeBSD Foundation >=20 > Modified: > head/sys/sys/elf_common.h >=20 > Modified: head/sys/sys/elf_common.h > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/sys/elf_common.h Thu Jan 21 19:19:24 2016 = (r294529) > +++ head/sys/sys/elf_common.h Thu Jan 21 20:44:21 2016 = (r294530) > @@ -753,8 +753,9 @@ typedef struct { > #define STB_LOCAL 0 /* Local symbol */ > #define STB_GLOBAL 1 /* Global symbol */ > #define STB_WEAK 2 /* like global - lower = precedence */ > -#define STB_LOOS 10 /* Reserved range for operating = system */ > -#define STB_HIOS 12 /* specific semantics. */ > +#define STB_LOOS 10 /* Start of operating system = reserved range. */ > +#define STB_GNU_UNIQUE 10 /* Unique symbol (GNU) */ Looks like you meant to use 11 here, no? > +#define STB_HIOS 12 /* End of operating system = reserved range. */ > #define STB_LOPROC 13 /* reserved range for processor = */ > #define STB_HIPROC 15 /* specific semantics. */ >=20 > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to = "svn-src-head-unsubscribe@freebsd.org" -- Renato Botelho
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2651E939-BCCD-4013-A4EB-717CA2496563>