This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Mark _init and _fini as hidden [BZ #23145]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 8 May 2018 14:52:44 +0000
- Subject: Re: [PATCH] Mark _init and _fini as hidden [BZ #23145]
- References: <20180506144340.GA82831@intel.com>
On Sun, 6 May 2018, H.J. Lu wrote:
> diff --git a/scripts/check-initfini.awk b/scripts/check-initfini.awk
> new file mode 100644
> index 0000000000..e4a2355e02
> --- /dev/null
> +++ b/scripts/check-initfini.awk
> @@ -0,0 +1,45 @@
> +# This awk script expects to get command-line files that are each
> +# the output of 'readelf -d' on a single shared object.
> +# It exits successfully (0) if none contained any TEXTREL markers.
> +# It fails (1) if any did contain a TEXTREL marker.
> +# It fails (2) if the input did not take the expected form.
This comment is clearly inapplicable to this file, since this test is not
about TEXTREL, and you need a copyright / license notice on this file.
--
Joseph S. Myers
joseph@codesourcery.com