~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to erts/emulator/hipe/hipe_ppc_glue.S

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * %CopyrightBegin%
 
3
 * 
 
4
 * Copyright Ericsson AB 2004-2009. All Rights Reserved.
 
5
 * 
 
6
 * The contents of this file are subject to the Erlang Public License,
 
7
 * Version 1.1, (the "License"); you may not use this file except in
 
8
 * compliance with the License. You should have received a copy of the
 
9
 * Erlang Public License along with this software. If not, it can be
 
10
 * retrieved online at http://www.erlang.org/.
 
11
 * 
 
12
 * Software distributed under the License is distributed on an "AS IS"
 
13
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
14
 * the License for the specific language governing rights and limitations
 
15
 * under the License.
 
16
 * 
 
17
 * %CopyrightEnd%
 
18
 */
1
19
/* $Id$
2
20
 */
3
21
#include "hipe_ppc_asm.h"
520
538
.handle_trap:
521
539
        li      r3, HIPE_MODE_SWITCH_RES_TRAP
522
540
        STORE   NSP, P_NSP(P)
523
 
        STORE   r4, P_ARITY(P)
 
541
        STORE   r4, P_NARITY(P)
524
542
        STORE   TEMP_LR, P_NRA(P)
525
543
        b       .nosave_exit
526
544
 
557
575
        LOAD    NSP, P_NSP(P)
558
576
        LOAD_ARG_REGS
559
577
        blr
 
578
 
 
579
#if defined(__linux__) && defined(__ELF__)
 
580
.section .note.GNU-stack,"",%progbits
 
581
#endif