aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Holcomb <jeffh@redhat.com>2001-10-17 01:44:50 +0000
committerJeff Holcomb <jeffh@redhat.com>2001-10-17 01:44:50 +0000
commit3f1c8673e3944460e337d4b9166259d9138737f9 (patch)
tree6304f6ff7872a71e9d2b698efa957076e74305af
parentdf22989b954575de2046b8c0e169850f1528a021 (diff)
downloadgdb-3f1c8673e3944460e337d4b9166259d9138737f9.zip
gdb-3f1c8673e3944460e337d4b9166259d9138737f9.tar.gz
gdb-3f1c8673e3944460e337d4b9166259d9138737f9.tar.bz2
2001-10-16 Jeff Holcomb <jeffh@redhat.com>
* internal.h (elf_internal_shdr): Make contents a unsigned char *.
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/internal.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index e9032aa..ab09f46 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-16 Jeff Holcomb <jeffh@redhat.com>
+
+ * internal.h (elf_internal_shdr): Make contents a unsigned char *.
+
2001-09-18 Alan Modra <amodra@bigpond.net.au>
* internal.h (elf_internal_rela): Make r_addend a bfd_vma.
diff --git a/include/elf/internal.h b/include/elf/internal.h
index 6d26315..65e9d67 100644
--- a/include/elf/internal.h
+++ b/include/elf/internal.h
@@ -98,7 +98,7 @@ typedef struct elf_internal_shdr {
/* The internal rep also has some cached info associated with it. */
asection * bfd_section; /* Associated BFD section. */
- PTR contents; /* Section contents. */
+ unsigned char *contents; /* Section contents. */
} Elf_Internal_Shdr;
#define elf32_internal_shdr elf_internal_shdr