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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [cpu/] [common/] [parse.c] - Diff between revs 19 and 82

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

Rev 19 Rev 82
Line 450... Line 450...
      /* check whether this symbol belongs to a section and is external
      /* check whether this symbol belongs to a section and is external
         symbol; ignore all others */
         symbol; ignore all others */
      if (COFF_SHORT_H (coffsymhdr.e_scnum) >= 0
      if (COFF_SHORT_H (coffsymhdr.e_scnum) >= 0
          && coffsymhdr.e_sclass[0] == C_EXT)
          && coffsymhdr.e_sclass[0] == C_EXT)
        {
        {
          if (*((uint32_t *) coffsymhdr.e.e.e_zeroes))
          uint32_t *ref = ((uint32_t *) coffsymhdr.e.e.e_zeroes);
 
          if (*ref)
            {
            {
              if (strlen (coffsymhdr.e.e_name)
              if (strlen (coffsymhdr.e.e_name)
                  && strlen (coffsymhdr.e.e_name) < 9)
                  && strlen (coffsymhdr.e.e_name) < 9)
                add_label (COFF_LONG_H (coffsymhdr.e_value),
                add_label (COFF_LONG_H (coffsymhdr.e_value),
                           coffsymhdr.e.e_name);
                           coffsymhdr.e.e_name);

powered by: WebSVN 2.1.0

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