svn commit: r260844 - head/gnu/lib/libgcc
Pedro Giffuni
pfg at FreeBSD.org
Sat Jan 18 05:36:34 UTC 2014
Hi Marcel,
Nice find ...
Il giorno 17/gen/2014, alle ore 23:09, Marcel Moolenaar <marcel at FreeBSD.org> ha scritto:
> Author: marcel
> Date: Sat Jan 18 04:09:39 2014
> New Revision: 260844
> URL: http://svnweb.freebsd.org/changeset/base/260844
>
> Log:
> For ia64, add _bswapsi2 & _bswapdi2. The audio/flac port uses the
> bswap32 builtin and the compiler emits a call to the libgcc function
> rather than generating inline code.
>
> Modified:
> head/gnu/lib/libgcc/Makefile
>
> Modified: head/gnu/lib/libgcc/Makefile
> ==============================================================================
> --- head/gnu/lib/libgcc/Makefile Sat Jan 18 04:06:00 2014 (r260843)
> +++ head/gnu/lib/libgcc/Makefile Sat Jan 18 04:09:39 2014 (r260844)
> @@ -145,6 +145,7 @@ LIB1ASMFUNCS = __divxf3 __divdf3 __divsf
> __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \
> __nonlocal_goto __restore_stack_nonlocal __trampoline \
> _fixtfdi _fixunstfdi _floatditf
> +LIB2FUNCS += _bswapsi2 _bswapdi2
> LIB2ADDEH = unwind-ia64.c unwind-sjlj.c unwind-c.c
> .endif
>
I think this was an overlook on my part. This change:
http://svnweb.freebsd.org/base/head/contrib/gcc/mklibgcc.in?r1=169690&r2=258428
would suggest the change is not only for ia64, and It should apply for stable-10 but not for -9.
where I detected the issue and was looking for a solution before merging it further.
Thank you for finding it and feel free to do it general and MFC if you like ;-).
Pedro.
More information about the svn-src-head
mailing list