OSDN Git Service

* elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
authorRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 17 Jan 2005 17:44:41 +0000 (17:44 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 17 Jan 2005 17:44:41 +0000 (17:44 +0000)
commite6770265592c82c0c56605a551664b124fc4bd69
tree37e6d26bf6fb9e63b3a83ee86b5fabd124774def
parent03d52e4cd3acb3f805623e2399e80301d19c1c5d
* 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