[arm] Use prel31 in EH table indices

Paul Brook paul@codesourcery.com
Wed Dec 8 16:33:00 GMT 2004


The first word of an Arm exception index table should be an R_ARM_PREL31 
relocation of the function start. We were using R_ARM_REL32.

Tested with cross to arm-none-eabi.
Ok?

Paul

2004-12-08  Paul Brook  <paul@codesourcery.com>

 * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
 for function start.
 * testsuite/gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.gas_eh_prel31
Type: text/x-diff
Size: 1541 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20041208/d7a61a0f/attachment.bin>


More information about the Binutils mailing list