mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Undo removal of the runtime libraries. While this may have been a bit
premature, these libraries will be going away for the 2.0 release. Other arrangements for profiling, gc, etc. should be made in the next few months. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
16
runtime/GCCLibraries/libgcc/Makefile
Normal file
16
runtime/GCCLibraries/libgcc/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
##===- runtime/GCCLibraries/libgcc/Makefile ----------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file was developed by the LLVM research group and is distributed under
|
||||
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
LEVEL = ../../..
|
||||
BYTECODE_LIBRARY = 1
|
||||
DONT_BUILD_RELINKED = 1
|
||||
LIBRARYNAME = gcc
|
||||
BYTECODE_DESTINATION = $(CFERuntimeLibDir)
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
13
runtime/GCCLibraries/libgcc/eprintf.c
Normal file
13
runtime/GCCLibraries/libgcc/eprintf.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
void abort(void);
|
||||
|
||||
/* This is used by the `assert' macro. */
|
||||
void
|
||||
__eprintf (const char *string, const char *expression,
|
||||
unsigned int line, const char *filename)
|
||||
{
|
||||
fprintf (stderr, string, expression, line, filename);
|
||||
fflush (stderr);
|
||||
abort ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user