~ubuntu-branches/ubuntu/saucy/nspr/saucy-updates

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/include/md/_linux.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-06-16 11:28:24 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090616112824-cg6qzhvt63lx7bub
Tags: 4.7.5-0ubuntu1
* New upstream version: 4.7.5 (LP: #387745)

* adjust patches to changed upstream code base
  - update debian/patches/99_configure.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
417
417
#elif defined(__arm__)
418
418
/* ARM/Linux */
419
419
#if defined(__GLIBC__) && __GLIBC__ >= 2
 
420
#ifdef __ARM_EABI__
 
421
/* EABI */
 
422
#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[8]
 
423
#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[7] = (val))
 
424
#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t))
 
425
#define _MD_GET_FP_PTR(_t) (&(_t)->md.context[0].__jmpbuf[7])
 
426
#define _MD_SP_TYPE __ptr_t
 
427
#else /* __ARM_EABI__ */
 
428
/* old ABI */
420
429
#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[20]
421
430
#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[19] = (val))
422
431
#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t))
423
432
#define _MD_GET_FP_PTR(_t) (&(_t)->md.context[0].__jmpbuf[19])
424
433
#define _MD_SP_TYPE __ptr_t
 
434
#endif /* __ARM_EABI__ */
425
435
#else
426
436
#error "ARM/Linux pre-glibc2 not supported yet"
427
437
#endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */