summaryrefslogtreecommitdiff
path: root/gas/expr.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-06-05 23:15:34 +0000
committerRichard Henderson <rth@redhat.com>1999-06-05 23:15:34 +0000
commitb579055794fe389e12d6052157df54f0ca6d30d9 (patch)
tree6e5b4b471da27dac95d550a04cee9e70118e3afe /gas/expr.h
parent2d59116fa250bd584bbf4e8432304b5e6780fdfd (diff)
downloadbinutils-redhat-b579055794fe389e12d6052157df54f0ca6d30d9.tar.gz
* dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
creation logic from obj_elf_create_section. * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection. (section_stack): New. (special_sections): Make const. (obj_elf_section): Gut and rewrite parsing. (obj_elf_change_section): New function broken out of obj_elf_section. (obj_elf_parse_section_letters): Likewise. (obj_elf_section_word): Likewise. (obj_elf_section_type): Likewise. (obj_elf_previous): Treat as a toggle. (obj_elf_popsection): New. * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str. (ppc_section_type): Likewise. * config/tc-ppc.h: Likewise. * expr.h (struct expressionS): Don't make X_op a bitfield. * config/tc-alpha.c: Update for symbol handling changes. (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section. (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
Diffstat (limited to 'gas/expr.h')
-rw-r--r--gas/expr.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gas/expr.h b/gas/expr.h
index 14a2fd2720..32a16619b1 100644
--- a/gas/expr.h
+++ b/gas/expr.h
@@ -116,14 +116,8 @@ typedef struct expressionS
symbolS *X_op_symbol;
/* A number to add. */
offsetT X_add_number;
- /* The type of the expression. We can't assume that an arbitrary
- compiler can handle a bitfield of enum type. FIXME: We could
- check this using autoconf. */
-#ifdef __GNUC__
- operatorT X_op : 5;
-#else
- unsigned X_op : 5;
-#endif
+ /* The type of the expression. */
+ operatorT X_op;
/* Non-zero if X_add_number should be regarded as unsigned. This is
only valid for O_constant expressions. It is only used when an
O_constant must be extended into a bignum (i.e., it is not used