mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
* config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets
in 68000 mode.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
Wed Apr 24 11:28:38 1996 Ian Lance Taylor <ian@cygnus.com>
|
Wed Apr 24 11:28:38 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets
|
||||||
|
in 68000 mode.
|
||||||
|
|
||||||
* config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
|
* config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
|
||||||
call demand_empty_rest_of_line. Non BFD_ASSEMBLER version:
|
call demand_empty_rest_of_line. Non BFD_ASSEMBLER version:
|
||||||
correct handling of input line pointer, and call
|
correct handling of input line pointer, and call
|
||||||
|
@ -1743,6 +1743,9 @@ m68k_ip (instring)
|
|||||||
&& cpu_of_arch (current_architecture) >= m68020)
|
&& cpu_of_arch (current_architecture) >= m68020)
|
||||||
|| opP->disp.size == SIZE_LONG)))
|
|| opP->disp.size == SIZE_LONG)))
|
||||||
{
|
{
|
||||||
|
if (cpu_of_arch (current_architecture) < m68020)
|
||||||
|
opP->error =
|
||||||
|
"displacement too large for this architecture; needs 68020 or higher";
|
||||||
if (opP->reg == PC)
|
if (opP->reg == PC)
|
||||||
tmpreg = 0x3B; /* 7.3 */
|
tmpreg = 0x3B; /* 7.3 */
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user