powerpc64: maintain own linux/powerpc64 subdirectory
Most architectures supported by strace have their own subdirectory in linux directory, but powerpc64 didn't, causing inconveniences. * configure.ac (arch): Define to "powerpc64" on powerpc64. * linux/powerpc/errnoent1.h: Move to linux/powerpc64/. * linux/powerpc/ioctlent1.h: Likewise. * linux/powerpc/signalent1.h: Likewise. * linux/powerpc/syscallent1.h: Likewise. * linux/powerpc64/ioctlent.h: New file. * linux/powerpc64/syscallent.h: Likewise. * linux/powerpc64/userent.h: Likewise. * Makefile.am (EXTRA_DIST): Remove linux/powerpc/ioctlent1.h, linux/powerpc/syscallent1.h, linux/powerpc/errnoent1.h, and linux/powerpc/signalent1.h; added linux/powerpc64/errnoent1.h, linux/powerpc64/ioctlent.h, linux/powerpc64/ioctlent1.h, linux/powerpc64/signalent1.h, linux/powerpc64/syscallent.h, linux/powerpc64/syscallent1.h, and linux/powerpc64/userent.h.
This commit is contained in:
parent
69099e714c
commit
af3ab5b854
11
Makefile.am
11
Makefile.am
@ -218,13 +218,16 @@ EXTRA_DIST = \
|
||||
linux/or1k/syscallent.h \
|
||||
linux/or1k/userent.h \
|
||||
linux/personality.h \
|
||||
linux/powerpc/errnoent1.h \
|
||||
linux/powerpc/ioctlent.h.in \
|
||||
linux/powerpc/ioctlent1.h \
|
||||
linux/powerpc/signalent1.h \
|
||||
linux/powerpc/syscallent.h \
|
||||
linux/powerpc/syscallent1.h \
|
||||
linux/powerpc/userent.h \
|
||||
linux/powerpc64/errnoent1.h \
|
||||
linux/powerpc64/ioctlent.h \
|
||||
linux/powerpc64/ioctlent1.h \
|
||||
linux/powerpc64/signalent1.h \
|
||||
linux/powerpc64/syscallent.h \
|
||||
linux/powerpc64/syscallent1.h \
|
||||
linux/powerpc64/userent.h \
|
||||
linux/ptp_clock.h \
|
||||
linux/reboot.h \
|
||||
linux/s390/ioctlent.h.in \
|
||||
|
@ -52,13 +52,12 @@ alpha*)
|
||||
AC_DEFINE([ALPHA], 1, [Define for the Alpha architecture.])
|
||||
;;
|
||||
powerpc*)
|
||||
arch=powerpc
|
||||
AC_DEFINE([POWERPC], 1, [Define for the PowerPC architecture.])
|
||||
AC_TRY_COMPILE(
|
||||
[#ifndef __LP64__
|
||||
# error 32 bit
|
||||
#endif], [], ppc_bits=64, ppc_bits=32)
|
||||
if test "$ppc_bits" = "64"; then
|
||||
#endif], [], arch=powerpc64, arch=powerpc)
|
||||
if test "$arch" = "powerpc64"; then
|
||||
AC_DEFINE([POWERPC64], 1, [Define for the PowerPC64 architecture.])
|
||||
fi
|
||||
;;
|
||||
|
@ -1 +0,0 @@
|
||||
#include "ioctlent.h"
|
@ -1 +0,0 @@
|
||||
#include "syscallent.h"
|
1
linux/powerpc64/ioctlent.h
Normal file
1
linux/powerpc64/ioctlent.h
Normal file
@ -0,0 +1 @@
|
||||
#include "../ioctlent.h"
|
1
linux/powerpc64/ioctlent1.h
Normal file
1
linux/powerpc64/ioctlent1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "../ioctlent.h"
|
1
linux/powerpc64/syscallent.h
Normal file
1
linux/powerpc64/syscallent.h
Normal file
@ -0,0 +1 @@
|
||||
#include "powerpc/syscallent.h"
|
1
linux/powerpc64/syscallent1.h
Normal file
1
linux/powerpc64/syscallent1.h
Normal file
@ -0,0 +1 @@
|
||||
#include "powerpc/syscallent.h"
|
1
linux/powerpc64/userent.h
Normal file
1
linux/powerpc64/userent.h
Normal file
@ -0,0 +1 @@
|
||||
#include "powerpc/userent.h"
|
Loading…
Reference in New Issue
Block a user