Back to index

cell-binutils  2.17cvs20070401
Defines | Functions
tc-or32.h File Reference

Go to the source code of this file.

Defines

#define TC_OR32
#define TARGET_BYTES_BIG_ENDIAN   1
#define LEX_DOLLAR   1
#define tc_unrecognized_line(c)   or32_unrecognized_line (c)
#define tc_coff_symbol_emit_hook(a)   ; /* Not used. */
#define COFF_MAGIC   SIPFBOMAGIC
#define EXTERN_FORCE_RELOC   0
#define ZERO_BASED_SEGMENTS

Functions

int or32_unrecognized_line (int)

Define Documentation

#define COFF_MAGIC   SIPFBOMAGIC

Definition at line 45 of file tc-or32.h.

#define EXTERN_FORCE_RELOC   0

Definition at line 49 of file tc-or32.h.

#define LEX_DOLLAR   1

Definition at line 27 of file tc-or32.h.

#define TARGET_BYTES_BIG_ENDIAN   1

Definition at line 25 of file tc-or32.h.

#define tc_coff_symbol_emit_hook (   a)    ; /* Not used. */

Definition at line 43 of file tc-or32.h.

#define TC_OR32

Definition at line 23 of file tc-or32.h.

Definition at line 39 of file tc-or32.h.

Definition at line 56 of file tc-or32.h.


Function Documentation

Definition at line 811 of file tc-or32.c.

{
  int lab;
  char *s;

  if (c != '$'
      || ! ISDIGIT ((unsigned char) input_line_pointer[0]))
    return 0;

  s = input_line_pointer;

  lab = 0;
  while (ISDIGIT ((unsigned char) *s))
    {
      lab = lab * 10 + *s - '0';
      ++s;
    }

  if (*s != ':')
    /* Not a label definition.  */
    return 0;

  if (dollar_label_defined (lab))
    {
      as_bad (_("label \"$%d\" redefined"), lab);
      return 0;
    }

  define_dollar_label (lab);
  colon (dollar_label_name (lab, 0));
  input_line_pointer = s + 1;

  return 1;
}

Here is the call graph for this function: