bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/2655] Incorrrect padding for .eh_frame section


From: hjl at lucon dot org
Subject: [Bug ld/2655] Incorrrect padding for .eh_frame section
Date: 12 May 2006 05:14:45 -0000

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

For x86-64:

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 00000020 0000001c FDE cie=00000000 pc=004000b0..004000b0
  DW_CFA_advance_loc: 0 to 004000b0
  DW_CFA_def_cfa_offset: 16
  DW_CFA_offset: r6 at cfa-16
  DW_CFA_advance_loc: 0 to 004000b0
  DW_CFA_def_cfa_reg: r6
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop

There is no zero terminator.

-- 


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

------- 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]