* ldemul.c: Fix formatting.

* ldfile.c: Likewise.
	* pe-dll.c: Likewise.
	* pe-dll.h: Likewise.
This commit is contained in:
Kazu Hirata 2002-05-25 20:39:25 +00:00
parent 0d6d936fc1
commit 658957dba8
5 changed files with 17 additions and 10 deletions

View File

@ -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.

View File

@ -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);
}

View File

@ -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)))
{

View File

@ -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;

View File

@ -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 */