[Patch v2 2/2] Enable ILP32 mode in gdb on aarch64

Steve Ellcey sellcey@caviumnetworks.com
Mon Mar 6 22:04:00 GMT 2017


Here is the second of two gdb patches to support aarch64 ILP32 mode.
This one just has the bfd changes.  I sent the cpu-aarch64.c and
elfnn-aarch64.c parts before but I had to add a change to elfxx-
aarch64.c to fix gdb support in ILP32 mode.

Steve Ellcey
sellcey@cavium.com


2017-03-06  Andrew Pinski  <apinski@cavium.com>
	    Steve Ellcey  <sellcey@cavium.com>

	* cpu-aarch64.c (compatible):
	Don't reject different ILP32/LP64 ABI's here.
	* elfnn-aarch64.c (elfNN_aarch64_merge_private_bfd_data):
	Add an error message on why endianess is rejected.
	Reject different ILP32/LP64 ABI settings.
	* elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Handle
	size and offset of ILP32 executables.
	(_bfd_aarch64_elf_grok_psinfo):  Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd.patch
Type: text/x-patch
Size: 4260 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20170306/53e8e743/attachment.bin>


More information about the Gdb-patches mailing list