[PATCH 0/3] tools/nolibc: hexagon support

Thomas Weißschuh posted 3 patches 1 month, 1 week ago
tools/include/nolibc/Makefile                  |  18 ++-
tools/include/nolibc/arch-hexagon.h            | 164 +++++++++++++++++++++++++
tools/include/nolibc/arch.h                    |   2 +
tools/testing/selftests/nolibc/Makefile.nolibc |   8 ++
tools/testing/selftests/nolibc/run-tests.sh    |  20 ++-
5 files changed, 209 insertions(+), 3 deletions(-)
[PATCH 0/3] tools/nolibc: hexagon support
Posted by Thomas Weißschuh 1 month, 1 week ago
Add support for the hexagon architecture.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (3):
      tools/nolibc: split the architecture list into multiple lines
      selftests/nolibc: prepare for clang-only architectures
      tools/nolibc: add support for hexagon

 tools/include/nolibc/Makefile                  |  18 ++-
 tools/include/nolibc/arch-hexagon.h            | 164 +++++++++++++++++++++++++
 tools/include/nolibc/arch.h                    |   2 +
 tools/testing/selftests/nolibc/Makefile.nolibc |   8 ++
 tools/testing/selftests/nolibc/run-tests.sh    |  20 ++-
 5 files changed, 209 insertions(+), 3 deletions(-)
---
base-commit: b58afc8d1cf85688601b8d7e271125fff666f661
change-id: 20260511-nolibc-hexagon-3f8891f4c7fe

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>

Re: [PATCH 0/3] tools/nolibc: hexagon support
Posted by Brian Cain 1 month, 1 week ago
On 8/19/2026 1:31 AM, Thomas Weißschuh wrote:
> Add support for the hexagon architecture.
>
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> ---


Thanks, Thomas!  I've got similar nolibc patches in my tree that I have 
been sitting on - but I like yours better.

Aside from the copy/paste error Willy identified, LGTM:

Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>


> Thomas Weißschuh (3):
>        tools/nolibc: split the architecture list into multiple lines
>        selftests/nolibc: prepare for clang-only architectures
>        tools/nolibc: add support for hexagon
>
>   tools/include/nolibc/Makefile                  |  18 ++-
>   tools/include/nolibc/arch-hexagon.h            | 164 +++++++++++++++++++++++++
>   tools/include/nolibc/arch.h                    |   2 +
>   tools/testing/selftests/nolibc/Makefile.nolibc |   8 ++
>   tools/testing/selftests/nolibc/run-tests.sh    |  20 ++-
>   5 files changed, 209 insertions(+), 3 deletions(-)
> ---
> base-commit: b58afc8d1cf85688601b8d7e271125fff666f661
> change-id: 20260511-nolibc-hexagon-3f8891f4c7fe
>
> Best regards,
> --
> Thomas Weißschuh <linux@weissschuh.net>
>
Re: [PATCH 0/3] tools/nolibc: hexagon support
Posted by Thomas Weißschuh 1 month, 1 week ago
On 2026-08-19 09:18:08-0500, Brian Cain wrote:
> 
> On 8/19/2026 1:31 AM, Thomas Weißschuh wrote:
> > Add support for the hexagon architecture.
> > 
> > Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> > ---
> 
> 
> Thanks, Thomas!  I've got similar nolibc patches in my tree that I have been
> sitting on - but I like yours better.

Out of curiosity, are you using the hexagon nolibc actively or was it
just for fun?

> Aside from the copy/paste error Willy identified, LGTM:
> 
> Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>

Thanks!
Re: [PATCH 0/3] tools/nolibc: hexagon support
Posted by Brian Cain 1 month, 1 week ago
On 8/19/2026 1:30 PM, Thomas Weißschuh wrote:
> On 2026-08-19 09:18:08-0500, Brian Cain wrote:
>> On 8/19/2026 1:31 AM, Thomas Weißschuh wrote:
>>> Add support for the hexagon architecture.
>>>
>>> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
>>> ---
>>
>> Thanks, Thomas!  I've got similar nolibc patches in my tree that I have been
>> sitting on - but I like yours better.
> Out of curiosity, are you using the hexagon nolibc actively or was it
> just for fun?

I have some patches to enable booting the kernel on qemu-system-hexagon 
and when I shared them with Rob Landley he suggested I give it a try.  
So I did :)

>
>> Aside from the copy/paste error Willy identified, LGTM:
>>
>> Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>
> Thanks!