+Sun Oct 17 17:19:00 1999 Jeffrey A Law (law@cygnus.com)
+
+ * libhppa.h (bfd_hppa_insn2fmt): Change to return an int.
+
1999-10-08 Ian Lance Taylor <ian@zembu.com>
* elflink.h (elf_merge_symbol): When overriding a weak symbol with
static INLINE unsigned long hppa_field_adjust (unsigned long, unsigned long,
unsigned short)
__attribute__ ((__unused__));
-static INLINE char bfd_hppa_insn2fmt (unsigned long)
+static INLINE int bfd_hppa_insn2fmt (unsigned long)
__attribute__ ((__unused__));
static INLINE unsigned long hppa_rebuild_insn (bfd *, unsigned long,
unsigned long, unsigned long)
FIXME: opcodes which do not map to a known format
should return an error of some sort. */
-static INLINE char
+static INLINE int
bfd_hppa_insn2fmt (insn)
unsigned long insn;
{
- char fmt = -1;
+ char int = -1;
unsigned char op = get_opcode (insn);
switch (op)