From: Sebastian Huber Date: Mon, 14 Jan 2019 07:30:19 +0000 (+0100) Subject: ld: Add LTO warning to --wrap documentation X-Git-Tag: gdb-8.3-release~337 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6406a2701bda7437e879bff026adc8a5a94e87ff;p=external%2Fbinutils.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 f727515..35b0c45 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 5179af3..d0ceea1 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