From 7bfd51a382bbcb70b81769e491b317ea7d31df25 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 9 Oct 2000 15:46:45 +0000 Subject: [PATCH] 2000-10-09 Kazu Hirata * pe-dll.c: Revert some formatting fixes. --- ld/ChangeLog | 4 +++- ld/pe-dll.c | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 2ed5096..1cba217 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -12,7 +12,9 @@ * ldlang.c: Likewise. * ldlang.h: Likewise. * ldmain.c: Likewise. - * pe-dll.c: Fix formatting. + * pe-dll.c: Likewise. + + * pe-dll.c: Revert some formatting fixes. 2000-10-08 Kazu Hirata diff --git a/ld/pe-dll.c b/ld/pe-dll.c index cabe03a..da3bd9f 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -84,8 +84,7 @@ typedef struct { int pe_arch; int bfd_arch; int underscored; -} -pe_details_type; +} pe_details_type; #define PE_ARCH_i386 1 #define PE_ARCH_sh 2 @@ -159,8 +158,7 @@ typedef struct { bfd_vma vma; char type; short extra; -} -reloc_data_type; +} reloc_data_type; static int reloc_sort (va, vb) @@ -204,8 +202,7 @@ static int *exported_symbols; typedef struct exclude_list_struct { char *string; struct exclude_list_struct *next; -} -exclude_list_struct; +} exclude_list_struct; static struct exclude_list_struct *excludes = 0; @@ -848,6 +845,9 @@ generate_reloc (abfd, info) free (relocs); /* Warning: the allocated symbols are remembered in BFD and reused later, so don't free them! */ +#if 0 + free (symbol); +#endif } } -- 2.7.4