* config/tc-sh.c (md_apply_fix3): Don't zero relocations on big

endian hosts.
This commit is contained in:
Joern Rennecke
2002-04-09 15:26:59 +00:00
parent c80b2f7704
commit 2ed5f585e4
2 changed files with 6 additions and 1 deletions

View File

@@ -3310,7 +3310,7 @@ md_apply_fix3 (fixP, valP, seg)
char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
int lowbyte = target_big_endian ? 1 : 0;
int highbyte = target_big_endian ? 0 : 1;
long val = * (long *) valP;
long val = (long) *valP;
long max, min;
int shift;