On Tuesday 14 August 2012 17:48:46 Roland McGrath wrote: > > + Elf32_Addr x; > > + } __attribute__((packed, may_alias)); > > We put a space between __attribute__ and ((. committed this: diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index 6775af4..9434a53 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -1,5 +1,9 @@ 2012-08-12 Mike Frysinger + * sysdeps/arm/dl-machine.h (elf_machine_rel) [R_ARM_ABS32]: Fix style. + +2012-08-12 Mike Frysinger + * sysdeps/arm/dl-machine.h (elf_machine_rel) [R_ARM_ABS32]: Declare a new unaligned struct. Cast reloc_addr to that when updating the value it points to. diff --git a/ports/sysdeps/arm/dl-machine.h b/ports/sysdeps/arm/dl-machine.h index ca66e83..343a83e 100644 --- a/ports/sysdeps/arm/dl-machine.h +++ b/ports/sysdeps/arm/dl-machine.h @@ -416,7 +416,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc, struct unaligned { Elf32_Addr x; - } __attribute__((packed, may_alias)); + } __attribute__ ((packed, may_alias)); # ifndef RTLD_BOOTSTRAP /* This is defined in rtld.c, but nowhere in the static libc.a; make the reference weak so static programs can