bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/2657] Incorrect assumption on the CIE/FDE alignment


From: hjl at lucon dot org
Subject: [Bug ld/2657] Incorrect assumption on the CIE/FDE alignment
Date: 12 May 2006 16:58:57 -0000

------- Additional Comments From hjl at lucon dot org  2006-05-12 16:58 -------
Created an attachment (id=1021)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1021&action=view)
A testcase

On x86-64, I got
address@hidden eh-4]$ make
./as   -o x.o x.s
./as   -o crtend.o crtend.s
./ld -o foo x.o crtend.o
readelf -wf foo
The section .eh_frame contains:

00000000 00000014 00000000 CIE
  Version:               1
  Augmentation:          ""
  Code alignment factor: 1
  Data alignment factor: -8
  Return address column: 16

  DW_CFA_def_cfa: r7 ofs 8
  DW_CFA_offset: r16 at cfa-8
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop

00000018 00000028 0000001c FDE cie=00000000 pc=004000b0..004000b0
  DW_CFA_advance_loc4: 0 to 004000b0
  DW_CFA_def_cfa_offset: 16
  DW_CFA_offset: r6 at cfa-16
  DW_CFA_advance_loc4: 0 to 004000b0
  DW_CFA_def_cfa_reg: r6
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop

address@hidden eh-4]$


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2657

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]