diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-21 17:00:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-21 17:00:45 +0000 |
commit | fee3e248a6a8236bc9110e5dc83f8f4e88e247d3 (patch) | |
tree | 94ffe6dc34314412499bb064c5caeedfbc51db9b /gas/config | |
parent | 7c49f021ca0b97d27913ad75044a7a767a115393 (diff) | |
download | gdb-fee3e248a6a8236bc9110e5dc83f8f4e88e247d3.zip gdb-fee3e248a6a8236bc9110e5dc83f8f4e88e247d3.tar.gz gdb-fee3e248a6a8236bc9110e5dc83f8f4e88e247d3.tar.bz2 |
* configure.in: Set em=svr4 for m68k-*-sysv4*.
* configure: Rebuild.
* config/te-svr4.h: New file.
* config/tc-m68k.c (m68k_comment_chars): Only include `#' if
TE_SVR4 or TE_DELTA.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/.Sanitize | 1 | ||||
-rw-r--r-- | gas/config/tc-m68k.c | 7 | ||||
-rw-r--r-- | gas/config/te-svr4.h | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index 63a90e6..cdacd80 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -183,6 +183,7 @@ te-riscix.h te-sco386.h te-sparcaout.h te-sun3.h +te-svr4.h te-sysv32.h vax-inst.h vms-conf.h diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 5bd259f..4ee9f8a 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -31,7 +31,7 @@ pre-processor is disabled, these aren't very useful. The macro tc_comment_chars points to this. We use this, rather than the usual comment_chars, so that the --bitwise-or option will work. */ -#if (defined (OBJ_ELF) && ! defined (TE_PSOS) && ! defined (TE_LINUX)) || defined (TE_DELTA) +#if defined (TE_SVR4) || defined (TE_DELTA) const char *m68k_comment_chars = "|#"; #else const char *m68k_comment_chars = "|"; @@ -1161,7 +1161,10 @@ m68k_ip (instring) case AINDR: case AINC: case ADEC: + break; case DISP: + if (opP->reg == PC || opP->reg == ZPC) + losing++; break; default: losing++; @@ -4804,7 +4807,7 @@ s_even (ignore) temp = 1; /* JF should be 2? */ temp_fill = get_absolute_expression (); if (!need_pass_2) /* Never make frag if expect extra pass. */ - frag_align (temp, (int) temp_fill); + frag_align (temp, (int) temp_fill, 0); demand_empty_rest_of_line (); record_alignment (now_seg, temp); } diff --git a/gas/config/te-svr4.h b/gas/config/te-svr4.h new file mode 100644 index 0000000..7217ee1 --- /dev/null +++ b/gas/config/te-svr4.h @@ -0,0 +1,4 @@ +#define TE_SVR4 +#define LOCAL_LABELS_FB 1 + +#include "obj-format.h" |