aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-11 09:28:45 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-11 09:28:45 +0000
commit9ebbd33e6f697c41861bdf9f3da0e4ffc5507cee (patch)
treef64ea3935ab8b9e4e14b2cbb5ec3c039e79c7bf8 /bfd/libbfd.c
parent65388f2d50331d138183307a91ebaa50ef608006 (diff)
downloadgdb-9ebbd33e6f697c41861bdf9f3da0e4ffc5507cee.zip
gdb-9ebbd33e6f697c41861bdf9f3da0e4ffc5507cee.tar.gz
gdb-9ebbd33e6f697c41861bdf9f3da0e4ffc5507cee.tar.bz2
* libbfd.c (bfd_put_8): Make it of type `void'.
* bfd-in2.h: Regenerated. * elf32-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Conditionalize for 32-bit hosts. (_bfd_mips_elf_final_link): Likewise.
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r--bfd/libbfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index 23a27e3..d2fee39 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -792,7 +792,7 @@ DESCRIPTION
.{* Byte swapping macros for user section data. *}
.
.#define bfd_put_8(abfd, val, ptr) \
-. (*((unsigned char *)(ptr)) = (unsigned char)(val))
+. ((void) (*((unsigned char *)(ptr)) = (unsigned char)(val)))
.#define bfd_put_signed_8 \
. bfd_put_8
.#define bfd_get_8(abfd, ptr) \