[PATCH] Indicate dependency on personality routines for ARM EHABI - take 2
Julian Brown
julian@codesourcery.com
Mon Mar 7 18:40:00 GMT 2005
Paul Brook wrote:
>>>Is one per file sufficient? I'd expect one per section would be needed to
>>>prevent bad things happening with partial linking.
>>
>>Yes, you are probably right. This version should fix that: it resets the
>>bitmap of relocations which have been output when the section is changed
>>to one of type SHT_ARM_EXIDX.
>
>
> I still only get one R_ARM_NONE relocation for the example below.
> [snipped example]
This version fixes that example, and my previous tests - it now tests
for the section being changed to one of type SHT_PROGBITS, rather than
SHT_ARM_EXIDX.
Tests have been re-run.
OK to apply?
ChangeLog:
* gas/config/tc-arm.c (marked_pr_dependency): New static global
(bitmap).
(arm_elf_change_section): Reset bitmap of dependencies which have
been output when a new section with type SHT_PROGBITS is seen.
(create_unwind_entry): Don't output dependencies on PR routines
here.
(s_arm_unwind_fnend): Output dependency on unwinding routines, if it
hasn't been done already.
* gas/testsuite/arm/unwind.d: Update expected output.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-12
URL: <https://sourceware.org/pipermail/binutils/attachments/20050307/d0f72a2e/attachment.ksh>
More information about the Binutils
mailing list