[PATCH] Mark _init and _fini as hidden [BZ #23145]

Joseph Myers joseph@codesourcery.com
Tue May 8 14:52:00 GMT 2018


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



More information about the Libc-alpha mailing list