* symbols.c (S_GET_VALUE): Don't treat O_constant and local
[deliverable/binutils-gdb.git] / gas / config / tc-cris.c
index 19ae971190ef3df44ecf62a7893d557318346925..a83cf8ac94d86a31029577590beb67984736d7f2 100644 (file)
@@ -495,10 +495,7 @@ md_convert_frag (abfd, sec, fragP)
   opcodep = fragP->fr_opcode;
 
   symbolP = fragP->fr_symbol;
-  target_address
-    = (symbolP
-       ? S_GET_VALUE (symbolP) + symbol_get_frag(fragP->fr_symbol)->fr_address
-       : 0 ) + fragP->fr_offset;
+  target_address = (symbolP ? S_GET_VALUE (symbolP) : 0) + fragP->fr_offset;
   address_of_var_part = fragP->fr_address + var_part_offset;
 
   switch (fragP->fr_subtype)
This page took 0.030369 seconds and 4 git commands to generate.