[PATCH] endian.h: Define unsigned fixed-width integer types [BZ #31749]
Joseph Myers
josmyers@redhat.com
Tue Jun 11 15:09:34 GMT 2024
On Tue, 11 Jun 2024, Collin Funk wrote:
> Is the !defined __ASSEMBLER__ safe to remove? It looks like perhaps
> this header was at some point used in assembly code for constant macro
> definitions without the functions. Not sure if this is still the case
> or if it should be worried about.
That's the sort of thing that would best be tested with
build-many-glibcs.py to see if any configurations are using <endian.h>
(possibly indirectly) in assembly source at present. It appears the
original addition of that check was because of a use in SH strlen.S, which
was removed in commit 3ce2865f93d42f4721d58088dd6ab1dac06ea85b "SH:
Replace <endian.h> usage with pre-processor macros.", but maybe there are
other places still relying on it in assembly source.
--
Joseph S. Myers
josmyers@redhat.com
More information about the Libc-alpha
mailing list