URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
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);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.