diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-01-03 17:22:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-01-03 17:22:34 +0000 |
commit | 2156d0d747609c165fcc8b2e1a8240d74e035743 (patch) | |
tree | 1b4d9e456b5c1b252d49eecc499acdc2ae2a0755 /gas/config/tc-m68k.c | |
parent | a3ecb49f4b1c335913e06cd678b1bcce216497f9 (diff) | |
download | gdb-2156d0d747609c165fcc8b2e1a8240d74e035743.zip gdb-2156d0d747609c165fcc8b2e1a8240d74e035743.tar.gz gdb-2156d0d747609c165fcc8b2e1a8240d74e035743.tar.bz2 |
* config/tc-m68k.c (m68k_ip): Call frag_grow before adding a
PCINDEX frag. From Ronald F. Guilmette <rfg@monkeys.com>.
Diffstat (limited to 'gas/config/tc-m68k.c')
-rw-r--r-- | gas/config/tc-m68k.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 7204ec3..36c1f00 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -2081,6 +2081,12 @@ m68k_ip (instring) #endif ) { + /* The code in md_convert_frag_1 needs to be + able to adjust nextword. Call frag_grow + to ensure that we have enough space in + the frag obstack to make all the bytes + contiguous. */ + frag_grow (14); nextword += baseo & 0xff; addword (nextword); add_frag (adds (&opP->disp), offs (&opP->disp), |