This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: .eh_frame section
- To: meissner at cygnus dot com
- Subject: Re: .eh_frame section
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 8 Oct 1997 16:49:24 -0700
- Cc: jason at cygnus dot com, rth at cygnus dot com, egcs at cygnus dot com, haible at ilog dot fr
- References: <199710082238.SAA17200@tweedledumb.cygnus.com>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Wed, Oct 08, 1997 at 06:38:03PM -0400, meissner@cygnus.com wrote:
> | Most architectures have a word sized pc-relative relocation, but few
> | (none?) provide a pseudo-op to use it. So there we are.
>
> On the other hand, doing:
>
> .long .-label
>
> (or .word, .etc.) will often times generate the approprate relocation.
When "label" is external, no assembler I've found can handle it.
I tried gas (alpha, i386), Irix 6, Solaris 2.5, DU 4.0b.
The last two were cute in that they didn't complain, but neither
did they generate a reloc of any sort.
r~