OSDN Git Service

* config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc.
authorbernds <bernds>
Sun, 26 Mar 2006 01:12:06 +0000 (01:12 +0000)
committerbernds <bernds>
Sun, 26 Mar 2006 01:12:06 +0000 (01:12 +0000)
commita17057b139fcba14dae4f8d9969d4a2f6fba0379
tree075a5a953748f122fd226a4adf6e88c9598696c0
parentee427b1e6ac186c7d5e3c0d0c03e011273edad7b
* config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc.
* config/bfin-lex.l: Recognize GOT17M4 and FUNCDESC_GOT17M4.
* config/bfin-parse.y: Include "libbfd.h", "elf/common.h" and
"elf/bfin.h".
(GOT17M4, FUNCDESC_GOT17M4): New tokens of type <value>.
(any_gotrel): New rule.
(got): Use it, and create Expr_Node_GOT_Reloc nodes.
* config/tc-bfin.c: Include "libbfd.h", "elf/common.h" and
"elf/bfin.h".
(DEFAULT_FLAGS, bfin_flags, bfin_pic_flag): New.
(bfin_pic_ptr): New function.
(md_pseudo_table): Add it for ".picptr".
(OPTION_FDPIC): New macro.
(md_longopts): Add -mfdpic.
(md_parse_option): Handle it.
(md_begin): Set BFD flags.
(md_apply_fix3, bfin_fix_adjustable): Handle new relocs.
(bfin_gen_ldstidxi): Adjust to match the trees that the parser gives
us for GOT relocs.
* Makefile.am (bfin-parse.o): Update dependencies.
(DEPTC_bfin_elf): Likewise.
* Makefile.in: Regenerate.
gas/ChangeLog
gas/Makefile.am
gas/Makefile.in
gas/config/bfin-defs.h
gas/config/bfin-lex.l
gas/config/bfin-parse.y
gas/config/tc-bfin.c