diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/arm_backend.diff')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/debian/arm_backend.diff | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/arm_backend.diff b/meta/recipes-devtools/elfutils/files/debian/arm_backend.diff index 9904f24150..ba0ce33bd4 100644 --- a/meta/recipes-devtools/elfutils/files/debian/arm_backend.diff +++ b/meta/recipes-devtools/elfutils/files/debian/arm_backend.diff | |||
@@ -1,25 +1,25 @@ | |||
1 | From f3384466475eab373c0f1cb79c61d45709913b00 Mon Sep 17 00:00:00 2001 | 1 | From 4e6fededb3d8c90694c44214c862ac216a69ecae Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Wed, 28 May 2014 16:49:57 +0800 | 3 | Date: Wed, 21 Aug 2019 16:50:33 +0800 |
4 | Subject: [PATCH] elfutils: upgrade to 0.158 | 4 | Subject: [PATCH] arm_backend |
5 | 5 | ||
6 | Upstream-Status: Pending [from debian] | 6 | Upstream-Status: Pending [from debian] |
7 | Rebase to 0.177 | ||
7 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
8 | |||
9 | --- | 9 | --- |
10 | backends/arm_init.c | 18 +++- | 10 | backends/arm_init.c | 18 ++++- |
11 | backends/arm_regs.c | 132 ++++++++++++++++++++++++++++ | 11 | backends/arm_regs.c | 132 ++++++++++++++++++++++++++++++++++++ |
12 | backends/arm_retval.c | 43 ++++++++- | 12 | backends/arm_retval.c | 43 +++++++++++- |
13 | backends/libebl_arm.h | 9 ++ | 13 | backends/libebl_arm.h | 9 +++ |
14 | libelf/elf.h | 11 +++ | 14 | libelf/elf.h | 11 +++ |
15 | tests/run-addrcfi.sh | 93 +++++++++++++++++++- | 15 | tests/run-addrcfi.sh | 93 ++++++++++++++++++++++++- |
16 | tests/run-allregs.sh | 95 +++++++++++++++++++- | 16 | tests/run-allregs.sh | 95 +++++++++++++++++++++++++- |
17 | tests/run-readelf-mixed-corenote.sh | 11 ++- | 17 | tests/run-readelf-mixed-corenote.sh | 11 ++- |
18 | 8 files changed, 400 insertions(+), 12 deletions(-) | 18 | 8 files changed, 400 insertions(+), 12 deletions(-) |
19 | create mode 100644 backends/libebl_arm.h | 19 | create mode 100644 backends/libebl_arm.h |
20 | 20 | ||
21 | diff --git a/backends/arm_init.c b/backends/arm_init.c | 21 | diff --git a/backends/arm_init.c b/backends/arm_init.c |
22 | index f2b1b11..1b71f16 100644 | 22 | index af023f0..ea2bcb7 100644 |
23 | --- a/backends/arm_init.c | 23 | --- a/backends/arm_init.c |
24 | +++ b/backends/arm_init.c | 24 | +++ b/backends/arm_init.c |
25 | @@ -35,20 +35,31 @@ | 25 | @@ -35,20 +35,31 @@ |
@@ -53,9 +53,9 @@ index f2b1b11..1b71f16 100644 | |||
53 | + } | 53 | + } |
54 | + | 54 | + |
55 | /* We handle it. */ | 55 | /* We handle it. */ |
56 | eh->name = "ARM"; | ||
57 | arm_init_reloc (eh); | 56 | arm_init_reloc (eh); |
58 | @@ -60,7 +71,10 @@ arm_init (Elf *elf __attribute__ ((unused)), | 57 | HOOK (eh, segment_type_name); |
58 | @@ -59,7 +70,10 @@ arm_init (Elf *elf __attribute__ ((unused)), | ||
59 | HOOK (eh, core_note); | 59 | HOOK (eh, core_note); |
60 | HOOK (eh, auxv_info); | 60 | HOOK (eh, auxv_info); |
61 | HOOK (eh, check_object_attribute); | 61 | HOOK (eh, check_object_attribute); |
@@ -324,10 +324,10 @@ index 0000000..c00770c | |||
324 | + | 324 | + |
325 | +#endif | 325 | +#endif |
326 | diff --git a/libelf/elf.h b/libelf/elf.h | 326 | diff --git a/libelf/elf.h b/libelf/elf.h |
327 | index 6310054..5dc632b 100644 | 327 | index 01648bd..05b7e7e 100644 |
328 | --- a/libelf/elf.h | 328 | --- a/libelf/elf.h |
329 | +++ b/libelf/elf.h | 329 | +++ b/libelf/elf.h |
330 | @@ -2694,6 +2694,9 @@ enum | 330 | @@ -2690,6 +2690,9 @@ enum |
331 | #define EF_ARM_EABI_VER4 0x04000000 | 331 | #define EF_ARM_EABI_VER4 0x04000000 |
332 | #define EF_ARM_EABI_VER5 0x05000000 | 332 | #define EF_ARM_EABI_VER5 0x05000000 |
333 | 333 | ||
@@ -337,7 +337,7 @@ index 6310054..5dc632b 100644 | |||
337 | /* Additional symbol types for Thumb. */ | 337 | /* Additional symbol types for Thumb. */ |
338 | #define STT_ARM_TFUNC STT_LOPROC /* A Thumb function. */ | 338 | #define STT_ARM_TFUNC STT_LOPROC /* A Thumb function. */ |
339 | #define STT_ARM_16BIT STT_HIPROC /* A Thumb label. */ | 339 | #define STT_ARM_16BIT STT_HIPROC /* A Thumb label. */ |
340 | @@ -2711,12 +2714,19 @@ enum | 340 | @@ -2707,12 +2710,19 @@ enum |
341 | 341 | ||
342 | /* Processor specific values for the Phdr p_type field. */ | 342 | /* Processor specific values for the Phdr p_type field. */ |
343 | #define PT_ARM_EXIDX (PT_LOPROC + 1) /* ARM unwind segment. */ | 343 | #define PT_ARM_EXIDX (PT_LOPROC + 1) /* ARM unwind segment. */ |
@@ -357,7 +357,7 @@ index 6310054..5dc632b 100644 | |||
357 | 357 | ||
358 | /* AArch64 relocs. */ | 358 | /* AArch64 relocs. */ |
359 | 359 | ||
360 | @@ -3009,6 +3019,7 @@ enum | 360 | @@ -3005,6 +3015,7 @@ enum |
361 | TLS block (LDR, STR). */ | 361 | TLS block (LDR, STR). */ |
362 | #define R_ARM_TLS_IE12GP 111 /* 12 bit GOT entry relative | 362 | #define R_ARM_TLS_IE12GP 111 /* 12 bit GOT entry relative |
363 | to GOT origin (LDR). */ | 363 | to GOT origin (LDR). */ |
@@ -366,7 +366,7 @@ index 6310054..5dc632b 100644 | |||
366 | #define R_ARM_THM_TLS_DESCSEQ 129 | 366 | #define R_ARM_THM_TLS_DESCSEQ 129 |
367 | #define R_ARM_THM_TLS_DESCSEQ16 129 | 367 | #define R_ARM_THM_TLS_DESCSEQ16 129 |
368 | diff --git a/tests/run-addrcfi.sh b/tests/run-addrcfi.sh | 368 | diff --git a/tests/run-addrcfi.sh b/tests/run-addrcfi.sh |
369 | index fd89d02..462d7c5 100755 | 369 | index 64fa24d..1c2aa4d 100755 |
370 | --- a/tests/run-addrcfi.sh | 370 | --- a/tests/run-addrcfi.sh |
371 | +++ b/tests/run-addrcfi.sh | 371 | +++ b/tests/run-addrcfi.sh |
372 | @@ -3554,6 +3554,38 @@ dwarf_cfi_addrframe (.eh_frame): no matching address range | 372 | @@ -3554,6 +3554,38 @@ dwarf_cfi_addrframe (.eh_frame): no matching address range |
@@ -619,3 +619,6 @@ index c960f1d..e4bf074 100755 | |||
619 | CORE 124 PRPSINFO | 619 | CORE 124 PRPSINFO |
620 | state: 0, sname: R, zomb: 0, nice: 0, flag: 0x00400500 | 620 | state: 0, sname: R, zomb: 0, nice: 0, flag: 0x00400500 |
621 | uid: 0, gid: 0, pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063 | 621 | uid: 0, gid: 0, pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063 |
622 | -- | ||
623 | 2.7.4 | ||
624 | |||