This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libffi unwinder data
- To: Andrew Haley <aph at cambridge dot redhat dot com>
- Subject: Re: libffi unwinder data
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 4 Jun 2001 15:43:28 -0700
- Cc: java at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <15130.16903.178278.922967@cuddles.cambridge.redhat.com>
On Sun, Jun 03, 2001 at 02:56:23PM +0100, Andrew Haley wrote:
> * src/alpha/osf.S: Add unwind info.
Incidentally, this is only valid for ELF. Tru64 (ECOFF) has to
put these things in the data section with special symbol names
so that collect2 grabs them.
> stw %r28,-16(%r8)
> + .LCFI1:
> stw %r29,-12(%r8)
> + .LCFI2:
> stw %r30, -8(%r8)
> + .LCFI3:
> stw %r31, -4(%r8)
> + .LCFI4:
> stw %r9, 4(%r8)
> + .LCFI5:
You needn't mark every instruction like this. Note that ...
> + .4byte .LCFI5-.LCFI0
> + .byte 0x2f /* DW_CFA_GNU_negative_offset_extended */
> + .byte 0x41 /* uleb128 0x41 */
> + .byte 0x1 /* uleb128 0x1 */
> + .byte 0x9f /* DW_CFA_offset, column 0x1f */
> + .byte 0x1 /* uleb128 0x1 */
> + .byte 0x9e /* DW_CFA_offset, column 0x1e */
> + .byte 0x2 /* uleb128 0x2 */
> + .byte 0x9d /* DW_CFA_offset, column 0x1d */
> + .byte 0x3 /* uleb128 0x3 */
> + .byte 0x9c /* DW_CFA_offset, column 0x1c */
> + .byte 0x4 /* uleb128 0x4 */
> + .byte 0x4 /* DW_CFA_advance_loc4 */
... we don't use LCFI[1-4]. Gcc onlt emits those labels
due to a phase ordering problem that wasn't worth fixing.
r~