* elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 17 Jan 2005 17:44:41 +0000 (17:44 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 17 Jan 2005 17:44:41 +0000 (17:44 +0000)
commitdcf507a6ee15da805fbe39e510d7ab7fbf2b09f6
tree51c949dacb60944bbb08a4f66d6ef389b728860e
parent2c42be6506d72503af4ba12b184a66476f5f6052
* elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
(_bfd_elf_discard_section_eh_frame): Use them to interpret the CFA
instructions.  If the amount of padding is known, reduce the size
of the CIE or FDE by that amount.
bfd/ChangeLog
bfd/elf-eh-frame.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/eh-frame2-n32.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/eh-frame2-n64.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/mips-elf.exp