[PATCH][BZ 18960] setlocale.c: Mark *_used symbols as unaligned.

Andreas Schwab schwab@suse.de
Mon Sep 28 15:00:00 GMT 2015


Rich Felker <dalias@libc.org> writes:

> Can you explain how/why you think this is needed? char has no
> alignment requirements (inherently) so as far as I can tell, the
> compiler may not make any alignment assumptions about an extern object
> of type char.

See DATA_ABI_ALIGNMENT in the gccint manual.  This is an ABI property.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list