OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gas/] [cgen.h] - Diff between revs 147 and 163

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 147 Rev 163
Line 1... Line 1...
/* GAS cgen support.
/* GAS cgen support.
   Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007
   Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2011
   Free Software Foundation, Inc.
   Free Software Foundation, Inc.
 
 
   This file is part of GAS, the GNU Assembler.
   This file is part of GAS, the GNU Assembler.
 
 
   GAS is free software; you can redistribute it and/or modify
   GAS is free software; you can redistribute it and/or modify
Line 30... Line 30...
#ifndef GAS_CGEN_MAX_FIXUPS
#ifndef GAS_CGEN_MAX_FIXUPS
#define GAS_CGEN_MAX_FIXUPS 3
#define GAS_CGEN_MAX_FIXUPS 3
#endif
#endif
 
 
/* Struct defining result of gas_cgen_finish_insn.  */
/* Struct defining result of gas_cgen_finish_insn.  */
typedef struct {
typedef struct
  /* frag containing the insn */
{
 
  /* Frag containing the insn */
  fragS * frag;
  fragS * frag;
  /* Address of insn in frag.  */
  /* Address of insn in frag.  */
  char * addr;
  char * addr;
  /* Number of fixups this insn has.  */
  /* Number of fixups this insn has.  */
  int num_fixups;
  int num_fixups;
Line 78... Line 79...
                                     symbolS *, offsetT);
                                     symbolS *, offsetT);
extern fixS * gas_cgen_record_fixup_exp (fragS *, int, const CGEN_INSN *,
extern fixS * gas_cgen_record_fixup_exp (fragS *, int, const CGEN_INSN *,
                                         int, const CGEN_OPERAND *, int,
                                         int, const CGEN_OPERAND *, int,
                                         expressionS *);
                                         expressionS *);
 
 
/* md_apply_fix handler */
extern bfd_reloc_code_real_type gas_cgen_pcrel_r_type (bfd_reloc_code_real_type);
 
 
 
/* md_apply_fix handler.  */
extern void gas_cgen_md_apply_fix (fixS *, valueT *, segT);
extern void gas_cgen_md_apply_fix (fixS *, valueT *, segT);
 
 
/* tc_gen_reloc handler */
/* tc_gen_reloc handler.  */
extern arelent *gas_cgen_tc_gen_reloc (asection *, fixS *);
extern arelent *gas_cgen_tc_gen_reloc (asection *, fixS *);
 
 
/* Target supplied routine to lookup a reloc.  */
/* Target supplied routine to lookup a reloc.  */
extern bfd_reloc_code_real_type
extern bfd_reloc_code_real_type
md_cgen_lookup_reloc (const CGEN_INSN *, const CGEN_OPERAND *, fixS *);
md_cgen_lookup_reloc (const CGEN_INSN *, const CGEN_OPERAND *, fixS *);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.