Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: binutils-2.20/gold/plugin.cc

Issue 8713008: Add dlwrap.c to binutils to simulate dlopen/dlsym for gold plugin (Closed)
Patch Set: x Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « binutils-2.20/gold/Makefile.in ('k') | binutils-2.20/ld/sysdep.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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.
OLDNEW
« no previous file with comments | « binutils-2.20/gold/Makefile.in ('k') | binutils-2.20/ld/sysdep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698