projects/aports·blob master · refs

15 lines · 618 B

1--- a/kpatch-build/create-diff-object.c 2022-08-03 22:33:54.297782237 +0200
2+++ b/kpatch-build/create-diff-object.c 2022-08-03 22:34:53.442204389 +0200
3@@ -132,12 +132,6 @@ static int is_bundleable(struct symbol *
4 return 0;
5 }
6
7-/* Symbol st_others value for powerpc */
8-#define STO_PPC64_LOCAL_BIT 5
9-#define STO_PPC64_LOCAL_MASK (7 << STO_PPC64_LOCAL_BIT)
10-#define PPC64_LOCAL_ENTRY_OFFSET(other) \
11- (((1 << (((other) & STO_PPC64_LOCAL_MASK) >> STO_PPC64_LOCAL_BIT)) >> 2) << 2)
12-
13 /*
14 * On ppc64le, the function prologue generated by GCC 6+ has the sequence:
15 *