From 70265df9e46677235ca39aeb1e9d52b6f3ae406c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 7 Jul 2005 23:35:39 +0000 Subject: clean up whitespace --- ldso/include/dl-elf.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'ldso/include') diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h index a3e453f58..d23a39ef2 100644 --- a/ldso/include/dl-elf.h +++ b/ldso/include/dl-elf.h @@ -125,21 +125,19 @@ void __dl_parse_dynamic_info(ElfW(Dyn) *dpnt, unsigned long dynamic_info[], void } #endif } -# define ADJUST_DYN_INFO(tag, load_off) \ +#define ADJUST_DYN_INFO(tag, load_off) \ do { \ if (dynamic_info[tag]) \ dynamic_info[tag] += load_off; \ } while(0) - - ADJUST_DYN_INFO (DT_HASH, load_off); - ADJUST_DYN_INFO (DT_PLTGOT, load_off); - ADJUST_DYN_INFO (DT_STRTAB, load_off); - ADJUST_DYN_INFO (DT_SYMTAB, load_off); - ADJUST_DYN_INFO (DT_RELOC_TABLE_ADDR, load_off); - ADJUST_DYN_INFO (DT_JMPREL, load_off); -# undef ADJUST_DYN_INFO - - } + ADJUST_DYN_INFO(DT_HASH, load_off); + ADJUST_DYN_INFO(DT_PLTGOT, load_off); + ADJUST_DYN_INFO(DT_STRTAB, load_off); + ADJUST_DYN_INFO(DT_SYMTAB, load_off); + ADJUST_DYN_INFO(DT_RELOC_TABLE_ADDR, load_off); + ADJUST_DYN_INFO(DT_JMPREL, load_off); +#undef ADJUST_DYN_INFO +} /* Reloc type classes as returned by elf_machine_type_class(). ELF_RTYPE_CLASS_PLT means this reloc should not be satisfied by -- cgit v1.2.3