diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/get.c | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -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 @@ -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; } |