aboutsummaryrefslogtreecommitdiff
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
commit9de8d8f1848f870605f4e94ffd9d2f1baa005c93 (patch)
tree8e6f6a20b2de6c7f1d91784f54b103d69774cffe /gas/expr.h
parent9894490542aa133d03f55b98fe59fabbfde335c0 (diff)
downloadgdb-9de8d8f1848f870605f4e94ffd9d2f1baa005c93.zip
gdb-9de8d8f1848f870605f4e94ffd9d2f1baa005c93.tar.gz
gdb-9de8d8f1848f870605f4e94ffd9d2f1baa005c93.tar.bz2
* 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 14a2fd2..32a1661 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