This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src bfd/elf-bfd.h bfd/elf-eh-frame.c bfd/Chang ...
- From: rsandifo at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 19 Sep 2009 08:06:12 -0000
- Subject: src bfd/elf-bfd.h bfd/elf-eh-frame.c bfd/Chang ...
CVSROOT: /cvs/src
Module name: src
Changes by: rsandifo@sourceware.org 2009-09-19 08:06:12
Modified files:
bfd : elf-bfd.h elf-eh-frame.c ChangeLog
ld/testsuite/ld-mips-elf: mips-elf.exp
ld/testsuite : ChangeLog
Added files:
ld/testsuite/ld-mips-elf: eh-frame5.s eh-frame5.ld eh-frame5.d
Log message:
bfd/
* elf-bfd.h (eh_cie_fde): Add personality_offset and
make_per_encoding_relative to the CIE structure. Add a padding field.
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Use 0x70
rather than 0xf0 when masking out the base address encoding
Record the offset of personality data from the start of the CIE.
Remove a repeated elf_backend_can_make_relative_eh_frame check.
(find_merged_cie): Take an info argument. If the personality
binds locally, try converting an absolute personality into
a local one.
(_bfd_elf_discard_section_eh_frame): Use 0x70 rather than 0xf0
when masking out the base address encoding. Update the call to
find_merged_cie.
(_bfd_elf_eh_frame_section_offset): Discard relocations against
the personality data if we are converting into PC-relative form.
(_bfd_elf_write_section_eh_frame): Use 0x70 rather than 0xf0
when masking out the base address encoding. Handle
make_per_encoding_relative.
ld/testsuite/
* ld-mips-elf/eh-frame5.s, ld-mips-elf/eh-frame5.ld,
ld-mips-elf/eh-frame5.d: New test.
* ld-mips-elf/mips-elf.exp: Run it.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.294&r2=1.295
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf-eh-frame.c.diff?cvsroot=src&r1=1.78&r2=1.79
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4787&r2=1.4788
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/eh-frame5.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/eh-frame5.ld.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-mips-elf/eh-frame5.d.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.61&r2=1.62
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1164&r2=1.1165