On Jul 28 2018, sly...@inbox.ru wrote:

> From: Sergei Trofimovich <sly...@gentoo.org>
>
> Cc: Ian Lance Taylor <i...@airs.com>
> Cc: Jeff Law <l...@redhat.com>
> Cc: Andreas Schwab <sch...@linux-m68k.org>
> Signed-off-by: Sergei Trofimovich <sly...@gentoo.org>
> ---
>  libgcc/config/m68k/lb1sf68.S | 19 ++++++++++++++-----
>  1 file changed, 14 insertions(+), 5 deletions(-)
>
> diff --git a/libgcc/config/m68k/lb1sf68.S b/libgcc/config/m68k/lb1sf68.S
> index 325a7c17d9b..16c6dc3f5a7 100644
> --- a/libgcc/config/m68k/lb1sf68.S
> +++ b/libgcc/config/m68k/lb1sf68.S
> @@ -435,7 +435,10 @@ $_exception_handler:
>       .text
>       FUNC(__mulsi3)
>       .globl  SYM (__mulsi3)
> +     .globl  SYM (__mulsi3_internal)
> +     .hidden SYM (__mulsi3_internal)

No need for extra entry symbols, just mark the real entry point as
hidden, like in the static library.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to