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 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 "64-bit little-endian object"), | 1641 "64-bit little-endian object"), |
1642 input_file->filename().c_str()); | 1642 input_file->filename().c_str()); |
1643 #endif | 1643 #endif |
1644 } | 1644 } |
1645 | 1645 |
1646 gold_assert(obj != NULL); | 1646 gold_assert(obj != NULL); |
1647 return obj; | 1647 return obj; |
1648 } | 1648 } |
1649 | 1649 |
1650 } // End namespace gold. | 1650 } // End namespace gold. |
OLD | NEW |