X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fdepend.c;h=50db1154faa8754c1263e6677eab5cbcfa7dab80;hb=9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a;hp=127c819180d79a6e9d0e39ec4cd47ea949c04bf4;hpb=a2e224686a3a8de934930c0be2160f87c9b86e76;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/depend.c b/gas/depend.c index 127c819180..50db1154fa 100644 --- a/gas/depend.c +++ b/gas/depend.c @@ -1,11 +1,11 @@ /* depend.c - Handle dependency tracking. - Copyright 1997, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1997-2016 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. GAS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. GAS is distributed in the hope that it will be useful, @@ -15,10 +15,11 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" +#include "filenames.h" /* The file to write to, or NULL if no dependencies being kept. */ static char * dep_file = NULL; @@ -62,7 +63,7 @@ register_dependency (char *filename) for (dep = dep_chain; dep != NULL; dep = dep->next) { - if (!strcmp (filename, dep->file)) + if (!filename_cmp (filename, dep->file)) return; }