This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] ld/*.[ch]: Fix formatting.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: binutils at sources dot redhat dot com
- Date: Sat, 25 May 2002 16:39:07 -0400 (EDT)
- Subject: [patch] ld/*.[ch]: Fix formatting.
Hi,
Attached is a patch to fix formatting. Committed as obvious.
Kazu Hirata
2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
* ldemul.c: Fix formatting.
* ldfile.c: Likewise.
* pe-dll.c: Likewise.
* pe-dll.h: Likewise.
Index: ldemul.c
===================================================================
RCS file: /cvs/src/src/ld/ldemul.c,v
retrieving revision 1.9
diff -u -r1.9 ldemul.c
--- ldemul.c 22 May 2002 09:01:56 -0000 1.9
+++ ldemul.c 25 May 2002 20:35:57 -0000
@@ -170,8 +170,8 @@
char *
ldemul_choose_target (argc, argv)
- int argc;
- char **argv;
+ int argc;
+ char **argv;
{
return ld_emulation->choose_target (argc, argv);
}
Index: ldfile.c
===================================================================
RCS file: /cvs/src/src/ld/ldfile.c,v
retrieving revision 1.16
diff -u -r1.16 ldfile.c
--- ldfile.c 10 May 2002 21:20:13 -0000 1.16
+++ ldfile.c 25 May 2002 20:35:59 -0000
@@ -136,7 +136,7 @@
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)))
{
Index: pe-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.40
diff -u -r1.40 pe-dll.c
--- pe-dll.c 22 May 2002 18:03:07 -0000 1.40
+++ pe-dll.c 25 May 2002 20:36:09 -0000
@@ -233,7 +233,7 @@
{ "libmingw32.", 11 },
{ "libg2c.", 7 },
{ "libsupc++.", 10 },
- { "libobjc.", 8 },
+ { "libobjc.", 8 },
{ NULL, 0 }
};
@@ -373,7 +373,7 @@
{
char *string;
struct exclude_list_struct *next;
- int type;
+ int type;
}
exclude_list_struct;
@@ -382,7 +382,7 @@
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 @@
/* First of all, make context checks:
Don't export anything from standard libs. */
- if (libname)
+ if (libname)
{
afptr = autofilter_liblist;
@@ -516,7 +516,7 @@
return 0;
}
else if (strcmp (n, ex->string) == 0)
- return 0;
+ return 0;
}
return 1;
Index: pe-dll.h
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.h,v
retrieving revision 1.6
diff -u -r1.6 pe-dll.h
--- pe-dll.h 22 May 2002 18:03:07 -0000 1.6
+++ pe-dll.h 25 May 2002 20:36:09 -0000
@@ -47,8 +47,8 @@
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 */