An: Florian La Roche <F.LaRoche@pilz.de>
Von: Waldemar Brodkorb <wbx@openasdk.org>
Datum: 02.06.2018 07:59
Kopie: Waldemar Brodkorb <wbx@uclibc-ng.org>, buildroot@busybox.net, devel@uclibc-ng.org
Betreff: Re: [uclibc-ng-devel] thumb_swp/thumb_swpb
Hi Florian,
Florian La Roche wrote,
> Hello Waldemar Brodkorb,
>
> seems this is triggered if gcc (also with older versions) compiles for
> coretex-a53
> if thumb-mode is enabled. (So this would trigger if e.g. raspberrypi3_defconfig
> gets thumb mode enabled or if you change vexpress_defconfig to compile for
> a53.)
>
> The error output from gcc is:
> AS ldso/ldso/arm/thumb_atomics.oS
> ldso/ldso/arm/thumb_atomics.S: Assembler messages:
> ldso/ldso/arm/thumb_atomics.S:49: Error: swp{b} use is obsoleted for ARMv8 and
> later
> ldso/ldso/arm/thumb_atomics.S:55: Error: swp{b} use is obsoleted for ARMv8 and
> later
> Makerules:373: recipe for target 'ldso/ldso/arm/thumb_atomics.oS' failed
>
> Do you know which software depends on this spcial function to exist in
> uclibc-ng?
I got some time to search through the git history log and I believe
the two functions where just imported when TLS support for ARM was
added from glibc to uClibc in 2009.
The functions are not used internally in ld.so and I furthermore
think they are not used at all.
As both functions marked hidden and uses double underscore as
prefix, they can't be used in a public API by someone else.
Can you sent a patch including the removal of the comment in front
off.
Thanks in advance
Waldemar