m68knommu: add definitions to support elf_fdpic program loader
authorGreg Ungerer <gerg@linux-m68k.org>
Wed, 27 Apr 2022 13:32:15 +0000 (23:32 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 16 May 2022 03:18:30 +0000 (13:18 +1000)
commit67b660b1f7e5611108e05ca97bd387e141fc61b6
tree094527ad51e6bed9e77a385b81de64b77c6ccdb2
parentbd53e442e8373d8e10898d1e99d54e825535e316
m68knommu: add definitions to support elf_fdpic program loader

Add a few required defines to support using the binfmt_elf_fdpic
loader on the m68k architecture. The values are defined to be consistent
with those used on arm and sh which support this too.

The most important m68k specific change is the register initialization.
The pt_reg structure only contains a subset of the architecture general
registers, so we are more limited than to be expected on what can be used.

Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/include/asm/elf.h
arch/m68k/include/uapi/asm/ptrace.h