crtend.o on FreeBSD 6.2 has

[EMAIL PROTECTED] /export/build/gnu/binutils]$
./build-x86_64-freebsd/binutils/readelf -wf /usr/lib/crtend.o
The section .eh_frame contains:

00000000 ZERO terminator


00000004 00000010 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

00000018 0000002c 00000018 FDE cie=00000004 pc=00000000..00000036
  DW_CFA_advance_loc4: 1 to 00000001
  DW_CFA_def_cfa_offset: 16
  DW_CFA_offset: r6 at cfa-16
  DW_CFA_advance_loc4: 3 to 00000004
  DW_CFA_def_cfa_reg: r6
  DW_CFA_advance_loc4: 1 to 00000005
  DW_CFA_offset: r3 at cfa-24
  DW_CFA_nop

I got

[EMAIL PROTECTED] /net/gnu-2/export/home/hjl/bugs/binutils/freebsd-1]$
/export/build/gnu/binutils/build-x86_64-freebsd/ld/ld-new -dynamic-linker
/libexec/ld-elf.so.1 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o
-L/usr/lib desinit.o -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
/export/build/gnu/binutils/build-x86_64-freebsd/ld/ld-new: error in
/usr/lib/crtend.o(.eh_frame); no .eh_frame_hdr table will be created.
[EMAIL PROTECTED] /net/gnu-2/export/home/hjl/bugs/binutils/freebsd-1]$ 

That is for every executable/shared library.

-- 
           Summary: Linker eh_frame warning on crtend.o
           Product: binutils
           Version: 2.18 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl at lucon dot org
                CC: amodra at bigpond dot net dot au,bug-binutils at gnu dot
                    org


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to