commit | 22843755fa0b6870162660105c6fbbd1ba078390 | [log] [tgz] |
---|---|---|
author | Jose E. Marchesi <jose.marchesi@oracle.com> | Mon Oct 05 17:36:33 2015 +0200 |
committer | Mark Wielaard <mjw@redhat.com> | Tue Oct 06 00:03:07 2015 +0200 |
tree | fb119639af804f29016c9548201d0799596afce5 | |
parent | ee00afbb2b068d1fef7f37e32ddd346b78230d5a [diff] |
sparc: fix the extraction of relocation IDs from r_type fields. This patch adds support for a RELOC_TYPE_ID transform macros that backends can use before including common-reloc.c. The sparc backend uses this in order to extract the relocation IDs from r_type fields. In this target the most significative 24 bits of r_type are used to store an additional addend in some relocation types. Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>