[Top] [All Lists]

Re: ELF/Modutils problem

To: Ulf Carlsson <>
Subject: Re: ELF/Modutils problem
From: Ralf Baechle <>
Date: Wed, 27 Sep 2000 12:34:09 +0200
Cc: Brady Brown <>, Keith Owens <>, SGI news group <>
In-reply-to: <>; from on Sat, Sep 23, 2000 at 03:03:50PM -0700
References: <> <1690.969616620@ocs3.ocs-net> <> <> <> <>
On Sat, Sep 23, 2000 at 03:03:50PM -0700, Ulf Carlsson wrote:

> > It's the assembler as below text case demonstrates.
> Thanks.  I'll take a look at it.  I remember that I've looked at this
> problem once before.

This piece of gold in bfd/elf32-mips.c seems to be the problem:

/* Determine whether a symbol is global for the purposes of splitting
   the symbol table into global symbols and local symbols.  At least
   on Irix 5, this split must be between section symbols and all other
   symbols.  On most ELF targets the split is between static symbols
   and externally visible symbols.  */

static boolean
mips_elf_sym_is_global (abfd, sym)
     bfd *abfd ATTRIBUTE_UNUSED;
     asymbol *sym;
  return (sym->flags & BSF_SECTION_SYM) == 0 ? true : false;

So our objects are correct, just IRIX flavoured at this point ...  Now
for a proper fix I think I need somebody who knows IRIX ELF like his
pocket ...


<Prev in Thread] Current Thread [Next in Thread>