* configure.srv [powerpc64-*-linux*]: Use linux-ppc-low.o

instead of linux-ppc64-low.o.
	* linux-ppc64-low.c: Remove file.
	* Makefile.in (SFILES): Remove linux-ppc64-low.c.
	(linux-ppc64-low.o): Remove rule.

	* linux-ppc-low.c (init_registers_ppc64): Add prototype.
	(init_registers_powerpc_64): Likewise.
	(ppc_regmap): Conditionally define depending on __powerpc64__.
	(ppc_cannot_store_register): Do not special-case "fpscr" when
	compiled on __powerpc64__.
	(ppc_collect_ptrace_register): New function.
	(ppc_supply_ptrace_register): New function.
	(ppc_breakpoint): Change type to "unsigned int".
	(ppc_breakpoint_at): Change type of "insn" to "unsigned int".
	(the_low_target): Conditionally provide initializers for the
	arch_setup member depending on __powerpc64__.  Install
	collect_ptrace_register and supply_ptrace_register members.
This commit is contained in:
Ulrich Weigand
2008-02-28 05:55:55 +00:00
parent 9b4b61c8db
commit 5b0a002e22
5 changed files with 89 additions and 220 deletions

View File

@@ -107,7 +107,7 @@ case "${target}" in
srv_linux_thread_db=yes
;;
powerpc64-*-linux*) srv_regobj="reg-ppc64.o powerpc-64.o"
srv_tgtobj="linux-low.o linux-ppc64-low.o"
srv_tgtobj="linux-low.o linux-ppc-low.o"
srv_xmlfiles="rs6000/powerpc-64.xml"
srv_xmlfiles="${srv_xmlfiles} rs6000/power-altivec.xml"
srv_xmlfiles="${srv_xmlfiles} rs6000/power64-core.xml"