Remove unnecessary elfcpp_config.h file.
[deliverable/binutils-gdb.git] / gold / script.h
CommitLineData
dbe717ef
ILT
1// script.h -- handle linker scripts for gold -*- C++ -*-
2
3// We implement a subset of the original GNU ld linker script language
4// for compatibility. The goal is not to implement the entire
5// language. It is merely to implement enough to handle common uses.
6// In particular we need to handle /usr/lib/libc.so on a typical
7// GNU/Linux system, and we want to handle linker scripts used by the
8// Linux kernel build.
9
10#ifndef GOLD_SCRIPT_H
11#define GOLD_SCRIPT_H
12
13namespace gold
14{
15
16class General_options;
17class Symbol_table;
18class Layout;
19class Input_objects;
20class Input_group;
21class Input_file;
22class Task_token;
23
24// FILE was found as an argument on the command line, but was not
25// recognized as an ELF file. Try to read it as a script. We've
26// already read BYTES of data into P. Return true if the file was
27// handled. This has to handle /usr/lib/libc.so on a GNU/Linux
28// system.
29
30bool
31read_input_script(Workqueue*, const General_options&, Symbol_table*, Layout*,
32 const Dirsearch&, Input_objects*, Input_group*,
33 const Input_argument*, Input_file*, const unsigned char* p,
34 off_t bytes, Task_token* this_blocker,
35 Task_token* next_blocker);
36
37} // End namespace gold.
38
39#endif // !defined(GOLD_SCRIPT_H)
This page took 0.051015 seconds and 4 git commands to generate.