1 // Do not edit. Bootstrap copy of /usr/local/google/buildbot/src/android/build-tools/out/obj/go/src/cmd/link/internal/arm64/l.go 2 3 //line /usr/local/google/buildbot/src/android/build-tools/out/obj/go/src/cmd/link/internal/arm64/l.go:1 4 // Inferno utils/5l/asm.c 5 // http://code.google.com/p/inferno-os/source/browse/utils/5l/asm.c 6 // 7 // Copyright 1994-1999 Lucent Technologies Inc. All rights reserved. 8 // Portions Copyright 1995-1997 C H Forsyth (forsyth (a] terzarima.net) 9 // Portions Copyright 1997-1999 Vita Nuova Limited 10 // Portions Copyright 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com) 11 // Portions Copyright 2004,2006 Bruce Ellis 12 // Portions Copyright 2005-2007 C H Forsyth (forsyth (a] terzarima.net) 13 // Revisions Copyright 2000-2007 Lucent Technologies Inc. and others 14 // Portions Copyright 2009 The Go Authors. All rights reserved. 15 // 16 // Permission is hereby granted, free of charge, to any person obtaining a copy 17 // of this software and associated documentation files (the "Software"), to deal 18 // in the Software without restriction, including without limitation the rights 19 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 20 // copies of the Software, and to permit persons to whom the Software is 21 // furnished to do so, subject to the following conditions: 22 // 23 // The above copyright notice and this permission notice shall be included in 24 // all copies or substantial portions of the Software. 25 // 26 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 27 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 28 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 29 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 30 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 31 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 32 // THE SOFTWARE. 33 34 package arm64 35 36 // Writing object files. 37 38 // cmd/9l/l.h from Vita Nuova. 39 // 40 // Copyright 1994-1999 Lucent Technologies Inc. All rights reserved. 41 // Portions Copyright 1995-1997 C H Forsyth (forsyth (a] terzarima.net) 42 // Portions Copyright 1997-1999 Vita Nuova Limited 43 // Portions Copyright 2000-2008 Vita Nuova Holdings Limited (www.vitanuova.com) 44 // Portions Copyright 2004,2006 Bruce Ellis 45 // Portions Copyright 2005-2007 C H Forsyth (forsyth (a] terzarima.net) 46 // Revisions Copyright 2000-2008 Lucent Technologies Inc. and others 47 // Portions Copyright 2009 The Go Authors. All rights reserved. 48 // 49 // Permission is hereby granted, free of charge, to any person obtaining a copy 50 // of this software and associated documentation files (the "Software"), to deal 51 // in the Software without restriction, including without limitation the rights 52 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 53 // copies of the Software, and to permit persons to whom the Software is 54 // furnished to do so, subject to the following conditions: 55 // 56 // The above copyright notice and this permission notice shall be included in 57 // all copies or substantial portions of the Software. 58 // 59 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 60 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 61 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 62 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 63 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 64 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 65 // THE SOFTWARE. 66 67 const ( 68 thechar = '7' 69 PtrSize = 8 70 IntSize = 8 71 RegSize = 8 72 MaxAlign = 32 // max data alignment 73 FuncAlign = 8 74 MINLC = 4 75 ) 76 77 /* Used by ../internal/ld/dwarf.go */ 78 const ( 79 DWARFREGSP = 31 80 DWARFREGLR = 30 81 ) 82