aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-04-04 04:42:47 +0200
committerTristan Gingold <tgingold@free.fr>2017-04-04 04:42:47 +0200
commit6da8a417b9118f3b26eb64a41a87d3a5b82721a3 (patch)
treef4fb9dec012683502f8192aaadf7d31297042cd5
parent6d391208521442ac872d1682593d4541ab3b754d (diff)
downloadghdl-6da8a417b9118f3b26eb64a41a87d3a5b82721a3.tar.gz
ghdl-6da8a417b9118f3b26eb64a41a87d3a5b82721a3.tar.bz2
ghdl-6da8a417b9118f3b26eb64a41a87d3a5b82721a3.zip
llvm39/llvm4: remove useless renaming.
-rw-r--r--src/ortho/llvm4-nodebug/Makefile10
-rw-r--r--src/ortho/llvm4-nodebug/ortho_code_main.adb (renamed from src/ortho/llvm4-nodebug/ortho_code_main4.adb)4
2 files changed, 3 insertions, 11 deletions
diff --git a/src/ortho/llvm4-nodebug/Makefile b/src/ortho/llvm4-nodebug/Makefile
index 3868566f4..3ba5e798b 100644
--- a/src/ortho/llvm4-nodebug/Makefile
+++ b/src/ortho/llvm4-nodebug/Makefile
@@ -8,7 +8,7 @@ BE=llvm4-nodebug
all: $(ortho_exec)
-$(ortho_exec): $(ortho_srcdir)/llvm4-nodebug/ortho_llvm.ads force llvm-cbindings.o ortho_code_main.adb
+$(ortho_exec): $(ortho_srcdir)/llvm4-nodebug/ortho_llvm.ads force llvm-cbindings.o
$(GNATMAKE) -o $@ -aI$(ortho_srcdir)/llvm4-nodebug -aI$(ortho_srcdir) \
$(GNAT_FLAGS) ortho_code_main -bargs -E \
-largs llvm-cbindings.o --LINK=$(CXX) \
@@ -17,14 +17,6 @@ $(ortho_exec): $(ortho_srcdir)/llvm4-nodebug/ortho_llvm.ads force llvm-cbindings
llvm-cbindings.o: $(ortho_srcdir)/llvm4-nodebug/llvm-cbindings.cpp
$(CXX) -c `$(LLVM_CONFIG) --cxxflags` -o $@ $<
-ortho_code_main.adb:
- echo "with Ortho_Code_Main$(llvm_be_ver);" > ortho_code_main.tmp
- echo "procedure Ortho_Code_Main is" >> ortho_code_main.tmp
- echo "begin" >> ortho_code_main.tmp
- echo " Ortho_Code_Main$(llvm_be_ver);" >> ortho_code_main.tmp
- echo "end Ortho_Code_Main;" >> ortho_code_main.tmp
- mv ortho_code_main.tmp $@
-
clean:
$(RM) -f *.o *.ali ortho_code_main
$(RM) b~*.ad? *~
diff --git a/src/ortho/llvm4-nodebug/ortho_code_main4.adb b/src/ortho/llvm4-nodebug/ortho_code_main.adb
index cbe82c24b..ff12395c0 100644
--- a/src/ortho/llvm4-nodebug/ortho_code_main4.adb
+++ b/src/ortho/llvm4-nodebug/ortho_code_main.adb
@@ -32,7 +32,7 @@ with Ortho_LLVM; use Ortho_LLVM;
with Interfaces;
with Interfaces.C; use Interfaces.C;
-procedure Ortho_Code_Main4 is
+procedure Ortho_Code_Main is
-- Name of the output filename (given by option '-o').
Output : String_Acc := null;
@@ -315,4 +315,4 @@ exception
when others =>
Set_Exit_Status (2);
raise;
-end Ortho_Code_Main4;
+end Ortho_Code_Main;