aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/get.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5079a1d..7dfb292 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2015-10-28 Mark Hatle <mark.hatle@windriver.com>
+ * get.c: Sync rtld/prelink type_class values
+
2015-10-22 Mark Hatle <mark.hatle@windriver.com>
* Upstream project appears to have been abandoned
* Update the project to remove the SVN like 'trunk' dir
diff --git a/src/get.c b/src/get.c
index d10efcc..0d37bca 100644
--- a/src/get.c
+++ b/src/get.c
@@ -278,9 +278,9 @@ prelink_record_relocations (struct prelink_info *info, FILE *f,
reloc_class = dso->arch->reloc_class (reloc_class);
else
{
- if (reloc_class & 8)
+ if (reloc_class & RTYPE_CLASS_VALID)
{
- reloc_class = ((reloc_class & ~8)
+ reloc_class = ((reloc_class & ~RTYPE_CLASS_VALID)
| dso->arch->rtype_class_valid);
ifunc = 1;
}
@@ -483,9 +483,9 @@ prelink_record_relocations (struct prelink_info *info, FILE *f,
reloc_class = dso->arch->reloc_class (reloc_class);
else
{
- if (reloc_class & 8)
+ if (reloc_class & RTYPE_CLASS_VALID)
{
- reloc_class = ((reloc_class & ~8)
+ reloc_class = ((reloc_class & ~RTYPE_CLASS_VALID)
| dso->arch->rtype_class_valid);
ifunc = 1;
}