diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/hppa_backend.diff')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/debian/hppa_backend.diff | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/hppa_backend.diff b/meta/recipes-devtools/elfutils/files/debian/hppa_backend.diff index afcc30abfe..4460d582c7 100644 --- a/meta/recipes-devtools/elfutils/files/debian/hppa_backend.diff +++ b/meta/recipes-devtools/elfutils/files/debian/hppa_backend.diff | |||
@@ -1,21 +1,21 @@ | |||
1 | From 8fe468682c550606ea961a1f996a8618940eb084 Mon Sep 17 00:00:00 2001 | 1 | From 8efad9105b38985bea373416ae8fcacf21d1d129 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: Fri, 16 Jul 2010 12:26:46 +0800 | 3 | Date: Wed, 21 Aug 2019 15:44:18 +0800 |
4 | Subject: [PATCH] elfutils: upgrade to version 0.148 | 4 | Subject: [PATCH] hppa backend |
5 | 5 | ||
6 | Rebase to 0.177 | ||
6 | Upstream-Status: Pending [from debian] | 7 | Upstream-Status: Pending [from debian] |
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/Makefile.am | 8 +- | 10 | backends/Makefile.am | 7 +- |
11 | backends/libebl_parisc.h | 9 ++ | 11 | backends/libebl_parisc.h | 9 ++ |
12 | backends/parisc_init.c | 73 +++++++++++++ | 12 | backends/parisc_init.c | 73 ++++++++++++++++ |
13 | backends/parisc_regs.c | 159 ++++++++++++++++++++++++++++ | 13 | backends/parisc_regs.c | 159 ++++++++++++++++++++++++++++++++++ |
14 | backends/parisc_reloc.def | 128 +++++++++++++++++++++++ | 14 | backends/parisc_reloc.def | 128 ++++++++++++++++++++++++++++ |
15 | backends/parisc_retval.c | 213 ++++++++++++++++++++++++++++++++++++++ | 15 | backends/parisc_retval.c | 213 ++++++++++++++++++++++++++++++++++++++++++++++ |
16 | backends/parisc_symbol.c | 113 ++++++++++++++++++++ | 16 | backends/parisc_symbol.c | 113 ++++++++++++++++++++++++ |
17 | libelf/elf.h | 11 ++ | 17 | libelf/elf.h | 11 +++ |
18 | 8 files changed, 712 insertions(+), 2 deletions(-) | 18 | 8 files changed, 711 insertions(+), 2 deletions(-) |
19 | create mode 100644 backends/libebl_parisc.h | 19 | create mode 100644 backends/libebl_parisc.h |
20 | create mode 100644 backends/parisc_init.c | 20 | create mode 100644 backends/parisc_init.c |
21 | create mode 100644 backends/parisc_regs.c | 21 | create mode 100644 backends/parisc_regs.c |
@@ -24,35 +24,31 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
24 | create mode 100644 backends/parisc_symbol.c | 24 | create mode 100644 backends/parisc_symbol.c |
25 | 25 | ||
26 | diff --git a/backends/Makefile.am b/backends/Makefile.am | 26 | diff --git a/backends/Makefile.am b/backends/Makefile.am |
27 | index 2126a2e..5671a32 100644 | 27 | index 175468f..91a38e2 100644 |
28 | --- a/backends/Makefile.am | 28 | --- a/backends/Makefile.am |
29 | +++ b/backends/Makefile.am | 29 | +++ b/backends/Makefile.am |
30 | @@ -33,12 +33,13 @@ AM_CPPFLAGS += -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \ | 30 | @@ -33,16 +33,19 @@ AM_CPPFLAGS += -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \ |
31 | 31 | ||
32 | 32 | ||
33 | modules = i386 sh x86_64 ia64 alpha arm aarch64 sparc ppc ppc64 s390 \ | 33 | modules = i386 sh x86_64 ia64 alpha arm aarch64 sparc ppc ppc64 s390 \ |
34 | - tilegx m68k bpf riscv | 34 | - tilegx m68k bpf riscv csky |
35 | + tilegx m68k bpf riscv parisc | 35 | + tilegx m68k bpf riscv csky parisc |
36 | libebl_pic = libebl_i386_pic.a libebl_sh_pic.a libebl_x86_64_pic.a \ | 36 | libebl_pic = libebl_i386_pic.a libebl_sh_pic.a libebl_x86_64_pic.a \ |
37 | libebl_ia64_pic.a libebl_alpha_pic.a libebl_arm_pic.a \ | 37 | libebl_ia64_pic.a libebl_alpha_pic.a libebl_arm_pic.a \ |
38 | libebl_aarch64_pic.a libebl_sparc_pic.a libebl_ppc_pic.a \ | 38 | libebl_aarch64_pic.a libebl_sparc_pic.a libebl_ppc_pic.a \ |
39 | libebl_ppc64_pic.a libebl_s390_pic.a libebl_tilegx_pic.a \ | 39 | libebl_ppc64_pic.a libebl_s390_pic.a libebl_tilegx_pic.a \ |
40 | - libebl_m68k_pic.a libebl_bpf_pic.a libebl_riscv_pic.a | 40 | libebl_m68k_pic.a libebl_bpf_pic.a libebl_riscv_pic.a \ |
41 | + libebl_m68k_pic.a libebl_bpf_pic.a libebl_riscv_pic.a \ | 41 | - libebl_csky_pic.a |
42 | + libebl_parisc_pic.a | 42 | + libebl_csky_pic.a libebl_parisc_pic.a |
43 | noinst_LIBRARIES = $(libebl_pic) | 43 | noinst_LIBRARIES = $(libebl_pic) |
44 | noinst_DATA = $(libebl_pic:_pic.a=.so) | 44 | noinst_DATA = $(libebl_pic:_pic.a=.so) |
45 | 45 | ||
46 | @@ -136,6 +137,9 @@ riscv_SRCS = riscv_init.c riscv_symbol.c riscv_cfi.c riscv_regs.c \ | ||
47 | libebl_riscv_pic_a_SOURCES = $(riscv_SRCS) | ||
48 | am_libebl_riscv_pic_a_OBJECTS = $(riscv_SRCS:.c=.os) | ||
49 | |||
50 | +parisc_SRCS = parisc_init.c parisc_symbol.c parisc_regs.c parisc_retval.c | 46 | +parisc_SRCS = parisc_init.c parisc_symbol.c parisc_regs.c parisc_retval.c |
51 | +libebl_parisc_pic_a_SOURCES = $(parisc_SRCS) | 47 | +libebl_parisc_pic_a_SOURCES = $(parisc_SRCS) |
52 | +am_libebl_parisc_pic_a_OBJECTS = $(parisc_SRCS:.c=.os) | 48 | +am_libebl_parisc_pic_a_OBJECTS = $(parisc_SRCS:.c=.os) |
53 | 49 | ||
54 | libebl_%.so libebl_%.map: libebl_%_pic.a $(libelf) $(libdw) $(libeu) | 50 | libelf = ../libelf/libelf.so |
55 | @rm -f $(@:.so=.map) | 51 | libdw = ../libdw/libdw.so |
56 | diff --git a/backends/libebl_parisc.h b/backends/libebl_parisc.h | 52 | diff --git a/backends/libebl_parisc.h b/backends/libebl_parisc.h |
57 | new file mode 100644 | 53 | new file mode 100644 |
58 | index 0000000..f473b79 | 54 | index 0000000..f473b79 |
@@ -785,10 +781,10 @@ index 0000000..5754bd8 | |||
785 | + } | 781 | + } |
786 | +} | 782 | +} |
787 | diff --git a/libelf/elf.h b/libelf/elf.h | 783 | diff --git a/libelf/elf.h b/libelf/elf.h |
788 | index 75043bc..6310054 100644 | 784 | index 01648bd..218ceb2 100644 |
789 | --- a/libelf/elf.h | 785 | --- a/libelf/elf.h |
790 | +++ b/libelf/elf.h | 786 | +++ b/libelf/elf.h |
791 | @@ -2155,16 +2155,24 @@ enum | 787 | @@ -2162,16 +2162,24 @@ enum |
792 | #define R_PARISC_PCREL17F 12 /* 17 bits of rel. address. */ | 788 | #define R_PARISC_PCREL17F 12 /* 17 bits of rel. address. */ |
793 | #define R_PARISC_PCREL14R 14 /* Right 14 bits of rel. address. */ | 789 | #define R_PARISC_PCREL14R 14 /* Right 14 bits of rel. address. */ |
794 | #define R_PARISC_DPREL21L 18 /* Left 21 bits of rel. address. */ | 790 | #define R_PARISC_DPREL21L 18 /* Left 21 bits of rel. address. */ |
@@ -813,7 +809,7 @@ index 75043bc..6310054 100644 | |||
813 | #define R_PARISC_LTOFF_FPTR32 57 /* 32 bits LT-rel. function pointer. */ | 809 | #define R_PARISC_LTOFF_FPTR32 57 /* 32 bits LT-rel. function pointer. */ |
814 | #define R_PARISC_LTOFF_FPTR21L 58 /* LT-rel. fct ptr, left 21 bits. */ | 810 | #define R_PARISC_LTOFF_FPTR21L 58 /* LT-rel. fct ptr, left 21 bits. */ |
815 | #define R_PARISC_LTOFF_FPTR14R 62 /* LT-rel. fct ptr, right 14 bits. */ | 811 | #define R_PARISC_LTOFF_FPTR14R 62 /* LT-rel. fct ptr, right 14 bits. */ |
816 | @@ -2173,6 +2181,7 @@ enum | 812 | @@ -2180,6 +2188,7 @@ enum |
817 | #define R_PARISC_PLABEL21L 66 /* Left 21 bits of fdesc address. */ | 813 | #define R_PARISC_PLABEL21L 66 /* Left 21 bits of fdesc address. */ |
818 | #define R_PARISC_PLABEL14R 70 /* Right 14 bits of fdesc address. */ | 814 | #define R_PARISC_PLABEL14R 70 /* Right 14 bits of fdesc address. */ |
819 | #define R_PARISC_PCREL64 72 /* 64 bits PC-rel. address. */ | 815 | #define R_PARISC_PCREL64 72 /* 64 bits PC-rel. address. */ |
@@ -821,7 +817,7 @@ index 75043bc..6310054 100644 | |||
821 | #define R_PARISC_PCREL22F 74 /* 22 bits PC-rel. address. */ | 817 | #define R_PARISC_PCREL22F 74 /* 22 bits PC-rel. address. */ |
822 | #define R_PARISC_PCREL14WR 75 /* PC-rel. address, right 14 bits. */ | 818 | #define R_PARISC_PCREL14WR 75 /* PC-rel. address, right 14 bits. */ |
823 | #define R_PARISC_PCREL14DR 76 /* PC rel. address, right 14 bits. */ | 819 | #define R_PARISC_PCREL14DR 76 /* PC rel. address, right 14 bits. */ |
824 | @@ -2198,6 +2207,8 @@ enum | 820 | @@ -2205,6 +2214,8 @@ enum |
825 | #define R_PARISC_LTOFF16WF 102 /* 16 bits LT-rel. address. */ | 821 | #define R_PARISC_LTOFF16WF 102 /* 16 bits LT-rel. address. */ |
826 | #define R_PARISC_LTOFF16DF 103 /* 16 bits LT-rel. address. */ | 822 | #define R_PARISC_LTOFF16DF 103 /* 16 bits LT-rel. address. */ |
827 | #define R_PARISC_SECREL64 104 /* 64 bits section rel. address. */ | 823 | #define R_PARISC_SECREL64 104 /* 64 bits section rel. address. */ |
@@ -830,3 +826,6 @@ index 75043bc..6310054 100644 | |||
830 | #define R_PARISC_SEGREL64 112 /* 64 bits segment rel. address. */ | 826 | #define R_PARISC_SEGREL64 112 /* 64 bits segment rel. address. */ |
831 | #define R_PARISC_PLTOFF14WR 115 /* PLT-rel. address, right 14 bits. */ | 827 | #define R_PARISC_PLTOFF14WR 115 /* PLT-rel. address, right 14 bits. */ |
832 | #define R_PARISC_PLTOFF14DR 116 /* PLT-rel. address, right 14 bits. */ | 828 | #define R_PARISC_PLTOFF14DR 116 /* PLT-rel. address, right 14 bits. */ |
829 | -- | ||
830 | 2.7.4 | ||
831 | |||