aboutsummaryrefslogtreecommitdiff
path: root/gas/write.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-11-05 07:10:37 +0000
committerAlan Modra <amodra@gmail.com>2012-11-05 07:10:37 +0000
commit552c607f04fd0925fb808fddc1803f966cc365c1 (patch)
tree8b7e86ccd6c42dbb7f0b2721e4d355c3ac870078 /gas/write.h
parentd4f1ee75e7381b210d5da54c9b6b6ff74aa96c00 (diff)
downloadgdb-552c607f04fd0925fb808fddc1803f966cc365c1.zip
gdb-552c607f04fd0925fb808fddc1803f966cc365c1.tar.gz
gdb-552c607f04fd0925fb808fddc1803f966cc365c1.tar.bz2
* 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 8303f1b..d721581 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;