binutils-gdb/gas/doc
Alan Modra 8d1015a887 Move struc-symbol.h to symbols.c
This file was never supposed to be widely used.  The fact that it has
found its way into many gas files led to bugs, typically when code
expecting a symbolS* to point at a struct symbol is presented with a
struct local_symbol.  Also, commit 158184ac9e changed these structs in
2012 but didn't catch all places where symbol bsym was being used to
test for a local_symbol.

	* Makefile.am (HFILES): Delete struc-symbol.h.
	* doc/internals.texi: Delete struc-symbol.h reference and out
	of date local symbol description.
	* struc-symbol.h: Delete.  Move contents to..
	* symbols.c: ..here.
	(symbol_on_chain, symbol_symbolS): New functions.
	* symbols.h (symbol_on_chain, symbol_symbolS): Declare.
	* cgen.c: Don't #include struc-symbol.h.
	(gas_cgen_parse_operand): Don't test for local_symbol using
	bsym, instead call symbol_symbolS.  Use symbol_get_bfdsym.
	(weak_operand_overflow_check, make_right_shifted_expr): Use
	symbol accessors.
	* config/obj-coff.c: Don't #include struc-symbol.h.
	(GET_FILENAME_STRING): Delete.
	* config/obj-elf.c: Don't #include struc-symbol.h.
	(elf_file_symbol): Use symbol accessors.
	(elf_adjust_symtab): Call symbol_on_chain.
	* config/obj-evax.c: Don't #include struc-symbol.h.
	* config/tc-nds32.c: Likewise.
	* config/tc-rl78.c: Likewise.
	* config/tc-rx.c: Likewise.
	* config/tc-alpha.c: Likewise.
	(add_to_link_pool, s_alpha_comm): Use symbol accessors.
	* config/tc-arc.c: Don't #include struc-symbol.h.
	(arc_check_relocs): Use symbol accessors, testing gas symbol
	section rather than bfd symbol section.
	* config/tc-avr.c: Don't #include struc-symbol.h.
	(avr_patch_gccisr_frag): Use symbol accessors.
	* config/tc-bfin.c: Don't #include struc-symbol.h.
	(bfin_loop_beginend): Use symbol accessors.
	* config/tc-csky.c: Don't #include struc-symbol.h.
	(v2_work_movih, v2_work_ori): Use symbol accessors.  Check for
	absolute symbol as well as O_constant.
	* config/tc-riscv.c: Don't #include struc-symbol.h.
	(riscv_pre_output_hook): Use symbol accessors.
	* config/tc-s390.c: Don't #include struc-symbol.h.
	(s390_literals): Use symbol accessors.
	* config/tc-score.c (s3_build_la_pic, s3_build_lwst_pic): Use
	symbol accessors.
	(s3_relax_branch_inst16, s3_relax_cmpbranch_inst32): Don't
	test symbol bsym.
	* config/tc-score7.c: Don't #include struc-symbol.h.
	(s7_build_la_pic, s7_build_lwst_pic): Use symbol accessors.
	(s7_b32_relax_to_b16): Don't test symbol bsym.
	* config/tc-sh.c: Don't #include struc-symbol.h.
	(insert_loop_bounds): Use symbol accessors.
	(sh_frob_section): Remove bogus symbol canonicalization.
	* config/tc-tic54x.c: Don't #include struc-symbol.h.
	(tic54x_bss): Use symbol accessors.
	* config/tc-tilegx.c: Don't #include struc-symbol.h.
	(emit_tilegx_instruction, tilegx_parse_name): Use symbol accessors.
	* config/tc-tilepro.c: Don't #include struc-symbol.h.
	(emit_tilepro_instruction, tilepro_parse_name): Use accessors.
	* config/tc-xtensa.c: Don't #include struc-symbol.h.
	(xg_assemble_vliw_tokens): Use symbol accessors.
	(xg_order_trampoline_chain): Likewise.
	* ehopt.c: Don't #include struc-symbol.h.
	(check_eh_frame): Correct local symbol test.  Use symbol accessors.
	* write.c: Don't #include struc-symbol.h.
	(create_note_reloc, maybe_generate_build_notes): Use symbol accessors.
	* Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.
2018-10-29 18:20:48 +10:30
..
all.texi or1k: Add OpenRISC gas documentation 2018-10-05 11:41:42 +09:00
as.texi or1k: Add OpenRISC gas documentation 2018-10-05 11:41:42 +09:00
c-aarch64.texi [PATCH, BINUTULS, AARCH64, 9/9] Add SSBS to MSR/MRS 2018-10-09 15:39:29 +01:00
c-alpha.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-arc.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-arm.texi [Arm, 3/3] Add Execution and Data Prediction instructions for AArch32 2018-10-05 11:31:21 +01:00
c-avr.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-bfin.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-cr16.texi
c-cris.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-csky.texi Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
c-d10v.texi
c-d30v.texi
c-epiphany.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-h8300.texi
c-hppa.texi
c-i386.texi x86: Add -mvexwig=[0|1] option to assembler 2018-09-17 09:26:29 -07:00
c-ia64.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-ip2k.texi
c-lm32.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-m32c.texi
c-m32r.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-m68hc11.texi
c-m68k.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-metag.texi
c-microblaze.texi
c-mips.texi [MIPS] Add Loongson 2K1000 proccessor support. 2018-08-29 20:55:25 +08:00
c-mmix.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-msp430.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-mt.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-nds32.texi
c-nios2.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-ns32k.texi
c-or1k.texi or1k: Add OpenRISC gas documentation 2018-10-05 11:41:42 +09:00
c-pdp11.texi
c-pj.texi
c-ppc.texi PowerPC Improve support for Gekko & Broadway 2018-07-26 17:42:47 +09:30
c-pru.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-riscv.texi RISC-V: Add RV32E support. 2018-05-18 14:03:18 -07:00
c-rl78.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-rx.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-s12z.texi Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
c-s390.texi
c-score.texi
c-sh.texi
c-sparc.texi
c-tic6x.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-tic54x.texi
c-tilegx.texi
c-tilepro.texi
c-v850.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-vax.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-visium.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-wasm32.texi
c-xc16x.texi
c-xgate.texi
c-xstormy16.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-xtensa.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-z8k.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-z80.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
fdl.texi
h8.texi Remove i860, i960, bout and aout-adobe targets 2018-04-11 21:49:30 +09:30
internals.texi Move struc-symbol.h to symbols.c 2018-10-29 18:20:48 +10:30
Makefile.am or1k: Add OpenRISC gas documentation 2018-10-05 11:41:42 +09:00
Makefile.in or1k: Add OpenRISC gas documentation 2018-10-05 11:41:42 +09:00