Fix change log
[official-gcc.git] / lto-plugin / lto-plugin-coff.c
blobacaff5979f2172c912ba645bbb4ae8e36be5af6e
1 /* LTO plugin for gold.
2 Copyright (C) 2010 Free Software Foundation, Inc.
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.
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.
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/>. */
18 /* Common definitions that the object format dependent code needs. */
19 #include "lto-plugin.h"
21 /* Callback used by gold to check if the plugin will claim FILE. Writes
22 the result in CLAIMED. */
24 enum ld_plugin_status
25 claim_file_handler (const struct ld_plugin_input_file *file, int *claimed)
27 /* To be implemented; for now, simply do nothing. */
28 return LDPS_OK;
31 /* Method called first thing at onload time to perform sanity checks. */
33 enum ld_plugin_status
34 onload_format_checks (struct ld_plugin_tv *tv)
36 return LDPS_OK;