|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 07-May-2022 | - |
| emulparams/ | H | 03-May-2022 | - | 4,300 | 3,312 |
| emultempl/ | H | 03-May-2022 | - | 14,111 | 12,012 |
| po/ | H | 07-May-2022 | - | 11,627 | 9,092 |
| scripttempl/ | H | 03-May-2022 | - | 10,242 | 9,135 |
| testsuite/ | H | 03-May-2022 | - | 119,643 | 106,728 |
| ChangeLog | H A D | 12-Jun-2006 | 11.3 KiB | 347 | 251 |
| ChangeLog-0001 | H A D | 02-Jan-2004 | 110.6 KiB | 3,377 | 2,453 |
| ChangeLog-0203 | H A D | 16-Apr-2004 | 119.5 KiB | 3,581 | 2,620 |
| ChangeLog-2004 | H A D | 16-Jan-2006 | 50.6 KiB | 1,443 | 1,070 |
| ChangeLog-2005 | H A D | 16-Jan-2006 | 62.7 KiB | 1,843 | 1,366 |
| ChangeLog-9197 | H A D | 25-Oct-2003 | 274.2 KiB | 7,602 | 5,430 |
| ChangeLog-9899 | H A D | 13-Mar-2001 | 70 KiB | 2,109 | 1,476 |
| MAINTAINERS | H A D | 05-Jul-2000 | 28 | 2 | 1 |
| Makefile.am | H A D | 03-Jun-2006 | 83.7 KiB | 1,955 | 1,793 |
| Makefile.in | H A D | 03-Jun-2006 | 108.5 KiB | 2,739 | 2,512 |
| NEWS | H A D | 05-Apr-2006 | 13.8 KiB | 373 | 246 |
| README | H A D | 23-Aug-2002 | 2.4 KiB | 68 | 49 |
| TODO | H A D | 03-May-1999 | 361 | 10 | 6 |
| acinclude.m4 | H A D | 15-May-2005 | 30 | 2 | 1 |
| aclocal.m4 | H A D | 17-Apr-2006 | 32.4 KiB | 914 | 816 |
| config.in | H A D | 16-Apr-2006 | 5.9 KiB | 223 | 155 |
| configdoc.texi | H A D | 10-May-2006 | 394 | 23 | 19 |
| configure | H A D | 11-Apr-2006 | 322.6 KiB | 11,275 | 9,564 |
| configure.host | H A D | 19-Jul-2005 | 10.9 KiB | 247 | 197 |
| configure.in | H A D | 11-Apr-2006 | 6.5 KiB | 263 | 220 |
| configure.tgt | H A D | 05-Apr-2006 | 23.7 KiB | 630 | 611 |
| deffile.h | H A D | 31-Jan-2006 | 3.4 KiB | 104 | 55 |
| deffilep.y | H A D | 01-Apr-2006 | 23.6 KiB | 1,078 | 897 |
| dep-in.sed | H A D | 30-Oct-2005 | 286 | 22 | 17 |
| elf-hints-local.h | H A D | 11-Apr-2006 | 1.9 KiB | 45 | 15 |
| fdl.texi | H A D | 12-May-2005 | 18 KiB | 368 | 325 |
| gen-doc.texi | H A D | 10-May-2006 | 394 | 23 | 19 |
| genscripts.sh | H A D | 05-Apr-2006 | 12 KiB | 372 | 232 |
| h8-doc.texi | H A D | 15-Apr-2003 | 307 | 15 | 11 |
| ld.1 | H A D | 23-Jun-2006 | 90.5 KiB | 2,072 | 2,048 |
| ld.h | H A D | 30-Sep-2005 | 8.3 KiB | 298 | 146 |
| ld.info | H A D | 23-Jun-2006 | 300.7 KiB | 6,692 | 5,545 |
| ld.texinfo | H A D | 10-May-2006 | 246.7 KiB | 6,655 | 5,706 |
| ldcref.c | H A D | 16-Mar-2006 | 15.7 KiB | 599 | 409 |
| ldctor.c | H A D | 12-May-2005 | 9.3 KiB | 377 | 246 |
| ldctor.h | H A D | 12-May-2005 | 2 KiB | 61 | 24 |
| ldemul.c | H A D | 17-Nov-2005 | 6.3 KiB | 324 | 247 |
| ldemul.h | H A D | 17-Nov-2005 | 6.4 KiB | 205 | 115 |
| ldexp.c | H A D | 07-Dec-2005 | 27.2 KiB | 1,096 | 926 |
| ldexp.h | H A D | 05-Aug-2005 | 4.3 KiB | 184 | 133 |
| ldfile.c | H A D | 12-May-2005 | 13.2 KiB | 548 | 426 |
| ldfile.h | H A D | 12-May-2005 | 2.1 KiB | 64 | 30 |
| ldgram.c | H A D | 16-Apr-2006 | 134.4 KiB | 4,164 | 3,390 |
| ldgram.h | H A D | 16-Apr-2006 | 6.8 KiB | 308 | 269 |
| ldgram.y | H A D | 13-Oct-2005 | 27.3 KiB | 1,303 | 1,138 |
| ldint.texinfo | H A D | 12-May-2005 | 47.5 KiB | 1,059 | 882 |
| ldlang.c | H A D | 03-May-2022 | 177.4 KiB | 6,766 | 4,966 |
| ldlang.h | H A D | 12-Jun-2006 | 17.3 KiB | 609 | 447 |
| ldlex.c | H A D | 16-Apr-2006 | 113.4 KiB | 3,834 | 3,084 |
| ldlex.h | H A D | 12-May-2005 | 1.8 KiB | 64 | 32 |
| ldlex.l | H A D | 05-Aug-2005 | 20.2 KiB | 683 | 518 |
| ldmain.c | H A D | 06-Apr-2006 | 39.6 KiB | 1,529 | 1,139 |
| ldmain.h | H A D | 12-May-2005 | 1.5 KiB | 48 | 23 |
| ldmisc.c | H A D | 31-Mar-2006 | 12.8 KiB | 561 | 394 |
| ldmisc.h | H A D | 12-May-2005 | 1.5 KiB | 46 | 19 |
| ldver.c | H A D | 12-May-2005 | 1.7 KiB | 60 | 33 |
| ldver.h | H A D | 12-May-2005 | 874 | 22 | 1 |
| ldver.texi | H A D | 23-Jun-2006 | 18 | 2 | 1 |
| ldwrite.c | H A D | 17-Nov-2005 | 14.9 KiB | 569 | 436 |
| ldwrite.h | H A D | 12-May-2005 | 848 | 22 | 1 |
| lexsup.c | H A D | 30-Oct-2005 | 49.9 KiB | 1,554 | 1,329 |
| mri.c | H A D | 12-May-2005 | 7.1 KiB | 317 | 223 |
| mri.h | H A D | 12-May-2005 | 1.4 KiB | 38 | 16 |
| pe-dll.c | H A D | 31-Jan-2006 | 70.6 KiB | 2,728 | 1,975 |
| pe-dll.h | H A D | 12-May-2005 | 2.1 KiB | 63 | 39 |
| stamp-h.in | H A D | 03-May-1999 | 10 | 2 | 1 |
| sysdep.h | H A D | 09-Jun-2005 | 2 KiB | 97 | 60 |
README
1 README for LD
2
3This is the GNU linker. It is distributed with other "binary
4utilities" which should be in ../binutils. See ../binutils/README for
5more general notes, including where to send bug reports.
6
7There are many features of the linker:
8
9* The linker uses a Binary File Descriptor library (../bfd)
10 that it uses to read and write object files. This helps
11 insulate the linker itself from the format of object files.
12
13* The linker supports a number of different object file
14 formats. It can even handle multiple formats at once:
15 Read two input formats and write a third.
16
17* The linker can be configured for cross-linking.
18
19* The linker supports a control language.
20
21* There is a user manual (ld.texinfo), as well as the
22 beginnings of an internals manual (ldint.texinfo).
23
24Installation
25============
26
27See ../binutils/README.
28
29If you want to make a cross-linker, you may want to specify
30a different search path of -lfoo libraries than the default.
31You can do this by setting the LIB_PATH variable in ./Makefile
32or using the --with-lib-path configure switch.
33
34To build just the linker, make the target all-ld from the top level
35directory (one directory above this one).
36
37Porting to a new target
38=======================
39
40See the ldint.texinfo manual.
41
42Reporting bugs etc
43===========================
44
45See ../binutils/README.
46
47Known problems
48==============
49
50The Solaris linker normally exports all dynamic symbols from an
51executable. The GNU linker does not do this by default. This is
52because the GNU linker tries to present the same interface for all
53similar targets (in this case, all native ELF targets). This does not
54matter for normal programs, but it can make a difference for programs
55which try to dlopen an executable, such as PERL or Tcl. You can make
56the GNU linker export all dynamic symbols with the -E or
57--export-dynamic command line option.
58
59HP/UX 9.01 has a shell bug that causes the linker scripts to be
60generated incorrectly. The symptom of this appears to be "fatal error
61- scanner input buffer overflow" error messages. There are various
62workarounds to this:
63 * Build and install bash, and build with "make SHELL=bash".
64 * Update to a version of HP/UX with a working shell (e.g., 9.05).
65 * Replace "(. ${srcdir}/scripttempl/${SCRIPT_NAME}.sc)" in
66 genscripts.sh with "sh ${srcdir}..." (no parens) and make sure the
67 emulparams script used exports any shell variables it sets.
68