This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: A relocation problem in shared objects for SH
- To: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Subject: Re: A relocation problem in shared objects for SH
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 15 Sep 2000 21:47:44 -0300
- Cc: binutils at sourceware dot cygnus dot com
- Organization: GCC Team, Red Hat
- References: <200009142238.HAA09048@rr.iij4u.or.jp>
On Sep 14, 2000, kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
> We have a problem when making libc.so for sh-unknown-linux-gnu target. This
> comes from that SH ELF uses both rela relocation and the implicit rel value
> in memory (to support COFF, I think). The next lists and relocs show what
> happened.
I'd be interested in seeing a preprocessed source file that causes
this behavior. Back when I was working on SH-PIC support, I had seen
this hunk in your patches, and couldn't find any situation in which it
would make any difference, even when linking shared libraries. It
seems that I didn't try hard enough :-(
I wonder whether this isn't some incorrectness in the code generated
by the compiler.
Please send me, off line, the preprocessed source file, as well as the
command lines used to compile this file and to create the shared
library. Thanks!
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me