aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/ldemul.c4
-rw-r--r--ld/ldfile.c2
-rw-r--r--ld/pe-dll.c10
-rw-r--r--ld/pe-dll.h4
5 files changed, 17 insertions, 10 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 563a499..933d516 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
+
+ * ldemul.c: Fix formatting.
+ * ldfile.c: Likewise.
+ * pe-dll.c: Likewise.
+ * pe-dll.h: Likewise.
+
2002-05-25 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (lang_process): Formatting, grammar.
diff --git a/ld/ldemul.c b/ld/ldemul.c
index abf3419..c90673b 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -170,8 +170,8 @@ ldemul_recognized_file (entry)
char *
ldemul_choose_target (argc, argv)
- int argc;
- char **argv;
+ int argc;
+ char **argv;
{
return ld_emulation->choose_target (argc, argv);
}
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 7258bb1..095974c 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -136,7 +136,7 @@ ldfile_try_open_bfd (attempt, entry)
if ((bfd_arch_get_compatible (check, output_bfd) == NULL)
/* XCOFF archives can have 32 and 64 bit objects */
&& ! (bfd_get_flavour (check) == bfd_target_xcoff_flavour
- && bfd_get_flavour (output_bfd) ==
+ && bfd_get_flavour (output_bfd) ==
bfd_target_xcoff_flavour
&& bfd_check_format (entry->the_bfd, bfd_archive)))
{
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 62c452c..fd70c78 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -233,7 +233,7 @@ static autofilter_entry_type autofilter_liblist[] =
{ "libmingw32.", 11 },
{ "libg2c.", 7 },
{ "libsupc++.", 10 },
- { "libobjc.", 8 },
+ { "libobjc.", 8 },
{ NULL, 0 }
};
@@ -373,7 +373,7 @@ typedef struct exclude_list_struct
{
char *string;
struct exclude_list_struct *next;
- int type;
+ int type;
}
exclude_list_struct;
@@ -382,7 +382,7 @@ static struct exclude_list_struct *excludes = 0;
void
pe_dll_add_excludes (new_excludes, type)
const char *new_excludes;
- const int type;
+ const int type;
{
char *local_copy;
char *exclude_string;
@@ -442,7 +442,7 @@ auto_export (abfd, d, n)
/* First of all, make context checks:
Don't export anything from standard libs. */
- if (libname)
+ if (libname)
{
afptr = autofilter_liblist;
@@ -516,7 +516,7 @@ auto_export (abfd, d, n)
return 0;
}
else if (strcmp (n, ex->string) == 0)
- return 0;
+ return 0;
}
return 1;
diff --git a/ld/pe-dll.h b/ld/pe-dll.h
index b651f8d..3c1dd40 100644
--- a/ld/pe-dll.h
+++ b/ld/pe-dll.h
@@ -47,8 +47,8 @@ extern void pe_dll_fill_sections PARAMS ((bfd *, struct bfd_link_info *));
extern void pe_exe_fill_sections PARAMS ((bfd *, struct bfd_link_info *));
extern void pe_walk_relocs_of_symbol PARAMS ((struct bfd_link_info * info,
- CONST char *name,
- int (*cb) (arelent *, asection *)));
+ CONST char *name,
+ int (*cb) (arelent *, asection *)));
extern void pe_create_import_fixup PARAMS ((arelent * rel));
#endif /* PE_DLL_H */