[PATCH 0/1] microblaze: Fix issues with freestanding

Michal Simek posted 1 patch 4 years, 3 months ago
There is a newer version of this series
arch/microblaze/include/asm/string.h |  2 +-
arch/microblaze/lib/memcpy.c         | 18 ++---------------
arch/microblaze/lib/memmove.c        | 29 ++--------------------------
3 files changed, 5 insertions(+), 44 deletions(-)
[PATCH 0/1] microblaze: Fix issues with freestanding
Posted by Michal Simek 4 years, 3 months ago
Hi,

with GCC 10 there is issue with simple memset implementation which is
called recursively. There are couple of discussions about it and the first
two patches are trying to workaround this.
The third patch only removes simple implementations from arch code and use
generic one which is the same.

Thanks,
Michal


Michal Simek (1):
  microblaze: Use simple memmove/memcpy implementation from lib/string.c

 arch/microblaze/include/asm/string.h |  2 +-
 arch/microblaze/lib/memcpy.c         | 18 ++---------------
 arch/microblaze/lib/memmove.c        | 29 ++--------------------------
 3 files changed, 5 insertions(+), 44 deletions(-)

-- 
2.35.1

Re: [PATCH 0/1] microblaze: Fix issues with freestanding
Posted by Michal Simek 4 years, 3 months ago

On 2/25/22 14:50, Michal Simek wrote:
> Hi,
> 
> with GCC 10 there is issue with simple memset implementation which is
> called recursively. There are couple of discussions about it and the first
> two patches are trying to workaround this.
> The third patch only removes simple implementations from arch code and use
> generic one which is the same.
> 
> Thanks,
> Michal
> 
> 
> Michal Simek (1):
>    microblaze: Use simple memmove/memcpy implementation from lib/string.c
> 
>   arch/microblaze/include/asm/string.h |  2 +-
>   arch/microblaze/lib/memcpy.c         | 18 ++---------------
>   arch/microblaze/lib/memmove.c        | 29 ++--------------------------
>   3 files changed, 5 insertions(+), 44 deletions(-)
> 

I didn't send all 3 patches. Sorry about it. V2 has all required changes.

Thanks,
Michal