URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 163 |
Rev 166 |
Line 2662... |
Line 2662... |
if (size == 0)
|
if (size == 0)
|
return TRUE;
|
return TRUE;
|
|
|
fill = link_order->u.data.contents;
|
fill = link_order->u.data.contents;
|
fill_size = link_order->u.data.size;
|
fill_size = link_order->u.data.size;
|
if (fill_size != 0 && fill_size < size)
|
if (fill_size == 0)
|
|
{
|
|
fill = abfd->arch_info->fill (size, bfd_big_endian (abfd),
|
|
(sec->flags & SEC_CODE) != 0);
|
|
if (fill == NULL)
|
|
return FALSE;
|
|
}
|
|
else if (fill_size < size)
|
{
|
{
|
bfd_byte *p;
|
bfd_byte *p;
|
fill = (bfd_byte *) bfd_malloc (size);
|
fill = (bfd_byte *) bfd_malloc (size);
|
if (fill == NULL)
|
if (fill == NULL)
|
return FALSE;
|
return FALSE;
|
Line 3199... |
Line 3206... |
section if that will result in a positive valued sym. */
|
section if that will result in a positive valued sym. */
|
if (h->u.def.value < op->vma)
|
if (h->u.def.value < op->vma)
|
op = op1;
|
op = op1;
|
}
|
}
|
|
|
|
/* Refuse to choose a section for which we are out of bounds. */
|
|
/* ??? This may make most of the above moot. */
|
|
if (h->u.def.value < op->vma
|
|
|| h->u.def.value > op->vma + op->size)
|
|
op = bfd_abs_section_ptr;
|
|
|
h->u.def.value -= op->vma;
|
h->u.def.value -= op->vma;
|
h->u.def.section = op;
|
h->u.def.section = op;
|
}
|
}
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.