This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFC] SH64 EH with pic (2/4)
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: kkojima at rr dot iij4u dot or dot jp (Kaz Kojima)
- Cc: joern dot rennecke at superh dot com, gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Fri, 17 Sep 2004 10:50:33 +0100 (BST)
- Subject: Re: [PATCH/RFC] SH64 EH with pic (2/4)
> With using the textrel bit, the linker fails at an assert statement like:
>
> /usr/local/bin/sh64-unknown-linux-gnu-ld: BFD 2.15.92 20040916 assertion fail ../../src/bfd/elf-eh-frame.c:954
>
> when creating shared libraries. The first example is libgcc.so.1.
> It seems that DW_EH_PE_textrel in FDE is checked specially there in
> the linker.
I understand that, what I am asking is why not use sdata4/8 for data
labels, and use plain absptr/pcrel for text?