* [PATCH,committed] Trim trailing whitespaces in ld/pe-dll.c
@ 2010-05-15 14:24 Dave Korn
0 siblings, 0 replies; only message in thread
From: Dave Korn @ 2010-05-15 14:24 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
Hi!
The subject says it all. I committed this obvious patch after a quick
rebuild-and-test on i686-pc-cygwin so that Kai doesn't have to mix functional
and whitespace changes in his underscoring-fix patch later.
ld/ChangeLog:
* pe-dll.c: Removed trailing whitespaces.
cheers,
DaveK
[-- Attachment #2: wspc.diff --]
[-- Type: text/x-c, Size: 2026 bytes --]
Index: ld/pe-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.129
diff -p -u -r1.129 pe-dll.c
--- ld/pe-dll.c 28 Apr 2010 15:24:22 -0000 1.129
+++ ld/pe-dll.c 15 May 2010 14:06:38 -0000
@@ -185,7 +185,7 @@ typedef struct
int pe_arch;
int bfd_arch;
bfd_boolean underscored;
- const autofilter_entry_type* autofilter_symbollist;
+ const autofilter_entry_type* autofilter_symbollist;
}
pe_details_type;
@@ -222,7 +222,7 @@ static const autofilter_entry_type autof
{ STRING_COMMA_LEN ("_cygwin_crt0_common@8") },
{ STRING_COMMA_LEN ("_cygwin_noncygwin_dll_entry@12") },
{ STRING_COMMA_LEN ("cygwin_attach_dll") },
-#endif
+#endif
{ STRING_COMMA_LEN ("cygwin_premain0") },
{ STRING_COMMA_LEN ("cygwin_premain1") },
{ STRING_COMMA_LEN ("cygwin_premain2") },
@@ -573,7 +573,7 @@ auto_export (bfd *abfd, def_file *d, con
that begin with '__'; this was tried and
it is too restrictive. Instead we have
a target specific list to use: */
- afptr = pe_details->autofilter_symbollist;
+ afptr = pe_details->autofilter_symbollist;
while (afptr->name)
{
@@ -1365,7 +1365,7 @@ generate_reloc (bfd *abfd, struct bfd_li
bfd_vma sym_vma;
struct bfd_symbol *sym = *relocs[i]->sym_ptr_ptr;
- /* Don't create relocs for undefined weak symbols. */
+ /* Don't create relocs for undefined weak symbols. */
if (sym->flags == BSF_WEAK)
{
struct bfd_link_hash_entry *blhe
@@ -2422,7 +2422,7 @@ make_import_fixup_entry (const char *nam
quick_symbol (abfd, "__nm_thnk_", name, "", UNDSEC, BSF_GLOBAL, 0);
quick_symbol (abfd, U (""), symname, "_iname", UNDSEC, BSF_GLOBAL, 0);
- /* For relocator v2 we have to use the .idata$5 element and not
+ /* For relocator v2 we have to use the .idata$5 element and not
fixup_name. */
if (link_info.pei386_runtime_pseudo_reloc == 2)
quick_symbol (abfd, "__imp_", name, "", UNDSEC, BSF_GLOBAL, 0);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-15 14:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-15 14:24 [PATCH,committed] Trim trailing whitespaces in ld/pe-dll.c Dave Korn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).