This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ 18960] setlocale.c: Mark *_used symbols as unaligned.
- From: Andreas Schwab <schwab at suse dot de>
- To: Rich Felker <dalias at libc dot org>
- Cc: Marcin KoÅcielnicki <koriakin at 0x04 dot net>, libc-alpha at sourceware dot org
- Date: Mon, 28 Sep 2015 17:00:24 +0200
- Subject: Re: [PATCH][BZ 18960] setlocale.c: Mark *_used symbols as unaligned.
- Authentication-results: sourceware.org; auth=none
- References: <1443360385-20079-1-git-send-email-koriakin at 0x04 dot net> <20150928141824 dot GX17773 at brightrain dot aerifal dot cx>
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."