This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src bfd/ChangeLog bfd/elf-bfd.h bfd/elf-eh-fra ...
- From: rsandifo at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 16 Nov 2004 10:16:31 -0000
- Subject: src bfd/ChangeLog bfd/elf-bfd.h bfd/elf-eh-fra ...
CVSROOT: /cvs/src
Module name: src
Changes by: rsandifo@sourceware.org 2004-11-16 10:16:30
Modified files:
bfd : ChangeLog elf-bfd.h elf-eh-frame.c
ld/testsuite : ChangeLog
ld/testsuite/ld-mips-elf: mips-elf.exp
Added files:
ld/testsuite/ld-mips-elf: eh-frame1.ld eh-frame1-n32.d
eh-frame1-n64.d eh-frame1.s
Log message:
* elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
add_fde_encoding. Remove need_relative.
* elf-eh-frame.c (extra_augmentation_string_bytes)
(extra_augmentation_data_bytes, size_of_output_cie_fde): New functions.
(_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding
in cases where the CIE has no existing 'R' augmentation. Use
size_of_output_cie_fde when assigning offsets. Use the final offset
as the new section size.
(_bfd_elf_eh_frame_section_offset): Remove need_relative handling.
Account for any extra augmentation bytes in the returned offset.
(_bfd_elf_write_section_eh_frame): Rework so that the entries are
moved before being modified. Pad growing entries with DW_CFA_nops.
Add 'z' and 'R' augmentations as directed by add_augmentation_size
and add_fde_encoding.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.2801&r2=1.2802
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.163&r2=1.164
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf-eh-frame.c.diff?cvsroot=src&r1=1.36&r2=1.37
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.433&r2=1.434
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/eh-frame1.ld.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/eh-frame1-n32.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/eh-frame1-n64.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/eh-frame1.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/mips-elf.exp.diff?cvsroot=src&r1=1.18&r2=1.19