aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-14 02:34:23 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-18 06:26:07 -0400
commit4bfaa1cae74531b8c7a7ccfb95e202ab9772dfdd (patch)
tree5561ae75082448945aec48e5c3600c8a6b3c78e8
parenteb408eaac923140f561d8307cb63da9c9550096a (diff)
downloadgdb-4bfaa1cae74531b8c7a7ccfb95e202ab9772dfdd.zip
gdb-4bfaa1cae74531b8c7a7ccfb95e202ab9772dfdd.tar.gz
gdb-4bfaa1cae74531b8c7a7ccfb95e202ab9772dfdd.tar.bz2
change the type of some fields to bfd_reloc_code_real_type
gas/ChangeLog: 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-dlx.c (struct machine_it): change the type of a field from int to bfd_reloc_code_real_type. * config/tc-tic4x.c: Likewise.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-dlx.c2
-rw-r--r--gas/config/tc-tic4x.c3
3 files changed, 9 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8dcdf31..1cd95a5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
+ * config/tc-dlx.c (struct machine_it): change the type of a field from
+ int to bfd_reloc_code_real_type.
+ * config/tc-tic4x.c: Likewise.
+
+2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
+
* config/tc-v850.c (v850_target_arch): change type to enum
bfd_architecture.
* config/tc-v850.h (v850_target_arch): Likewise.
diff --git a/gas/config/tc-dlx.c b/gas/config/tc-dlx.c
index b636cec..03e8de9 100644
--- a/gas/config/tc-dlx.c
+++ b/gas/config/tc-dlx.c
@@ -52,7 +52,7 @@ struct machine_it
int pcrel;
int size;
int reloc_offset; /* Offset of reloc within insn. */
- int reloc;
+ bfd_reloc_code_real_type reloc;
int HI;
int LO;
}
diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c
index 97f830c..407fe17 100644
--- a/gas/config/tc-tic4x.c
+++ b/gas/config/tc-tic4x.c
@@ -124,7 +124,8 @@ typedef struct tic4x_insn
unsigned int nchars; /* This is always 4 for the C30. */
unsigned long opcode; /* Opcode number. */
expressionS exp; /* Expression required for relocation. */
- int reloc; /* Relocation type required. */
+ /* Relocation type required. */
+ bfd_reloc_code_real_type reloc;
int pcrel; /* True if relocation PC relative. */
char *pname; /* Name of instruction in parallel. */
unsigned int num_operands; /* Number of operands in total. */