From 9bceab41933f59fba4ac2278656d808f1b1d1efe Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Mon, 27 Jun 2016 07:38:33 -0400 Subject: sparc: make a field type bfd_reloc_code_real_type gas/ChangeLog: 2016-07-19 Trevor Saunders * config/tc-sparc.c (struct pop_entry): Make the type of reloc bfd_reloc_code_real_type. --- gas/ChangeLog | 5 +++++ gas/config/tc-sparc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index cf25c6f..db76560 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2016-07-19 Trevor Saunders + * config/tc-sparc.c (struct pop_entry): Make the type of reloc + bfd_reloc_code_real_type. + +2016-07-19 Trevor Saunders + * config/tc-sparc.c (pop_table): Remove sentinel. (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table. (md_begin): Adjust. diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c index 45b2be64..9171407 100644 --- a/gas/config/tc-sparc.c +++ b/gas/config/tc-sparc.c @@ -883,7 +883,7 @@ struct pop_entry /* The name as it appears in assembler. */ const char *name; /* The reloc this pseudo-op translates to. */ - int reloc; + bfd_reloc_code_real_type reloc; /* Flags. See F_POP_* above. */ int flags; }; -- cgit v1.1