~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/runtime/signal_nacl_amd64p32.h

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2014-11-18 15:12:26 UTC
  • mfrom: (14.2.12 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20141118151226-zug7vn93mn3dtiz3
Tags: 2:1.3.2-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - Support co-installability with gccgo-go tool:
    - d/rules,golang-go.install: Rename bin/go -> bin/golang-go
    - d/golang-go.{postinst,prerm}: Install/remove /usr/bin/go using
      alternatives.
  - d/copyright: Amendments for full compiliance with copyright format.
  - d/control: Demote golang-go.tools to Suggests to support Ubuntu MIR.
  - dropped patches (now upstream):
    - d/p/issue27650045_40001_50001.diff
    - d/p/issue28050043_60001_70001.diff
    - d/p/issue54790044_100001_110001.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2013 The Go Authors.  All rights reserved.
 
2
// Use of this source code is governed by a BSD-style
 
3
// license that can be found in the LICENSE file.
 
4
 
 
5
#define SIG_REGS(ctxt) (((ExcContext*)(ctxt))->regs64)
 
6
 
 
7
#define SIG_RAX(info, ctxt) (SIG_REGS(ctxt).rax)
 
8
#define SIG_RBX(info, ctxt) (SIG_REGS(ctxt).rbx)
 
9
#define SIG_RCX(info, ctxt) (SIG_REGS(ctxt).rcx)
 
10
#define SIG_RDX(info, ctxt) (SIG_REGS(ctxt).rdx)
 
11
#define SIG_RDI(info, ctxt) (SIG_REGS(ctxt).rdi)
 
12
#define SIG_RSI(info, ctxt) (SIG_REGS(ctxt).rsi)
 
13
#define SIG_RBP(info, ctxt) (SIG_REGS(ctxt).rbp)
 
14
#define SIG_RSP(info, ctxt) (SIG_REGS(ctxt).rsp)
 
15
#define SIG_R8(info, ctxt) (SIG_REGS(ctxt).r8)
 
16
#define SIG_R9(info, ctxt) (SIG_REGS(ctxt).r9)
 
17
#define SIG_R10(info, ctxt) (SIG_REGS(ctxt).r10)
 
18
#define SIG_R11(info, ctxt) (SIG_REGS(ctxt).r11)
 
19
#define SIG_R12(info, ctxt) (SIG_REGS(ctxt).r12)
 
20
#define SIG_R13(info, ctxt) (SIG_REGS(ctxt).r13)
 
21
#define SIG_R14(info, ctxt) (SIG_REGS(ctxt).r14)
 
22
#define SIG_R15(info, ctxt) (SIG_REGS(ctxt).r15)
 
23
#define SIG_RIP(info, ctxt) (SIG_REGS(ctxt).rip)
 
24
#define SIG_RFLAGS(info, ctxt) (SIG_REGS(ctxt).rflags)
 
25
 
 
26
#define SIG_CS(info, ctxt) (~0)
 
27
#define SIG_FS(info, ctxt) (~0)
 
28
#define SIG_GS(info, ctxt) (~0)
 
29
 
 
30
#define SIG_CODE0(info, ctxt) (~0)
 
31
#define SIG_CODE1(info, ctxt) (0)