mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
linux-user/ppc: Add vdso
Add support in gen-vdso-elfn.c.inc for the DT_PPC64_OPT dynamic tag: this is an integer, so does not need relocation. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
00cc2934b2
commit
e34136d930
12 changed files with 467 additions and 8 deletions
|
@ -273,7 +273,14 @@ static void elfN(process)(FILE *outf, void *buf, bool need_bswap)
|
|||
errors++;
|
||||
break;
|
||||
|
||||
case PT_LOPROC + 3:
|
||||
if (ehdr->e_machine == EM_PPC64) {
|
||||
break; /* DT_PPC64_OPT: integer bitmask */
|
||||
}
|
||||
goto do_default;
|
||||
|
||||
default:
|
||||
do_default:
|
||||
/* This is probably something target specific. */
|
||||
fprintf(stderr, "VDSO has unknown DYNAMIC entry (%lx)\n",
|
||||
(unsigned long)tag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue