Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Bradley D. LaRonde" <brad@laronde.org>
To: "Joakim Tjernlund" <joakim.tjernlund@lumentis.se>,
	"Daniel Jacobowitz" <dan@debian.org>
Cc: <uclibc@uclibc.org>, "Richard Sandiford" <rsandifo@redhat.com>,
	<linux-mips@linux-mips.org>
Subject: Re: [uClibc] Re: uclibc mips ld.so and undefined symbols with nonzerosymbol table entry st_value
Date: Tue, 11 May 2004 12:55:27 -0400	[thread overview]
Message-ID: <053f01c43778$c2903390$8d01010a@prefect> (raw)
In-Reply-To: JPEALJAFNGDDLOPNDIEEIEFKCIAA.joakim.tjernlund@lumentis.se

----- Original Message ----- 
From: "Joakim Tjernlund" <joakim.tjernlund@lumentis.se>
To: "Bradley D. LaRonde" <brad@laronde.org>; "Daniel Jacobowitz"
<dan@debian.org>
Cc: <uclibc@uclibc.org>; "Richard Sandiford" <rsandifo@redhat.com>;
<linux-mips@linux-mips.org>
Sent: Tuesday, May 11, 2004 12:33 PM
Subject: RE: [uClibc] Re: uclibc mips ld.so and undefined symbols with
nonzerosymbol table entry st_value


> > >
> > > Probably, since MIPS doesn't have a copy reloc.
> >
> > How about the other copy reloc right below there:
> >
> >     else if (sym->st_shndx == SHN_COMMON) {
> >       *got_entry = (unsigned long) _dl_find_hash(strtab +
> >         sym->st_name, tpnt->symbol_scope, ELF_RTYPE_CLASS_COPY);
> >     }
> >
> > ?
>
> Perhaps DL_NO_COPY_RELOCS should be defined for MIPS then?
> see ldso/include/dl-elf.h.

For mips glibc 2.3.3 does:

#define elf_machine_type_class(type)            ELF_RTYPE_CLASS_PLT

and never uses ELF_RTYPE_CLASS_COPY directly (though it does use
ELF_RTYPE_CLASS_PLT directly).

Regards,
Brad

WARNING: multiple messages have this Message-ID (diff)
From: "Bradley D. LaRonde" <brad@laronde.org>
To: Joakim Tjernlund <joakim.tjernlund@lumentis.se>,
	Daniel Jacobowitz <dan@debian.org>
Cc: uclibc@uclibc.org, Richard Sandiford <rsandifo@redhat.com>,
	linux-mips@linux-mips.org
Subject: Re: [uClibc] Re: uclibc mips ld.so and undefined symbols with nonzerosymbol table entry st_value
Date: Tue, 11 May 2004 12:55:27 -0400	[thread overview]
Message-ID: <053f01c43778$c2903390$8d01010a@prefect> (raw)
Message-ID: <20040511165527.bhSQ2vDl83KzNWWCh-pS9ESZCJjrTzYZ5LPkahWT_XE@z> (raw)
In-Reply-To: JPEALJAFNGDDLOPNDIEEIEFKCIAA.joakim.tjernlund@lumentis.se

----- Original Message ----- 
From: "Joakim Tjernlund" <joakim.tjernlund@lumentis.se>
To: "Bradley D. LaRonde" <brad@laronde.org>; "Daniel Jacobowitz"
<dan@debian.org>
Cc: <uclibc@uclibc.org>; "Richard Sandiford" <rsandifo@redhat.com>;
<linux-mips@linux-mips.org>
Sent: Tuesday, May 11, 2004 12:33 PM
Subject: RE: [uClibc] Re: uclibc mips ld.so and undefined symbols with
nonzerosymbol table entry st_value


> > >
> > > Probably, since MIPS doesn't have a copy reloc.
> >
> > How about the other copy reloc right below there:
> >
> >     else if (sym->st_shndx == SHN_COMMON) {
> >       *got_entry = (unsigned long) _dl_find_hash(strtab +
> >         sym->st_name, tpnt->symbol_scope, ELF_RTYPE_CLASS_COPY);
> >     }
> >
> > ?
>
> Perhaps DL_NO_COPY_RELOCS should be defined for MIPS then?
> see ldso/include/dl-elf.h.

For mips glibc 2.3.3 does:

#define elf_machine_type_class(type)            ELF_RTYPE_CLASS_PLT

and never uses ELF_RTYPE_CLASS_COPY directly (though it does use
ELF_RTYPE_CLASS_PLT directly).

Regards,
Brad

  parent reply	other threads:[~2004-05-11 16:55 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-03 21:25 uclibc mips ld.so and undefined symbols with nonzero symbol table entry st_value Bradley D. LaRonde
2004-05-03 21:25 ` Bradley D. LaRonde
2004-05-09 13:14 ` Richard Sandiford
2004-05-09 13:14   ` Richard Sandiford
2004-05-09 20:52   ` Bradley D. LaRonde
2004-05-09 20:52     ` Bradley D. LaRonde
2004-05-10  7:40     ` Richard Sandiford
2004-05-10  7:40       ` Richard Sandiford
2004-05-10 18:05       ` Bradley D. LaRonde
2004-05-10 18:05         ` Bradley D. LaRonde
2004-05-10 18:21         ` Richard Sandiford
2004-05-10 18:21           ` Richard Sandiford
2004-05-10 20:36           ` Bradley D. LaRonde
2004-05-10 20:36             ` Bradley D. LaRonde
2004-05-10 20:41             ` Richard Sandiford
2004-05-10 20:41               ` Richard Sandiford
2004-05-10 20:44               ` Richard Sandiford
2004-05-10 20:44                 ` Richard Sandiford
2004-05-11  3:39               ` Bradley D. LaRonde
2004-05-11  3:39                 ` Bradley D. LaRonde
2004-05-11  5:48                 ` [uClibc] Re: uclibc mips ld.so and undefined symbols with nonzerosymbol " Joakim Tjernlund
2004-05-11  5:48                   ` Joakim Tjernlund
2004-05-11 14:03                 ` uclibc mips ld.so and undefined symbols with nonzero symbol " Daniel Jacobowitz
2004-05-11 14:21                   ` Bradley D. LaRonde
2004-05-11 14:21                     ` Bradley D. LaRonde
2004-05-11 14:23                     ` Daniel Jacobowitz
2004-05-11 16:33                     ` [uClibc] Re: uclibc mips ld.so and undefined symbols with nonzerosymbol " Joakim Tjernlund
2004-05-11 16:33                       ` Joakim Tjernlund
2004-05-11 16:55                       ` Bradley D. LaRonde [this message]
2004-05-11 16:55                         ` Bradley D. LaRonde
2004-05-11 21:50                         ` Joakim Tjernlund
2004-05-11 21:50                           ` Joakim Tjernlund
2004-05-10 12:21     ` Joakim Tjernlund
2004-05-10 12:21       ` Joakim Tjernlund
2004-05-10 12:36       ` Joakim Tjernlund
2004-05-10 12:36         ` Joakim Tjernlund
2004-05-10 14:23         ` Joakim Tjernlund
2004-05-10 14:23           ` Joakim Tjernlund
2004-05-11  7:27           ` [uClibc] Re: uclibc mips ld.so and undefined symbols withnonzerosymbol " Joakim Tjernlund
2004-05-11  7:27             ` Joakim Tjernlund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='053f01c43778$c2903390$8d01010a@prefect' \
    --to=brad@laronde.org \
    --cc=dan@debian.org \
    --cc=joakim.tjernlund@lumentis.se \
    --cc=linux-mips@linux-mips.org \
    --cc=rsandifo@redhat.com \
    --cc=uclibc@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox