From b579055794fe389e12d6052157df54f0ca6d30d9 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 5 Jun 1999 23:15:34 +0000 Subject: * 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. --- gas/expr.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'gas/expr.h') 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 -- cgit v1.2.1