Add prototypes for fixup swapping functions.

Change prototype of cgen_asm_finish_insn to return a char *
This commit is contained in:
Nick Clifton
1998-01-23 01:57:11 +00:00
parent f7124cf258
commit 810d9833fb
2 changed files with 15 additions and 3 deletions
include/opcode

@ -1,3 +1,9 @@
Thu Jan 22 17:54:56 1998 Nick Clifton <nickc@cygnus.com>
* cgen.h: Add prototypes for cgen_save_fixups(),
cgen_restore_fixups(), and cgen_swap_fixups(). Change prototype
of cgen_asm_finish_insn() to return a char *.
Wed Jan 14 17:21:43 1998 Nick Clifton <nickc@cygnus.com> Wed Jan 14 17:21:43 1998 Nick Clifton <nickc@cygnus.com>
* cgen.h: Formatting changes to improve readability. * cgen.h: Formatting changes to improve readability.

@ -316,14 +316,20 @@ const char *cgen_parse_operand PARAMS ((enum cgen_parse_operand_type,
bfd_vma *)); bfd_vma *));
#endif #endif
void cgen_save_fixups ();
void cgen_restore_fixups ();
void cgen_swap_fixups ();
/* Add a register to the assembler's hash table. /* Add a register to the assembler's hash table.
This makes lets GAS parse registers for us. This makes lets GAS parse registers for us.
??? This isn't currently used, but it could be in the future. */ ??? This isn't currently used, but it could be in the future. */
void cgen_asm_record_register PARAMS ((char *, int)); void cgen_asm_record_register PARAMS ((char *, int));
/* After CGEN_SYM (assemble_insn) is done, this is called to /* After CGEN_SYM (assemble_insn) is done, this is called to
output the insn and record any fixups. */ output the insn and record any fixups. The address of the
void cgen_asm_finish_insn PARAMS ((const struct cgen_insn *, cgen_insn_t *, assembled instruction is returned in case it is needed by
the caller. */
char * cgen_asm_finish_insn PARAMS ((const struct cgen_insn *, cgen_insn_t *,
unsigned int)); unsigned int));
/* Operand values (keywords, integers, symbols, etc.) */ /* Operand values (keywords, integers, symbols, etc.) */