This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [RFC] NetBSD note segment
- From: Momchil Velikov <velco at fadata dot bg>
- To: Momchil Velikov <velco at fadata dot bg>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 3 Nov 2002 19:10:14 +0200
- Subject: Re: [PATCH] [RFC] NetBSD note segment
- References: <20021103131555.6658dbc6.velco@fadata.bg>
On Sun, 3 Nov 2002 13:15:55 +0200
Momchil Velikov <velco@fadata.bg> wrote:
> C/C++ for powerpc-unknown-netbsd and compiling and running a
> hello-world with each language. Running dynamically linked binaries
> seems broken[2], statically linked seem to work.
>
> [2] Probably binutils problem, will check later with NetBSD's own
> as/ld.
It didn't work with them also, the message is from the dynamic linker
(/usr/libexec/ld.elf_so), apparently GCC/as generate a relocation which
the linker does not support.
/usr/local/lib/libstdc++.so.5: Unsupported relocation type 10 in non-PLT
relocations
The relocation type 10 is R_PPC_REL24. Similar relocations are marked
as "should not occur" throughout ld.elf_so sources.
~velco