aboutsummaryrefslogtreecommitdiff
path: root/gprof/alpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/alpha.c')
-rw-r--r--gprof/alpha.c60
1 files changed, 31 insertions, 29 deletions
diff --git a/gprof/alpha.c b/gprof/alpha.c
index 83c4009..b89e9cc 100644
--- a/gprof/alpha.c
+++ b/gprof/alpha.c
@@ -45,36 +45,38 @@
#define Jxx_FUNC_RET 2
#define Jxx_FUNC_JSR_COROUTINE 3
-#if 0
+/* *INDENT-OFF* */
/* Here to document only. We can't use this when cross compiling as
- the bitfield layout might not be the same as native. */
-typedef union
- {
- struct
- {
- unsigned other:26;
- unsigned op_code:6;
- }
- a; /* any format */
- struct
- {
- int disp:21;
- unsigned ra:5;
- unsigned op_code:6;
- }
- b; /* branch format */
- struct
- {
- int hint:14;
- unsigned func:2;
- unsigned rb:5;
- unsigned ra:5;
- unsigned op_code:6;
- }
- j; /* jump format */
- }
-alpha_Instruction;
-#endif
+ the bitfield layout might not be the same as native.
+
+ typedef union
+ {
+ struct
+ {
+ unsigned other:26;
+ unsigned op_code:6;
+ }
+ a; -- any format
+ struct
+ {
+ int disp:21;
+ unsigned ra:5;
+ unsigned op_code:6;
+ }
+ b; -- branch format
+ struct
+ {
+ int hint:14;
+ unsigned func:2;
+ unsigned rb:5;
+ unsigned ra:5;
+ unsigned op_code:6;
+ }
+ j; -- jump format
+ }
+ alpha_Instruction;
+*/
+/* *INDENT-ON* */
static Sym indirect_child;