gas: Update fr_literal access in frag for GCC 10
[deliverable/binutils-gdb.git] / gas / config / tc-csky.c
index 83fca2af73db63f4b81b82590f34164dda2f9465..be54afbd679cc7e8ab207de47268faf14f3f3ed5 100644 (file)
@@ -4196,7 +4196,7 @@ void
 md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, segT asec,  fragS *fragp)
 {
   offsetT disp;
-  char *buf = fragp->fr_fix + fragp->fr_literal;
+  char *buf = fragp->fr_fix + &fragp->fr_literal[0];
 
   gas_assert (fragp->fr_symbol);
   if (IS_EXTERNAL_SYM (fragp->fr_symbol, asec))
This page took 0.023948 seconds and 4 git commands to generate.