aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-10-09 15:46:45 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-10-09 15:46:45 +0000
commit7bfd51a382bbcb70b81769e491b317ea7d31df25 (patch)
tree9105830f0820242b91e6d915b183c177c1e80113 /ld
parent89cdebba1358d2b68fe98449be80bbc3338ebda5 (diff)
downloadgdb-7bfd51a382bbcb70b81769e491b317ea7d31df25.zip
gdb-7bfd51a382bbcb70b81769e491b317ea7d31df25.tar.gz
gdb-7bfd51a382bbcb70b81769e491b317ea7d31df25.tar.bz2
2000-10-09 Kazu Hirata <kazu@hxi.com>
* pe-dll.c: Revert some formatting fixes.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/pe-dll.c12
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 <kazu@hxi.com>
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
}
}