~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to ia64.s

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
//   void rb_ia64_flushrs(void) { __builtin_ia64_flushrs(); }
7
7
//   void *rb_ia64_bsp(void) { return __builtin_ia64_bsp(); }
8
8
// 
 
9
// Note that rb_ia64_flushrs and rb_ia64_bsp works in its own stack frame.
 
10
// It's because BSP is updated by br.call/brl.call (not alloc instruction).
 
11
// So rb_ia64_flushrs flushes stack frames including caller's one.
 
12
// rb_ia64_bsp returns the address next to caller's register stack frame. 
 
13
//
 
14
// See also
 
15
// Intel Itanium Architecture Software Developer's Manual
 
16
// Volume 2: System Architecture.
 
17
//
9
18
        .file   "ia64.c"
10
19
        .text
11
20
        .align 16