| OLD | NEW |
| 1 // plugin.cc -- plugin manager for gold -*- C++ -*- | 1 // plugin.cc -- plugin manager for gold -*- C++ -*- |
| 2 | 2 |
| 3 // Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc. | 3 // Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc. |
| 4 // Written by Cary Coutant <ccoutant@google.com>. | 4 // Written by Cary Coutant <ccoutant@google.com>. |
| 5 | 5 |
| 6 // This file is part of gold. | 6 // This file is part of gold. |
| 7 | 7 |
| 8 // This program is free software; you can redistribute it and/or modify | 8 // This program is free software; you can redistribute it and/or modify |
| 9 // it under the terms of the GNU General Public License as published by | 9 // it under the terms of the GNU General Public License as published by |
| 10 // the Free Software Foundation; either version 3 of the License, or | 10 // the Free Software Foundation; either version 3 of the License, or |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "gold.h" | 23 #include "gold.h" |
| 24 | 24 |
| 25 #include <cstdio> | 25 #include <cstdio> |
| 26 #include <cstdarg> | 26 #include <cstdarg> |
| 27 #include <cstring> | 27 #include <cstring> |
| 28 #include <string> | 28 #include <string> |
| 29 #include <vector> | 29 #include <vector> |
| 30 #include <set> // @LOCALMOD | 30 #include <set> // @LOCALMOD |
| 31 | 31 |
| 32 #ifdef ENABLE_PLUGINS | 32 #ifdef ENABLE_PLUGINS |
| 33 #include <dlfcn.h> | 33 #include "../dlwrap.h" // @LOCALMOD |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 #include "parameters.h" | 36 #include "parameters.h" |
| 37 #include "errors.h" | 37 #include "errors.h" |
| 38 #include "fileread.h" | 38 #include "fileread.h" |
| 39 #include "layout.h" | 39 #include "layout.h" |
| 40 #include "options.h" | 40 #include "options.h" |
| 41 #include "plugin.h" | 41 #include "plugin.h" |
| 42 #include "target.h" | 42 #include "target.h" |
| 43 #include "readsyms.h" | 43 #include "readsyms.h" |
| (...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1542 "64-bit little-endian object"), | 1542 "64-bit little-endian object"), |
| 1543 input_file->filename().c_str()); | 1543 input_file->filename().c_str()); |
| 1544 #endif | 1544 #endif |
| 1545 } | 1545 } |
| 1546 | 1546 |
| 1547 gold_assert(obj != NULL); | 1547 gold_assert(obj != NULL); |
| 1548 return obj; | 1548 return obj; |
| 1549 } | 1549 } |
| 1550 | 1550 |
| 1551 } // End namespace gold. | 1551 } // End namespace gold. |
| OLD | NEW |