Browse Source

Enable debugging info export for TARGET_EMBEDDED (link.dll), remove "C debugging support is experimental" warning.

git-svn-id: file:///var/svn/tigccpp/trunk/tigcc/ld-tigcc@216 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 19 years ago
parent
commit
63e58ef7b5
2 changed files with 2 additions and 12 deletions
  1. 2 2
      Makefile
  2. 0 10
      main.c

+ 2 - 2
Makefile

@@ -17,8 +17,8 @@ endif
 CC = gcc
 CFLAGS = -s -Os -fno-exceptions
 WARN_CFLAGS = -W -Wall -Wwrite-strings -Wpointer-arith
-DEFINES = -DCOFF_SUPPORT -DAMIGAOS_SUPPORT -DTIOS_SUPPORT -DFLASH_OS_SUPPORT -DNOSTUB_DLL_SUPPORT -DFARGO_SUPPORT -DDATA_VAR_SUPPORT -DTIOS_FILE_SUPPORT -DTIOS_UPGRADE_FILE_SUPPORT -DCOFF_TIGCC_EXTENSIONS -DAMIGAOS_TIGCC_EXTENSIONS
-EXE_DEFINES = -DENABLE_HELP -DENABLE_STATS -DENABLE_DUMP -DDEBUGGING_INFO_SUPPORT
+DEFINES = -DCOFF_SUPPORT -DAMIGAOS_SUPPORT -DTIOS_SUPPORT -DFLASH_OS_SUPPORT -DNOSTUB_DLL_SUPPORT -DFARGO_SUPPORT -DDATA_VAR_SUPPORT -DTIOS_FILE_SUPPORT -DTIOS_UPGRADE_FILE_SUPPORT -DDEBUGGING_INFO_SUPPORT -DCOFF_TIGCC_EXTENSIONS -DAMIGAOS_TIGCC_EXTENSIONS
+EXE_DEFINES = -DENABLE_HELP -DENABLE_STATS -DENABLE_DUMP
 
 RM = rm
 RMFLAGS = -f

+ 0 - 10
main.c

@@ -18,12 +18,6 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
 
-#ifdef DEBUGGING_INFO_SUPPORT
-#ifdef TARGET_EMBEDDED
-#error Debugging information is not yet supported for link.dll.
-#endif
-#endif
-
 #include "generic.h"
 #include "intrface.h"
 #include "data.h"
@@ -261,10 +255,6 @@ int main (int ArgCount, const char **Args)
 					}
 				}
 			}
-			if (Program.HaveDebuggingInfo)
-			{
-				Warning (NULL, "C debugging support is experimental.");
-			}
 #endif
 
 #ifdef DATA_VAR_SUPPORT