+2020-04-02 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ Turn some more static methods in linux-low into private methods
+ of linux_process_target.
+
+ * linux-low.cc (get_pc): Turn into...
+ (linux_process_target::get_pc): ...this.
+ (save_stop_reason): Turn into...
+ (linux_process_target::save_stop_reason): ...this.
+ (thread_still_has_status_pending_p): Turn into...
+ (linux_process_target::thread_still_has_status_pending): ...this.
+ (status_pending_p_callback): Turn into...
+ (linux_process_target::status_pending_p_callback): ...this.
+ (resume_stopped_resumed_lwps): Turn into...
+ (linux_process_target::resume_stopped_resumed_lwps): ...this.
+ (install_software_single_step_breakpoints): Turn into...
+ (linux_process_target::install_software_single_step_breakpoints):
+ ...this.
+ (single_step): Turn into...
+ (linux_process_target::single_step): ...this.
+ (linux_resume_one_lwp_throw): Turn into...
+ (linux_process_target::resume_one_lwp_throw): ...this.
+ (linux_resume_one_lwp): Turn into...
+ (linux_process_target::resume_one_lwp): ...this.
+ (resume_status_pending_p): Turn into...
+ (linux_process_target::resume_status_pending): ...this.
+ (need_step_over_p): Turn into...
+ (linux_process_target::thread_needs_step_over): ...this.
+ (linux_resume_one_thread): Turn into...
+ (linux_process_target::resume_one_thread): ...this.
+ (proceed_one_lwp): Turn into...
+ (linux_process_target::proceed_one_lwp): ...this.
+ (unsuspend_and_proceed_one_lwp): Turn into...
+ (linux_process_target::unsuspend_and_proceed_one_lwp): ...this.
+
+ Update the calls/references to the above functions below.
+
+ (linux_process_target::handle_extended_wait)
+ (linux_process_target::filter_event)
+ (linux_process_target::wait_for_event_filtered)
+ (linux_process_target::wait_1)
+ (linux_process_target::move_out_of_jump_pad)
+ (linux_process_target::start_step_over)
+ (linux_process_target::resume)
+ (linux_process_target::proceed_all_lwps)
+ (regsets_store_inferior_registers)
+ (linux_process_target::store_register)
+
+ * linux-low.h (class linux_process_target)
+ <get_pc>
+ <save_stop_reason>
+ <thread_still_has_status_pending>
+ <status_pending_p_callback>
+ <resume_stopped_resumed_lwps>
+ <install_software_single_step_breakpoints>
+ <single_step>
+ <resume_one_lwp_throw>
+ <resume_one_lwp>
+ <resume_status_pending>
+ <thread_needs_step_over>
+ <resume_one_thread>
+ <proceed_one_lwp>
+ <unsuspend_and_proceed_one_lwp>: Declare.
+
+2020-04-02 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ Turn the 'fetch_register' linux target op into a method of
+ linux_process_target.
+
+ * linux-low.h (struct linux_target_ops) <fetch_register>: Remove.
+ (class linux_process_target) <low_fetch_register>: Declare.
+ * linux-x86-low.cc (the_low_target)
+ * linux-aarch64-low.cc (the_low_target)
+ * linux-arm-low.cc (the_low_target)
+ * linux-bfin-low.cc (the_low_target)
+ * linux-cris-low.cc (the_low_target)
+ * linux-crisv32-low.cc (the_low_target)
+ * linux-m32r-low.cc (the_low_target)
+ * linux-m68k-low.cc (the_low_target)
+ * linux-nios2-low.cc (the_low_target)
+ * linux-ppc-low.cc (the_low_target)
+ * linux-s390-low.cc (the_low_target)
+ * linux-sh-low.cc (the_low_target)
+ * linux-sparc-low.cc (the_low_target)
+ * linux-tic6x-low.cc (the_low_target)
+ * linux-tile-low.cc (the_low_target)
+ * linux-xtensa-low.cc (the_low_target): Remove the op field.
+ * linux-ia64-low.cc (class ia64_target) <low_fetch_register>:
+ Declare.
+ (ia64_fetch_register): Turn into...
+ (ia64_target::low_fetch_register): ...this.
+ (the_low_target): Remove the op field.
+ * linux-mips-low.cc (class mips_target) <low_fetch_register>:
+ Declare.
+ (mips_fetch_register): Turn into...
+ (mips_target::low_fetch_register): ...this.
+ (the_low_target): Remove the op field.
+ * linux-riscv-low.cc (class riscv_target) <low_fetch_register>:
+ Declare.
+ (riscv_fetch_register): Turn into...
+ (riscv_target::low_fetch_register): ...this.
+ (the_low_target): Remove the op field.
+
+ Update the callers below.
+
+ * linux-low.cc (linux_process_target::fetch_registers)
+ (linux_process_target::low_fetch_register)
+
+2020-04-02 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ Turn the 'cannot_fetch_register' and 'cannot_store_register'
+ linux target ops into methods of linux_process_target.
+
+ * linux-low.h (struct linux_target_ops): Remove the low target ops.
+ (class linux_process_target) <fetch_register>
+ <store_register>
+ <usr_fetch_inferior_registers>
+ <usr_store_inferior_registers>
+ <low_cannot_fetch_register>
+ <low_cannot_fetch_register> Declare.
+ * linux-low.cc (fetch_register): Turn into...
+ (linux_process_target::fetch_register): ...this.
+ (store_register): Turn into ...
+ (linux_process_target::store_register): ...this.
+ (usr_fetch_inferior_registers): Turn into...
+ (linux_process_target::usr_fetch_inferior_registers): ...this.
+ (usr_store_inferior_registers): Turn into...
+ (linux_process_target::usr_store_inferior_registers): ...this.
+ * linux-x86-low.cc (class x86_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (x86_cannot_store_register): Turn into...
+ (x86_target::low_cannot_store_register): ...this.
+ (x86_cannot_fetch_register): Turn into...
+ (x86_target::low_cannot_fetch_register): ...this.
+ (the_low_target): Remove the target op fields.
+ * linux-aarch64-low.cc (class aarch64_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (aarch64_target::low_cannot_fetch_register)
+ (aarch64_target::low_cannot_store_register): Define.
+ (the_low_target): Remove the op fields.
+ * linux-arm-low.cc (class arm_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (arm_cannot_fetch_register): Turn into...
+ (arm_target::low_cannot_fetch_register): ...this.
+ (arm_cannot_store_register): Turn into...
+ (arm_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-bfin-low.cc (class bfin_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (bfin_cannot_fetch_register): Turn into...
+ (bfin_target::low_cannot_fetch_register): ...this.
+ (bfin_cannot_store_register): Turn into...
+ (bfin_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-cris-low.cc (class cris_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (cris_cannot_fetch_register): Turn into...
+ (cris_target::low_cannot_fetch_register): ...this.
+ (cris_cannot_store_register): Turn into...
+ (cris_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-crisv32-low.cc (class crisv32_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (crisv32_target::low_cannot_fetch_register)
+ (crisv32_target::low_cannot_store_register): Define.
+ (the_low_target): Remove the op fields.
+ * linux-ia64-low.cc (class ia64_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (ia64_cannot_fetch_register): Turn into...
+ (ia64_target::low_cannot_fetch_register): ...this.
+ (ia64_cannot_store_register): Turn into...
+ (ia64_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-m32r-low.cc (class m32r_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (m32r_cannot_fetch_register): Turn into...
+ (m32r_target::low_cannot_fetch_register): ...this.
+ (m32r_cannot_store_register): Turn into...
+ (m32r_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-m68k-low.cc (class m68k_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (m68k_cannot_fetch_register): Turn into...
+ (m68k_target::low_cannot_fetch_register): ...this.
+ (m68k_cannot_store_register): Turn into...
+ (m68k_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-mips-low.cc (class mips_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (mips_cannot_fetch_register): Turn into...
+ (mips_target::low_cannot_fetch_register): ...this.
+ (mips_cannot_store_register): Turn into...
+ (mips_target::low_cannot_store_register): ...this.
+ (get_usrregs_info): Inline at the call sites in
+ low_cannot_fetch_register and low_cannot_store_register,
+ and remove.
+ (the_low_target): Remove the op fields.
+ * linux-nios2-low.cc (class nios2_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (nios2_cannot_fetch_register): Turn into...
+ (nios2_target::low_cannot_fetch_register): ...this.
+ (nios2_cannot_store_register): Turn into...
+ (nios2_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-ppc-low.cc (class ppc_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (ppc_cannot_fetch_register): Turn into...
+ (ppc_target::low_cannot_fetch_register): ...this.
+ (ppc_cannot_store_register): Turn into...
+ (ppc_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-riscv-low.cc (class riscv_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (riscv_target::low_cannot_fetch_register)
+ (riscv_target::low_cannot_store_register): Define.
+ (the_low_target): Remove the op fields.
+ * linux-s390-low.cc (class s390_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (s390_cannot_fetch_register): Turn into...
+ (s390_target::low_cannot_fetch_register): ...this.
+ (s390_cannot_store_register): Turn into...
+ (s390_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-sh-low.cc (class sh_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (sh_cannot_fetch_register): Turn into...
+ (sh_target::low_cannot_fetch_register): ...this.
+ (sh_cannot_store_register): Turn into...
+ (sh_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-sparc-low.cc (class sparc_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (sparc_cannot_fetch_register): Turn into...
+ (sparc_target::low_cannot_fetch_register): ...this.
+ (sparc_cannot_store_register): Turn into...
+ (sparc_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-tic6x-low.cc (class tic6x_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (tic6x_cannot_fetch_register): Turn into...
+ (tic6x_target::low_cannot_fetch_register): ...this.
+ (tic6x_cannot_store_register): Turn into...
+ (tic6x_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-tile-low.cc (class tile_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (tile_cannot_fetch_register): Turn into...
+ (tile_target::low_cannot_fetch_register): ...this.
+ (tile_cannot_store_register): Turn into...
+ (tile_target::low_cannot_store_register): ...this.
+ (the_low_target): Remove the op fields.
+ * linux-xtensa-low.cc (class xtensa_target)
+ <low_cannot_fetch_register>
+ <low_cannot_store_register>: Declare.
+ (xtensa_target::low_cannot_fetch_register)
+ (xtensa_target::low_cannot_store_register): Define.
+ (the_low_target): Remove the op fields.
+
+2020-04-02 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ Turn the 'regs_info' linux target op into a method of
+ linux_process_target.
+
+ * linux-low.h (struct linux_target_ops) <regs_info>: Remove.
+ (class linux_process_target) <get_regs_info>: Define.
+
+ Update the callers below.
+
+ * linux-low.cc (linux_process_target::fetch_registers)
+ (linux_process_target::store_registers)
+ * proc-service.cc (gregset_info)
+
+ * linux-x86-low.cc (class x86_target) <get_regs_info>: Declare.
+ (x86_linux_regs_info): Turn into ...
+ (x86_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-aarch64-low.cc (class aarch64_target) <get_regs_info>:
+ Declare.
+ (aarch64_regs_info): Turn into ...
+ (aarch64_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-arm-low.cc (class arm_target) <get_regs_info>: Declare.
+ (arm_regs_info): Turn into ...
+ (arm_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-bfin-low.cc (class bfin_target) <get_regs_info>: Declare.
+ (bfin_regs_info): Turn into ...
+ (bfin_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-cris-low.cc (class cris_target) <get_regs_info>: Declare.
+ (cris_regs_info): Turn into ...
+ (cris_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-crisv32-low.cc (class crisv32_target) <get_regs_info>:
+ Declare.
+ (crisv32_regs_info): Turn into ...
+ (crisv32_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-ia64-low.cc (class ia64_target) <get_regs_info>: Declare.
+ (ia64_regs_info): Turn into ...
+ (ia64_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-m32r-low.cc (class m32r_target) <get_regs_info>: Declare.
+ (m32r_regs_info): Turn into ...
+ (m32r_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-m68k-low.cc (class m68k_target) <get_regs_info>: Declare.
+ (m68k_regs_info): Turn into ...
+ (m68k_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-mips-low.cc (class mips_target) <get_regs_info>: Declare.
+ (mips_regs_info): Turn into ...
+ (mips_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ (get_usrregs_info): Update the call to the op.
+ * linux-nios2-low.cc (class nios2_target) <get_regs_info>: Declare.
+ (nios2_regs_info): Turn into ...
+ (nios2_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-ppc-low.cc (class ppc_target) <get_regs_info>: Declare.
+ (ppc_regs_info): Turn into ...
+ (ppc_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-riscv-low.cc (class riscv_target) <get_regs_info>: Declare.
+ (riscv_regs_info): Turn into ...
+ (riscv_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-s390-low.cc (class s390_target) <get_regs_info>: Declare.
+ (s390_regs_info): Turn into ...
+ (s390_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ (s390_collect_ptrace_register)
+ (s390_supply_ptrace_register)
+ (s390_fill_gregset): Update the call to the op.
+ * linux-sh-low.cc (class sh_target) <get_regs_info>: Declare.
+ (sh_regs_info): Turn into ...
+ (sh_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-sparc-low.cc (class sparc_target) <get_regs_info>: Declare.
+ (sparc_regs_info): Turn into ...
+ (sparc_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-tic6x-low.cc (class tic6x_target) <get_regs_info>: Declare.
+ (tic6x_regs_info): Turn into ...
+ (tic6x_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-tile-low.cc (class tile_target) <get_regs_info>: Declare.
+ (tile_regs_info): Turn into ...
+ (tile_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+ * linux-xtensa-low.cc (class xtensa_target) <get_regs_info>:
+ Declare.
+ (xtensa_regs_info): Turn into ...
+ (xtensa_target::get_regs_info): ...this.
+ (the_low_target): Remove the op field.
+
+2020-04-02 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ Turn the 'arch_setup' linux target op into a method of
+ linux_process_target.
+
+ * linux-low.h (struct linux_target_ops) <arch_setup>: Delete.
+ (class linux_process_target) <arch_setup_thread>
+ <low_arch_setup>: New declarations.
+ * linux-low.cc (linux_arch_setup): Delete.
+ (linux_arch_setup_thread): Turn into...
+ (linux_process_target::arch_setup_thread): ... this.
+
+ Update the callers below.
+
+ (linux_process_target::handle_extended_wait)
+ (linux_process_target::post_create_inferior)
+ (linux_process_target::filter_event)
+
+ * linux-x86-low.cc (class x86_target) <low_arch_setup>: New
+ declaration.
+ (x86_linux_update_xmltarget): Turn into...
+ (x86_target::update_xmltarget): ...this.
+ (x86_linux_process_qsupported): Update the call to
+ x86_linux_update_xmltarget.
+ (x86_arch_setup): Turn into ...
+ (x86_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-aarch64-low.cc (class aarch64_target) <low_arch_setup>: New
+ declaration.
+ (aarch64_arch_setup): Turn into ...
+ (aarch64_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-arm-low.cc (class arm_target) <low_arch_setup>: New
+ declaration.
+ (arm_arch_setup): Turn into ...
+ (arm_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-bfin-low.cc (class bfin_target) <low_arch_setup>: New
+ declaration.
+ (bfin_arch_setup): Turn into ...
+ (bfin_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-cris-low.cc (class cris_target) <low_arch_setup>: New
+ declaration.
+ (cris_arch_setup): Turn into ...
+ (cris_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-crisv32-low.cc (class crisv32_target) <low_arch_setup>: New
+ declaration.
+ (crisv32_arch_setup): Turn into ...
+ (crisv32_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-ia64-low.cc (class ia64_target) <low_arch_setup>: New
+ declaration.
+ (ia64_arch_setup): Turn into ...
+ (ia64_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-m32r-low.cc (class m32r_target) <low_arch_setup>: New
+ declaration.
+ (m32r_arch_setup): Turn into ...
+ (m32r_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-m68k-low.cc (class m68k_target) <low_arch_setup>: New
+ declaration.
+ (m68k_arch_setup): Turn into ...
+ (m68k_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-mips-low.cc (class mips_target) <low_arch_setup>: New
+ declaration.
+ (mips_arch_setup): Turn into ...
+ (mips_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-nios2-low.cc (class nios2_target) <low_arch_setup>: New
+ declaration.
+ (nios2_arch_setup): Turn into ...
+ (nios2_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-ppc-low.cc (class ppc_target) <low_arch_setup>: New
+ declaration.
+ (ppc_arch_setup): Turn into ...
+ (ppc_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-riscv-low.cc (class riscv_target) <low_arch_setup>: New
+ declaration.
+ (riscv_arch_setup): Turn into ...
+ (riscv_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-s390-low.cc (class s390_target) <low_arch_setup>: New
+ declaration.
+ (s390_arch_setup): Turn into ...
+ (s390_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-sh-low.cc (class sh_target) <low_arch_setup>: New
+ declaration.
+ (sh_arch_setup): Turn into ...
+ (sh_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-sparc-low.cc (class sparc_target) <low_arch_setup>: New
+ declaration.
+ (sparc_arch_setup): Turn into ...
+ (sparc_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-tic6x-low.cc (class tic6x_target) <low_arch_setup>: New
+ declaration.
+ (tic6x_arch_setup): Turn into ...
+ (tic6x_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-tile-low.cc (class tile_target) <low_arch_setup>: New
+ declaration.
+ (tile_arch_setup): Turn into ...
+ (tile_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+ * linux-xtensa-low.cc (class xtensa_target) <low_arch_setup>: New
+ declaration.
+ (xtensa_arch_setup): Turn into ...
+ (xtensa_target::low_arch_setup): ...this.
+ (the_low_target): Remove the op field.
+
+2020-04-02 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * linux-low.h (the_linux_target): New extern declaration.
+ * linux-low.cc (initialize_low): Use 'the_linux_target' to set
+ 'the_target'.
+ (the_linux_target): Remove.
+ * linux-x86-low.cc (class x86_target): New class.
+ (the_x86_target): New static object.
+ (the_linux_target): Define as pointer to the_x86_target.
+ * linux-aarch64-low.cc (class aarch64_target): New class.
+ (the_aarch64_target): New static object.
+ (the_linux_target): Define as pointer to the_aarch64_target.
+ * linux-arm-low.cc (class arm_target): New class.
+ (the_arm_target): New static object.
+ (the_linux_target): Define as pointer to the_arm_target.
+ * linux-bfin-low.cc (class bfin_target): New class.
+ (the_bfin_target): New static object.
+ (the_linux_target): Define as pointer to the_bfin_target.
+ * linux-cris-low.cc (class cris_target): New class.
+ (the_cris_target): New static object.
+ (the_linux_target): Define as pointer to the_cris_target.
+ * linux-crisv32-low.cc (class crisv32_target): New class.
+ (the_crisv32_target): New static object.
+ (the_linux_target): Define as pointer to the_crisv32_target.
+ * linux-ia64-low.cc (class ia64_target): New class.
+ (the_ia64_target): New static object.
+ (the_linux_target): Define as pointer to the_ia64_target.
+ * linux-m32r-low.cc (class m32r_target): New class.
+ (the_m32r_target): New static object.
+ (the_linux_target): Define as pointer to the_m32r_target.
+ * linux-m68k-low.cc (class m68k_target): New class.
+ (the_m68k_target): New static object.
+ (the_linux_target): Define as pointer to the_m68k_target.
+ * linux-mips-low.cc (class mips_target): New class.
+ (the_mips_target): New static object.
+ (the_linux_target): Define as pointer to the_mips_target.
+ * linux-nios2-low.cc (class nios2_target): New class.
+ (the_nios2_target): New static object.
+ (the_linux_target): Define as pointer to the_nios2_target.
+ * linux-ppc-low.cc (class ppc_target): New class.
+ (the_ppc_target): New static object.
+ (the_linux_target): Define as pointer to the_ppc_target.
+ * linux-riscv-low.cc (class riscv_target): New class.
+ (the_riscv_target): New static object.
+ (the_linux_target): Define as pointer to the_riscv_target.
+ * linux-s390-low.cc (class s390_target): New class.
+ (the_s390_target): New static object.
+ (the_linux_target): Define as pointer to the_s390_target.
+ * linux-sh-low.cc (class sh_target): New class.
+ (the_sh_target): New static object.
+ (the_linux_target): Define as pointer to the_sh_target.
+ * linux-sparc-low.cc (class sparc_target): New class.
+ (the_sparc_target): New static object.
+ (the_linux_target): Define as pointer to the_sparc_target.
+ * linux-tic6x-low.cc (class tic6x_target): New class.
+ (the_tic6x_target): New static object.
+ (the_linux_target): Define as pointer to the_tic6x_target.
+ * linux-tile-low.cc (class tile_target): New class.
+ (the_tile_target): New static object.
+ (the_linux_target): Define as pointer to the_tile_target.
+ * linux-xtensa-low.cc (class xtensa_target): New class.
+ (the_xtensa_target): New static object.
+ (the_linux_target): Define as pointer to the_xtensa_target.
+
2020-04-02 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Turn some static functions in linux-low.cc into private methods of