]>
Commit | Line | Data |
---|---|---|
1cd0b716 DK |
1 | /* LTO plugin for gold. |
2 | Copyright (C) 2010 Free Software Foundation, Inc. | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 3, or (at your option) | |
7 | any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, but | |
10 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
12 | General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; see the file COPYING3. If not see | |
16 | <http://www.gnu.org/licenses/>. */ | |
17 | ||
18 | /* Common definitions that the object format dependent code needs. */ | |
19 | #include "lto-plugin.h" | |
20 | ||
21 | /* Callback used by gold to check if the plugin will claim FILE. Writes | |
22 | the result in CLAIMED. */ | |
23 | ||
24 | enum ld_plugin_status | |
25 | claim_file_handler (const struct ld_plugin_input_file *file, int *claimed) | |
26 | { | |
27 | /* To be implemented; for now, simply do nothing. */ | |
28 | return LDPS_OK; | |
29 | } | |
30 | ||
31 | /* Method called first thing at onload time to perform sanity checks. */ | |
32 | ||
33 | enum ld_plugin_status | |
34 | onload_format_checks (struct ld_plugin_tv *tv) | |
35 | { | |
36 | return LDPS_OK; | |
37 | } | |
38 |