summaryrefslogtreecommitdiff
path: root/gas/write.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-11-05 07:10:36 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-11-05 07:10:36 +0000
commita123fcc4dc331ca444ed97dc8100acd18525efee (patch)
treebb6a7a4c1a300e12a139718622cd183984534e3e /gas/write.h
parent513ccc16f988a3387e3cc77de1ca93041e3c7b13 (diff)
downloadbinutils-redhat-a123fcc4dc331ca444ed97dc8100acd18525efee.tar.gz
* write.h (struct fix <fx_pcrel_adjust>): Make it a signed char.
* config/tc-m68k.c (tc_gen_reloc, md_pcrel_from): Remove explicit sign extendion of fx_pxrel_adjust.
Diffstat (limited to 'gas/write.h')
-rw-r--r--gas/write.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/write.h b/gas/write.h
index 8303f1be98..d7215816da 100644
--- a/gas/write.h
+++ b/gas/write.h
@@ -64,8 +64,8 @@ struct fix
/* The value is signed when checking for overflow. */
unsigned fx_signed : 1;
- /* pc-relative offset adjust (only used by m68k and m68hc11) */
- char fx_pcrel_adjust;
+ /* pc-relative offset adjust (only used by some CPU specific code) */
+ signed char fx_pcrel_adjust;
/* How many bytes are involved? */
unsigned char fx_size;