| @@ -1,15 +1,15 @@ | | | @@ -1,15 +1,15 @@ |
1 | .\" Id: ccom.1,v 1.27 2012/03/22 21:09:41 plunky Exp | | 1 | .\" Id: ccom.1,v 1.27 2012/03/22 21:09:41 plunky Exp |
2 | .\" $NetBSD: ccom.1,v 1.6 2012/03/26 14:30:46 plunky Exp $ | | 2 | .\" $NetBSD: ccom.1,v 1.7 2012/03/26 22:06:04 wiz Exp $ |
3 | .\" | | 3 | .\" |
4 | .\" Copyright (c) 2007 Jeremy C. Reed <reed@reedmedia.net> | | 4 | .\" Copyright (c) 2007 Jeremy C. Reed <reed@reedmedia.net> |
5 | .\" | | 5 | .\" |
6 | .\" Permission to use, copy, modify, and/or distribute this software for any | | 6 | .\" Permission to use, copy, modify, and/or distribute this software for any |
7 | .\" purpose with or without fee is hereby granted, provided that the above | | 7 | .\" purpose with or without fee is hereby granted, provided that the above |
8 | .\" copyright notice and this permission notice appear in all copies. | | 8 | .\" copyright notice and this permission notice appear in all copies. |
9 | .\" | | 9 | .\" |
10 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR AND CONTRIBUTORS DISCLAIM | | 10 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR AND CONTRIBUTORS DISCLAIM |
11 | .\" ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED | | 11 | .\" ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
12 | .\" WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHOR AND | | 12 | .\" WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHOR AND |
13 | .\" CONTRIBUTORS BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL | | 13 | .\" CONTRIBUTORS BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
14 | .\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR | | 14 | .\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
15 | .\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS | | 15 | .\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS |
| @@ -79,60 +79,60 @@ Currently this uses the | | | @@ -79,60 +79,60 @@ Currently this uses the |
79 | .Sy stabs | | 79 | .Sy stabs |
80 | format, encoding information in | | 80 | format, encoding information in |
81 | .Em s Ns ymbol Em tab Ns le entrie Ns Em s. | | 81 | .Em s Ns ymbol Em tab Ns le entrie Ns Em s. |
82 | .It Fl k | | 82 | .It Fl k |
83 | Generate PIC code. | | 83 | Generate PIC code. |
84 | .It Fl m Ar option | | 84 | .It Fl m Ar option |
85 | Target-specific options, used in machine-dependent code. | | 85 | Target-specific options, used in machine-dependent code. |
86 | Multiple | | 86 | Multiple |
87 | .Fl m | | 87 | .Fl m |
88 | options can be given, the following options are supported: | | 88 | options can be given, the following options are supported: |
89 | .Bl -tag -width PowerPC | | 89 | .Bl -tag -width PowerPC |
90 | .It AMD64 | | 90 | .It AMD64 |
91 | .It ARM | | 91 | .It ARM |
92 | .Sy little-endian Ns , | | 92 | .Sy little-endian , |
93 | .Sy big-endian Ns , | | 93 | .Sy big-endian , |
94 | .Sy fpe=fpa Ns , | | 94 | .Sy fpe=fpa , |
95 | .Sy fpe=vpf Ns , | | 95 | .Sy fpe=vpf , |
96 | .Sy soft-float Ns , | | 96 | .Sy soft-float , |
97 | .Sy arch=armv1 Ns , | | 97 | .Sy arch=armv1 , |
98 | .Sy arch=armv2 Ns , | | 98 | .Sy arch=armv2 , |
99 | .Sy arch=armv2a Ns , | | 99 | .Sy arch=armv2a , |
100 | .Sy arch=armv3 Ns , | | 100 | .Sy arch=armv3 , |
101 | .Sy arch=armv4 Ns , | | 101 | .Sy arch=armv4 , |
102 | .Sy arch=armv4t Ns , | | 102 | .Sy arch=armv4t , |
103 | .Sy arch=armv4tej Ns , | | 103 | .Sy arch=armv4tej , |
104 | .Sy arch=armv5 Ns , | | 104 | .Sy arch=armv5 , |
105 | .Sy arch=armv5te Ns , | | 105 | .Sy arch=armv5te , |
106 | .Sy arch=armv5tej Ns , | | 106 | .Sy arch=armv5tej , |
107 | .Sy arch=armv6 Ns , | | 107 | .Sy arch=armv6 , |
108 | .Sy arch=armv6t2 Ns , | | 108 | .Sy arch=armv6t2 , |
109 | .Sy arch=armv6kz Ns , | | 109 | .Sy arch=armv6kz , |
110 | .Sy arch=armv6k No \*(Am | | 110 | .Sy arch=armv6k No \*(Am |
111 | .Sy arch=armv7 Ns . | | 111 | .Sy arch=armv7 . |
112 | .It HPPA | | 112 | .It HPPA |
113 | .It i386 | | 113 | .It i386 |
114 | .It M16C | | 114 | .It M16C |
115 | .It MIPS | | 115 | .It MIPS |
116 | .Sy little-endian No \*(Am | | 116 | .Sy little-endian No \*(Am |
117 | .Sy big-endian Ns . | | 117 | .Sy big-endian . |
118 | .It NOVA | | 118 | .It NOVA |
119 | .It PDP-10 | | 119 | .It PDP-10 |
120 | .It PDP-11 | | 120 | .It PDP-11 |
121 | .It PowerPC | | 121 | .It PowerPC |
122 | .Sy little-endian Ns , | | 122 | .Sy little-endian , |
123 | .Sy big-endian Ns , | | 123 | .Sy big-endian , |
124 | .Sy soft-float No \*(Am | | 124 | .Sy soft-float No \*(Am |
125 | .Sy hard-float Ns . | | 125 | .Sy hard-float . |
126 | .It Sparc64 | | 126 | .It Sparc64 |
127 | .It VAX | | 127 | .It VAX |
128 | .El | | 128 | .El |
129 | .It Fl p | | 129 | .It Fl p |
130 | Generate profiling code. | | 130 | Generate profiling code. |
131 | .It Fl s | | 131 | .It Fl s |
132 | Print statistics to standard error when complete. | | 132 | Print statistics to standard error when complete. |
133 | This includes: | | 133 | This includes: |
134 | name table entries, name string size, permanent allocated memory, | | 134 | name table entries, name string size, permanent allocated memory, |
135 | temporary allocated memory, lost memory, argument list unions, | | 135 | temporary allocated memory, lost memory, argument list unions, |
136 | dimension/function unions, struct/union/enum blocks, inline node count, | | 136 | dimension/function unions, struct/union/enum blocks, inline node count, |
137 | inline control blocks, and permanent symtab entries. | | 137 | inline control blocks, and permanent symtab entries. |
138 | .\" TODO: explain units for above? | | 138 | .\" TODO: explain units for above? |
| @@ -341,27 +341,27 @@ Set the minimum alignment for the struct | | | @@ -341,27 +341,27 @@ Set the minimum alignment for the struct |
341 | in the current statement. | | 341 | in the current statement. |
342 | .It Sy rename Ar name | | 342 | .It Sy rename Ar name |
343 | Provide an alternative | | 343 | Provide an alternative |
344 | .Ar name | | 344 | .Ar name |
345 | which will be used to reference the object declared in the current statement. | | 345 | which will be used to reference the object declared in the current statement. |
346 | .It Sy weak Ar name Ns Op = Ns Ar alias | | 346 | .It Sy weak Ar name Ns Op = Ns Ar alias |
347 | Mark | | 347 | Mark |
348 | .Ar name | | 348 | .Ar name |
349 | as a weak rather than a global symbol, to allow its definition to be | | 349 | as a weak rather than a global symbol, to allow its definition to be |
350 | overridden at link time. | | 350 | overridden at link time. |
351 | If an | | 351 | If an |
352 | .Ar alias | | 352 | .Ar alias |
353 | is given, this will be used as the default value of | | 353 | is given, this will be used as the default value of |
354 | .Ar name. | | 354 | .Ar name . |
355 | .It Sy ident | | 355 | .It Sy ident |
356 | Currently not implemented. | | 356 | Currently not implemented. |
357 | .El | | 357 | .El |
358 | .Lp | | 358 | .Lp |
359 | and the following target-specific operations are handled by | | 359 | and the following target-specific operations are handled by |
360 | machine-dependent code: | | 360 | machine-dependent code: |
361 | .Bl -tag | | 361 | .Bl -tag |
362 | .It Sy tls | | 362 | .It Sy tls |
363 | For AMD64 and i386 targets, the variable declared in the current statement | | 363 | For AMD64 and i386 targets, the variable declared in the current statement |
364 | will be referenced via the | | 364 | will be referenced via the |
365 | .Dq thread-local storage | | 365 | .Dq thread-local storage |
366 | mechanism. | | 366 | mechanism. |
367 | .It Sy init | | 367 | .It Sy init |