aboutsummaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-06-02 13:43:24 +0000
committerNick Clifton <nickc@redhat.com>2011-06-02 13:43:24 +0000
commitcc643b88f142802bf907b2f28ff47c4d1bf55e8b (patch)
tree5c8a5339fd1d59cb602ea4d452658e69fbe9bad1 /binutils/windres.c
parent4c422395e61397529b6bbafc7fa5c0e28b4c56dc (diff)
downloadgdb-cc643b88f142802bf907b2f28ff47c4d1bf55e8b.zip
gdb-cc643b88f142802bf907b2f28ff47c4d1bf55e8b.tar.gz
gdb-cc643b88f142802bf907b2f28ff47c4d1bf55e8b.tar.bz2
Fix spelling mistakes.
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index 4b40c97..b30ced9 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -54,7 +54,7 @@ int verbose = 0;
int target_is_bigendian = 0;
const char *def_target_arch;
-static void set_endianess (bfd *, const char *);
+static void set_endianness (bfd *, const char *);
/* An enumeration of format types. */
@@ -1049,7 +1049,7 @@ main (int argc, char **argv)
output_format = format_from_filename (output_filename, 0);
}
- set_endianess (NULL, target);
+ set_endianness (NULL, target);
/* Read the input file. */
switch (input_format)
@@ -1098,7 +1098,7 @@ main (int argc, char **argv)
}
static void
-set_endianess (bfd *abfd, const char *target)
+set_endianness (bfd *abfd, const char *target)
{
const bfd_target *target_vec;
@@ -1106,7 +1106,7 @@ set_endianess (bfd *abfd, const char *target)
target_vec = bfd_get_target_info (target, abfd, &target_is_bigendian, NULL,
&def_target_arch);
if (! target_vec)
- fatal ("Can't detect target endianess and architecture.");
+ fatal ("Can't detect target endianness and architecture.");
if (! def_target_arch)
fatal ("Can't detect architecture.");
}
@@ -1127,7 +1127,7 @@ windres_open_as_binary (const char *filename, int rdmode)
}
void
-set_windres_bfd_endianess (windres_bfd *wrbfd, int is_bigendian)
+set_windres_bfd_endianness (windres_bfd *wrbfd, int is_bigendian)
{
assert (!! wrbfd);
switch (WR_KIND(wrbfd))