aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-08 10:36:39 +0000
committerAlan Modra <amodra@gmail.com>2009-09-08 10:36:39 +0000
commitd4f4f3fb2b6ee551c8a1255e1d3af7fcf8160487 (patch)
tree90e1be6c8a9c98aab2d4c61bf25d71f604ad6a38 /gas/read.c
parent6e5e57c9e6372203fa99de754568a1a50cf28f76 (diff)
downloadgdb-d4f4f3fb2b6ee551c8a1255e1d3af7fcf8160487.zip
gdb-d4f4f3fb2b6ee551c8a1255e1d3af7fcf8160487.tar.gz
gdb-d4f4f3fb2b6ee551c8a1255e1d3af7fcf8160487.tar.bz2
* read.c (emit_expr_fix): Handle size 3.
* config/tc-avr.c (md_assemble): Call dwarf2_emit_insn. * config/tc-d30v.c (write_long, write_1_short, write_2_short, md_assemble): Likewise. * config/tc-dlx.c (md_assemble): Likewise. * config/tc-i860.c (md_assemble): Likewise. * config/tc-mn10200.c (md_assemble): Likewise. * config/tc-pj.c (md_assemble): Likewise. * config/tc-vax.c (md_assemble): Likewise.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index 9c38bc8..5a384a6 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -4265,6 +4265,9 @@ emit_expr_fix (expressionS *exp, unsigned int nbytes, fragS *frag, char *p)
case 2:
r = BFD_RELOC_16;
break;
+ case 3:
+ r = BFD_RELOC_24;
+ break;
case 4:
r = BFD_RELOC_32;
break;