gas: Update fr_literal access in frag for GCC 10
[deliverable/binutils-gdb.git] / gas / config / tc-microblaze.c
index 24ea35824473c5b059ada7fb8190ca66a12c0adf..ae5d36dc9c3585a95195a8cdfbd5aa354100d87f 100644 (file)
@@ -1983,7 +1983,7 @@ md_apply_fix (fixS *   fixP,
              valueT * valp,
              segT     segment)
 {
-  char *       buf  = fixP->fx_where + fixP->fx_frag->fr_literal;
+  char *       buf  = fixP->fx_where + &fixP->fx_frag->fr_literal[0];
   const char *       file = fixP->fx_file ? fixP->fx_file : _("unknown");
   const char * symname;
   /* Note: use offsetT because it is signed, valueT is unsigned.  */
This page took 0.028611 seconds and 4 git commands to generate.