OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement new syscall package.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
genmddeps.c
diff --git
a/gcc/genmddeps.c
b/gcc/genmddeps.c
index
fb5c311
..
121ccd6
100644
(file)
--- a/
gcc/genmddeps.c
+++ b/
gcc/genmddeps.c
@@
-1,5
+1,5
@@
/* genmddeps.c - creates a makefile dependency fragment for the md file.
/* genmddeps.c - creates a makefile dependency fragment for the md file.
- Copyright (C) 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2007
, 2010
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@
-18,10
+18,8
@@
#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "rtl.h"
-#include "gensupport.h"
#include "errors.h"
#include "errors.h"
+#include "read-md.h"
struct filedep
struct filedep
@@
-49,8
+47,8
@@
main (int argc, char **argv)
progname = "genmddeps";
include_callback = add_filedep;
progname = "genmddeps";
include_callback = add_filedep;
- if (
init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE
)
- return
(FATAL_EXIT_CODE)
;
+ if (
!read_md_files (argc, argv, NULL, NULL)
)
+ return
FATAL_EXIT_CODE
;
*last = NULL;
*last = NULL;