* config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET, rather than
authorKen Raeburn <raeburn@cygnus>
Fri, 7 Oct 1994 22:02:54 +0000 (22:02 +0000)
committerKen Raeburn <raeburn@cygnus>
Fri, 7 Oct 1994 22:02:54 +0000 (22:02 +0000)
commit4325bcb990cc6dbe2a7f18f3ea01ff0bd638e9a0
treefce108e1848bab1e9db1cdfffe58385f97fb17bc
parentd58bbca1b504d4240e3b615f48ed48b8ec7b76a8
* config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET, rather than
both it and TC_M88K.
(coff_adjust_section_syms): New function.
(coff_frob_section): For non-empty sections, create aux entry for the section
symbol, indicating the size.
(n_line_nos): New variable.
(add_lineno): Increment it.
(coff_add_linesym): Increment n_line_nos, don't call add_lineno.
(coff_frob_file): New function; map coff_adjust_section_syms over sections.
(obj_coff_line): Only reset line_base for .bf symbols.
* config/obj-coff.h (coff_adjust_section_syms, coff_frob_file): Declare.
(obj_frob_file): New macro.

* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Renamed from
obj_frob_forward_symbol, and rewritten for new parameter list.
gas/config/obj-coff.c