This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does your .eh_frame_hdr change work with DW_EH_PE_absptr?
On Thu, Feb 14, 2002 at 12:20:12PM -0800, H . J . Lu wrote:
> I don't know what the best way to fix it is. Given the problem I see
> on Linux/mips, I don't know how well your scheme will work on other
> platforms. The key is you have to make sure the .eh_frame_hdr section
> needs no run-time relocation or provide the relocation records for it.
> I believe you should require the .eh_frame_hdr section needs no
> run-time relocation.
.eh_frame_hdr never needs any run-time relocation.
It always uses pcrel encoding.
Jakub