Sourceware Bugzilla – Attachment 13330 Details for
Bug 19797
Unsupported powerpc bfd arch/machine variants
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Tentative fixes this issue
0001-Tentative-fixes-issue-https-sourceware.org-bugzilla-.patch (text/plain), 1.45 KB, created by
Yonggang Luo
on 2021-03-26 18:54:00 UTC
(
hide
)
Description:
Tentative fixes this issue
Filename:
MIME Type:
Creator:
Yonggang Luo
Created:
2021-03-26 18:54:00 UTC
Size:
1.45 KB
patch
obsolete
>From ffd9d2ba955b348700febbd5d000d76aa899ec9d Mon Sep 17 00:00:00 2001 >From: Yonggang Luo <luoyonggang@gmail.com> >Date: Fri, 26 Mar 2021 18:51:07 +0000 >Subject: [PATCH] Tentative fixes issue > https://sourceware.org/bugzilla/attachment.cgi?bugid=19797 > >--- > gdb/rs6000-tdep.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c >index 84278e708e7..9e1b6633e78 100644 >--- a/gdb/rs6000-tdep.c >+++ b/gdb/rs6000-tdep.c >@@ -3364,6 +3364,14 @@ static struct ppc_variant variants[] = > {"e500", "Motorola PowerPC e500", bfd_arch_powerpc, > bfd_mach_ppc_e500, &tdesc_powerpc_e500}, > >+ // TODO: What's e500mc should be >+ {"e500mc", "Freescale PowerPC e500mc", bfd_arch_powerpc, >+ bfd_mach_ppc_e500mc, &tdesc_powerpc_e500}, >+ >+ // TOOD: Check e6500 support >+ {"e6500", "Freescale PowerPC e6500", bfd_arch_powerpc, >+ bfd_mach_ppc_e6500, &tdesc_powerpc_64}, >+ > /* 64-bit */ > {"powerpc64", "PowerPC 64-bit user-level", bfd_arch_powerpc, > bfd_mach_ppc64, &tdesc_powerpc_altivec64}, >@@ -6725,6 +6733,7 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) > complain for a 32-bit binary on a 64-bit target; we do not yet > support that. For instance, the 32-bit ABI routines expect > 32-bit GPRs. >+ TODO: How to resolve this issue: > > As long as there isn't an explicit target description, we'll > choose one based on the BFD architecture and get a word size >-- >2.29.2.windows.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19797
: 13330