diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-21 18:40:21 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-21 18:40:21 +0000 |
commit | 23ccc829e251d20c40a4337d2ae6057a0bb951aa (patch) | |
tree | 8489640a320e25e899ca20945f20aec842fc5f19 /bfd/elf32-m32r.c | |
parent | 8c603c85a1a36ac618c2f03d69686a7985a5ab77 (diff) | |
download | gdb-23ccc829e251d20c40a4337d2ae6057a0bb951aa.zip gdb-23ccc829e251d20c40a4337d2ae6057a0bb951aa.tar.gz gdb-23ccc829e251d20c40a4337d2ae6057a0bb951aa.tar.bz2 |
Fixes to allow sources to compile under Solaris 2.8
Diffstat (limited to 'bfd/elf32-m32r.c')
-rw-r--r-- | bfd/elf32-m32r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c index 307bdc7..5b2d63f 100644 --- a/bfd/elf32-m32r.c +++ b/bfd/elf32-m32r.c @@ -578,7 +578,7 @@ m32r_elf_generic_reloc (input_bfd, reloc_entry, symbol, data, PTR data; asection *input_section; bfd *output_bfd; - char **error_message; + char **error_message ATTRIBUTE_UNUSED; { bfd_reloc_status_type ret; bfd_vma relocation; @@ -624,7 +624,7 @@ m32r_elf_generic_reloc (input_bfd, reloc_entry, symbol, data, } relocation += reloc_entry->addend; - inplace_address = data + reloc_entry->address; + inplace_address = (bfd_byte *) data + reloc_entry->address; #define DOIT(x) \ x = ( (x & ~reloc_entry->howto->dst_mask) | \ |