~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« 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-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
#define _PR_SI_ARCHITECTURE "s390x"
80
80
#elif defined(__s390__)
81
81
#define _PR_SI_ARCHITECTURE "s390"
 
82
#elif defined(__sh__)
 
83
#define _PR_SI_ARCHITECTURE "sh"
82
84
#else
83
85
#error "Unknown CPU architecture"
84
86
#endif
436
438
#error "ARM/Linux pre-glibc2 not supported yet"
437
439
#endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
438
440
 
 
441
#elif defined(__sh__)
 
442
/* SH/Linux */
 
443
#if defined(__GLIBC__) && __GLIBC__ >= 2
 
444
#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[7]
 
445
#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[6] = (val))
 
446
#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t))
 
447
#define _MD_GET_FP_PTR(_t) (&(_t)->md.context[0].__jmpbuf[6])
 
448
#define _MD_SP_TYPE __ptr_t
 
449
#else
 
450
#error "SH/Linux pre-glibc2 not supported yet"
 
451
#endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
 
452
 
439
453
#else
440
454
 
441
455
#error "Unknown CPU architecture"