mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
Add m68k support (from Debian bug report #172269)
Original commit message from CVS: Add m68k support (from Debian bug report #172269)
This commit is contained in:
parent
5c2d6b2f43
commit
370c665fbd
2 changed files with 14 additions and 1 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 6b0a313b93535f0df7956a01405ddb63a3d76b5a
|
||||
Subproject commit 6757dae2885c2c09ad6db243c73946ef387bb044
|
|
@ -180,6 +180,19 @@ struct minimal_s390_stackframe {
|
|||
((struct minimal_s390_stackframe *)sp)->back_chain = 0;
|
||||
|
||||
|
||||
/***** M68K *****/
|
||||
#elif defined(HAVE_CPU_M68K) && defined(__GNUC__)
|
||||
|
||||
/* From Matthias Urlichs <smurf@smurf.noris.de> */
|
||||
|
||||
#define GST_ARCH_SET_SP(stackpointer) \
|
||||
__asm__( "move.l %0, %%sp\n" : : "r" (stackpointer))
|
||||
|
||||
#define GST_ARCH_CALL(target) \
|
||||
__asm__( "jbsr (%0)" : : "r" (target))
|
||||
|
||||
#define GST_ARCH_SETUP_STACK(sp) sp -= 4
|
||||
|
||||
#elif defined(HAVE_MAKECONTEXT)
|
||||
|
||||
/* If we have makecontext(), we'll be using that. */
|
||||
|
|
Loading…
Reference in a new issue