diff options
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 9a88106..f9f17f7 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -310,7 +310,7 @@ byte_get_little_endian (unsigned char *field, int size) /* This is a special case, generated by the BYTE_GET8 macro. It means that we are loading an 8 byte value from a field in an external structure into an 8 byte value in a field - in an internal strcuture. */ + in an internal structure. */ return ((bfd_vma) (field[0])) | (((bfd_vma) (field[1])) << 8) | (((bfd_vma) (field[2])) << 16) @@ -536,7 +536,7 @@ byte_get_big_endian (unsigned char *field, int size) /* This is a special case, generated by the BYTE_GET8 macro. It means that we are loading an 8 byte value from a field in an external structure into an 8 byte value in a field - in an internal strcuture. */ + in an internal structure. */ return ((bfd_vma) (field[7])) | (((bfd_vma) (field[6])) << 8) | (((bfd_vma) (field[5])) << 16) @@ -6847,7 +6847,7 @@ get_FORM_name (unsigned long form) } } -/* FIXME: There are better and more effiecint ways to handle +/* FIXME: There are better and more efficient ways to handle these structures. For now though, I just want something that is simple to implement. */ typedef struct abbrev_attr @@ -7541,7 +7541,7 @@ display_debug_loc (Elf_Internal_Shdr *section, /* Normally, the lists in the debug_loc section are related to a given compilation unit, and thus, we would use the pointer size of that compilation unit. However, since we are displaying it - seperately here, we either have to store pointer sizes of all + separately here, we either have to store pointer sizes of all compilation units, or assume they don't change. We assume, like the debug_line display, that it doesn't change. */ begin = byte_get (start, debug_line_pointer_size); @@ -7843,7 +7843,7 @@ read_and_display_attr_value (unsigned long attribute, break; } - /* For some attributes we can display futher information. */ + /* For some attributes we can display further information. */ printf ("\t"); @@ -10135,7 +10135,7 @@ get_file_header (FILE *file) /* If we have been compiled with sizeof (bfd_vma) == 4, then we will not be able to cope with the 64bit data found in 64 ELF files. Detect this now and abort before we start - overwritting things. */ + overwriting things. */ if (sizeof (bfd_vma) < 8) { error (_("This instance of readelf has been built without support for a\n\ |