~ubuntu-branches/ubuntu/quantal/libgc/quantal

« back to all changes in this revision

Viewing changes to sparc_mach_dep.S

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2011-03-02 13:43:18 UTC
  • mfrom: (1.2.5 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110302134318-82ful0us5ce82qe8
Tags: 1:7.1-7
* Add ppc64 symbol file (Closes: #615469)
* Add sh4 symbol file (Closes: #614744)
* Add armhf symbol file
* Add powerpcspe symbol file
* Handle sparc64 the same as sparc
* Clear non-arch symbol file to support building on not yet captured
  architectures
* add -pthread to fix build with --no-add-needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        .globl  GC_save_regs_in_stack
9
9
        .globl  GC_push_regs
10
10
GC_save_regs_in_stack:
11
 
GC_push_regs:
12
11
#if defined(__arch64__) || defined(__sparcv9)
13
12
        save    %sp,-128,%sp
14
13
        flushw
24
23
        .size GC_save_regs_in_stack,.GC_save_regs_in_stack_end-GC_save_regs_in_stack
25
24
        
26
25
 
 
26
! GC_clear_stack_inner(arg, limit) clears stack area up to limit and
 
27
! returns arg.  Stack clearing is crucial on SPARC, so we supply
 
28
! an assembly version that s more careful.  Assumes limit is hotter
 
29
! than sp, and limit is 8 byte aligned. 
27
30
        .globl  GC_clear_stack_inner
28
31
GC_clear_stack_inner:
29
32
#if defined(__arch64__) || defined(__sparcv9)