From: Sebastian Huber Date: Mon, 14 Jan 2019 07:30:19 +0000 (+0100) Subject: ld: Add LTO warning to --wrap documentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6406a2701bda7437e879bff026adc8a5a94e87ff;p=binutils-gdb.git ld: Add LTO warning to --wrap documentation ld/ * ld.texi (--wrap): Add warning that LTO may make this feature ineffective. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index f727515289e..35b0c45a53b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2019-01-23 Sebastian Huber + + * ld.texi (--wrap): Add warning that LTO may make this feature + ineffective. + 2019-01-21 Nick Clifton * po/uk.po: Updated Ukranian translation. diff --git a/ld/ld.texi b/ld/ld.texi index 5179af3e0e1..d0ceea16268 100644 --- a/ld/ld.texi +++ b/ld/ld.texi @@ -2411,6 +2411,9 @@ g (void) @} @end smallexample +Please keep in mind that with link-time optimization (LTO) enabled, your whole +program may be a translation unit. + @kindex --eh-frame-hdr @kindex --no-eh-frame-hdr @item --eh-frame-hdr