1 // script.h -- handle linker scripts for gold -*- C++ -*-
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
16 class General_options
;
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
31 read_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
);
37 } // End namespace gold.
39 #endif // !defined(GOLD_SCRIPT_H)
This page took 0.028946 seconds and 4 git commands to generate.