From 9770df4f12343901621436a7d4f6c43f9ae635a0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Aug 2012 21:38:15 -0400 Subject: [PATCH] arm: fix up style in reloc fix Signed-off-by: Mike Frysinger --- ports/ChangeLog.arm | 4 ++++ ports/sysdeps/arm/dl-machine.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.7.4