decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly
text data bss dec hex filename 1021988 559 5052 1027599 fae0f busybox_old 1021236 559 5052 1026847 fab1f busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		@@ -627,7 +627,7 @@ decode_one_format(const char *s_orig, const char *s, struct tspec *tspec)
 | 
			
		||||
				bytes_to_unsigned_dec_digits,
 | 
			
		||||
				bytes_to_hex_digits,
 | 
			
		||||
			};
 | 
			
		||||
			static const char doux_fmtstring[][sizeof(" %%0%u%s")] = {
 | 
			
		||||
			static const char doux_fmtstring[][sizeof(" %%0%u%s")] ALIGN1 = {
 | 
			
		||||
				" %%%u%s",
 | 
			
		||||
				" %%0%u%s",
 | 
			
		||||
				" %%%u%s",
 | 
			
		||||
@@ -1148,7 +1148,7 @@ dump_strings(off_t address, off_t end_offset)
 | 
			
		||||
static int
 | 
			
		||||
parse_old_offset(const char *s, off_t *offset)
 | 
			
		||||
{
 | 
			
		||||
	static const struct suffix_mult Bb[] = {
 | 
			
		||||
	static const struct suffix_mult Bb[] ALIGN_SUFFIX = {
 | 
			
		||||
		{ "B", 1024 },
 | 
			
		||||
		{ "b", 512 },
 | 
			
		||||
		{ "", 0 }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user