]> git.ipfire.org Git - thirdparty/gcc.git/blame - lto-plugin/lto-plugin-coff.c
re PR debug/46252 (-fcompare-debug failure (length) with -O -frerun-cse-after-loop...
[thirdparty/gcc.git] / lto-plugin / lto-plugin-coff.c
CommitLineData
1cd0b716
DK
1/* LTO plugin for gold.
2 Copyright (C) 2010 Free Software Foundation, Inc.
3
4This program is free software; you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation; either version 3, or (at your option)
7any later version.
8
9This program is distributed in the hope that it will be useful, but
10WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along 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
24enum ld_plugin_status
25claim_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
33enum ld_plugin_status
34onload_format_checks (struct ld_plugin_tv *tv)
35{
36 return LDPS_OK;
37}
38