aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-09-17 19:07:11 -0700
committerPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-09-19 00:34:13 -0700
commitbaac52f2efb3846f51068ee865b7fe78c70925ee (patch)
treecd6cb301d369f058507ec27452d44e2b150b3e7d /binutils
parent20ddb8f394789a5f248a7d40aa5be1a14955e143 (diff)
downloadriscv-gnu-toolchain-baac52f2efb3846f51068ee865b7fe78c70925ee.zip
riscv-gnu-toolchain-baac52f2efb3846f51068ee865b7fe78c70925ee.tar.gz
riscv-gnu-toolchain-baac52f2efb3846f51068ee865b7fe78c70925ee.tar.bz2
binutils: make gas behave less like MIPS gas
Diffstat (limited to 'binutils')
-rw-r--r--binutils/bfd/elfxx-riscv.c3
-rw-r--r--binutils/gas/config/tc-riscv.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/binutils/bfd/elfxx-riscv.c b/binutils/bfd/elfxx-riscv.c
index f316ca0..2767f9c 100644
--- a/binutils/bfd/elfxx-riscv.c
+++ b/binutils/bfd/elfxx-riscv.c
@@ -276,7 +276,8 @@ static reloc_howto_type howto_table[] =
"R_RISCV_CALL_PLT", /* name */
FALSE, /* partial_inplace */
0, /* src_mask */
- ENCODE_UTYPE_IMM (-1U) | ((bfd_vma) ENCODE_ITYPE_IMM (-1U) << 32), /* dst_mask */
+ ENCODE_UTYPE_IMM (-1U) | ((bfd_vma) ENCODE_ITYPE_IMM (-1U) << 32),
+ /* dst_mask */
TRUE), /* pcrel_offset */
/* High 20 bits of 32-bit PC-relative GOT access. */
diff --git a/binutils/gas/config/tc-riscv.h b/binutils/gas/config/tc-riscv.h
index e3581df..ab6dd91 100644
--- a/binutils/gas/config/tc-riscv.h
+++ b/binutils/gas/config/tc-riscv.h
@@ -33,8 +33,6 @@ struct expressionS;
#define TARGET_ARCH bfd_arch_riscv
#define WORKING_DOT_WORD 1
-#define OLD_FLOAT_READS
-#define REPEAT_CONS_EXPRESSIONS
#define LOCAL_LABELS_FB 1
/* Symbols named FAKE_LABEL_NAME are emitted when generating DWARF, so make