/* GNU/Linux on TI C6x target support.
- Copyright (C) 2011-2017 Free Software Foundation, Inc.
+ Copyright (C) 2011-2021 Free Software Foundation, Inc.
Contributed by Yao Qi <yao@codesourcery.com>
This file is part of GDB.
#include "tramp-frame.h"
#include "elf-bfd.h"
#include "elf/tic6x.h"
+#include "gdbarch.h"
/* The offset from rt_sigframe pointer to SP register. */
#define TIC6X_SP_RT_SIGFRAME 8
4,
{
{0x000045aa, 0x0fffffff}, /* mvk .S2 139,b0 */
- {0x10000000, -1}, /* swe */
+ {0x10000000, ULONGEST_MAX}, /* swe */
{TRAMP_SENTINEL_INSN}
},
tic6x_linux_rt_sigreturn_init
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
- linux_init_abi (info, gdbarch);
+ linux_init_abi (info, gdbarch, 0);
/* Shared library handling. */
set_solib_ops (gdbarch, &dsbt_so_ops);
&tic6x_linux_rt_sigreturn_tramp_frame);
}
+void _initialize_tic6x_linux_tdep ();
void
-_initialize_tic6x_linux_tdep (void)
+_initialize_tic6x_linux_tdep ()
{
gdbarch_register_osabi (bfd_arch_tic6x, 0, GDB_OSABI_LINUX,
tic6x_uclinux_init_abi);