diff options
| author | Tim Rogers <[email protected]> | 2013-04-23 20:33:07 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:47 -0700 |
| commit | 461575e7388064dbc06eed3e17b094655f046b6c (patch) | |
| tree | 58b93b9fd53143d3033f3c599b14ad821af22e19 /cuobjdump_to_ptxplus | |
| parent | cd7a97f045cb9bf33fcb9b8bb7b9d1e3ff5caca2 (diff) | |
Removing a slew of code still compiled with gcc and the need for a bunch of external C linkage
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15912]
Diffstat (limited to 'cuobjdump_to_ptxplus')
| -rw-r--r-- | cuobjdump_to_ptxplus/Makefile | 3 | ||||
| -rw-r--r-- | cuobjdump_to_ptxplus/cuobjdump_to_ptxplus.cc | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/cuobjdump_to_ptxplus/Makefile b/cuobjdump_to_ptxplus/Makefile index 62ef492..14fcc68 100644 --- a/cuobjdump_to_ptxplus/Makefile +++ b/cuobjdump_to_ptxplus/Makefile @@ -2,7 +2,6 @@ LEX = flex LEXFLAGS = -B YACC = bison YFLAGS = -t -d --report=all --verbose -CC = gcc CCFLAGS = -ggdb -fPIC -Wall -Wno-unused-function -Wno-sign-compare CXX = g++ CXXFLAGS = ${CCFLAGS} @@ -61,7 +60,7 @@ $(OUTPUT_DIR)/%.o: %.cpp %.h $(CXX) ${CXXFLAGS} -c -o $@ $< $(OUTPUT_DIR)/%.o: %.c %.h - ${CC} ${CCFLAGS} -c -o $@ $< + ${CXX} ${CCFLAGS} -c -o $@ $< SRCS = $(shell ls *.cc) diff --git a/cuobjdump_to_ptxplus/cuobjdump_to_ptxplus.cc b/cuobjdump_to_ptxplus/cuobjdump_to_ptxplus.cc index af8babe..82dcb7c 100644 --- a/cuobjdump_to_ptxplus/cuobjdump_to_ptxplus.cc +++ b/cuobjdump_to_ptxplus/cuobjdump_to_ptxplus.cc @@ -38,13 +38,13 @@ cuobjdumpInstList *g_instList = new cuobjdumpInstList(); cuobjdumpInstList *g_headerList = new cuobjdumpInstList(); int sass_parse(); -extern "C" FILE *sass_in; +extern FILE *sass_in; int ptx_parse(); -extern "C" FILE *ptx_in; +extern FILE *ptx_in; int elf_parse(); -extern "C" FILE *elf_in; +extern FILE *elf_in; extern int g_error_detected; |
