URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Show entire file |
Details |
Blame |
View Log
Rev 157 |
Rev 225 |
Line 330... |
Line 330... |
/* This is a hack to get the minimal symbol type
|
/* This is a hack to get the minimal symbol type
|
right for Irix 5, which has absolute addresses
|
right for Irix 5, which has absolute addresses
|
with special section indices for dynamic symbols.
|
with special section indices for dynamic symbols.
|
|
|
NOTE: uweigand-20071112: Synthetic symbols do not
|
NOTE: uweigand-20071112: Synthetic symbols do not
|
have an ELF-private part, so do not touch those. */
|
have an ELF-private part, so do not touch those.
|
unsigned short shndx = type == ST_SYNTHETIC ? 0 :
|
|
|
JPB - updated to use int rather than short for compatiblity
|
|
with latest binutils. */
|
|
unsigned int shndx = type == ST_SYNTHETIC ? 0 :
|
((elf_symbol_type *) sym)->internal_elf_sym.st_shndx;
|
((elf_symbol_type *) sym)->internal_elf_sym.st_shndx;
|
|
|
switch (shndx)
|
switch (shndx)
|
{
|
{
|
case SHN_MIPS_TEXT:
|
case SHN_MIPS_TEXT:
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.