aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom Wood <wood@gnu.org>1993-04-27 20:31:20 +0000
committerTom Wood <wood@gnu.org>1993-04-27 20:31:20 +0000
commit440954b521edef780df94889965552b81922869e (patch)
tree34ced1c6a1bbc671e3c912e6717220b9f9a3260b /gcc
parent3ac6bbb89efc26d819ecb0f73097a74faadc47a8 (diff)
downloadgcc-440954b521edef780df94889965552b81922869e.zip
gcc-440954b521edef780df94889965552b81922869e.tar.gz
gcc-440954b521edef780df94889965552b81922869e.tar.bz2
Use gas.h instead of bsd.h.
(ASM_GENERATE_INTERNAL_LABEL): Define. From-SVN: r4251
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/next.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/config/i386/next.h b/gcc/config/i386/next.h
index 4d95cd2..ceb4556 100644
--- a/gcc/config/i386/next.h
+++ b/gcc/config/i386/next.h
@@ -17,8 +17,7 @@ You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include "i386/i386.h"
-#include "i386/bsd.h"
+#include "i386/gas.h"
#include "nextstep.h"
/* By default, target has a 80387, with IEEE FP. */
@@ -118,6 +117,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define OBJC_FORWARDING_STACK_OFFSET 8
#define OBJC_FORWARDING_MIN_OFFSET 8
+/* Compensate for botch in dbxout_init/dbxout_source_file which
+ unconditionally drops the first character from ltext_label_name */
+
+#undef ASM_GENERATE_INTERNAL_LABEL
+#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
+ sprintf ((BUF), "*.%s%d", (PREFIX), (NUMBER))
+
/* Output to assembler file text saying following lines
may contain character constants, extra white space, comments, etc. */