diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2010-10-19 21:13:25 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2010-10-19 21:13:25 +0000 |
commit | 7a815afd9b5121ee0f65dc1e1de1c0de6de97679 (patch) | |
tree | f61b968a46c92e81f6de581582cb064bf9dca27d /ld/NEWS | |
parent | 42f6b9ffef1927d55d15075d9e810435c590c404 (diff) |
Notes
Diffstat (limited to 'ld/NEWS')
-rw-r--r-- | ld/NEWS | 76 |
1 files changed, 76 insertions, 0 deletions
@@ -1,11 +1,87 @@ -*- text -*- +* Support for the Infineon XC16X has been added by KPIT Cummins Infosystems. + +* Modify the Linux linker search order to better match ld.so search order. + Look for DT_NEEDED libraries in paths specified by ld.so.conf before + searching the default directories, rather than vice versa. + Use $prefix/etc/ld.so.conf if it exists, otherwise /etc/ld.so.conf. + +* PE-COFF: Forward exports from DLL's can now be specified in .def files + passed directly to ld. + +* Support for the Z80 processor family has been added. + +* Add support for the "@<file>" syntax to the command line, so that extra + switches can be read from <file>. + +Changes in 2.16: + +* Support for the R_ARM_V4BX relocation as defined in the ARM AAELF + specification has been added via the --fix-v4bx command-line option. + +* New linker script construct AS_NEEDED(), which sets the --as-needed flag + for input files listed inside of it. + +* A new command-line option, --sysroot, can be used to override the + default sysroot location. It only applies to toolchains that were + configured using --with-sysroot. + +* New linker script functions: ORIGIN() and LENGTH() which return information + about a specified memory region. + +* Port to MAXQ processor contributed by HCL Tech. + +* Added SEGMENT_START to the linker script language to permit the user to + override the base address for a segment from the command-line. + +* ELF: --warn-shared-textrel option to warn if adding a DT_TEXTREL to a shared + object. + +* Added SORT_BY_NAME and SORT_BY_ALIGNMENT to the linker script + language to permit sorting sections by section name or section + maximum alignment. + +* Added a new linker command line switch, --sort-section name|alignment, + to sort sections by section name or maximum alignment. + +* ELF: --add-needed/--no-add-needed options to control if a DT_NEEDED tag + should be added when a shared library comes from DT_NEEDED tags. + +* Support for the crx-elf target added. + +* Support for the sh-symbianelf target added. + +* A new linker command line switch has been added which allows the hash table + size to be set to a suitable prime value near to its argument. This switch + is --hash-size=<NUMBER>. Also if the switch --reduce-memory-overheads is + used, and --hash-size has not been used, then the default value will be set + to 1021. + +* Linker map files are now generated with an O(N) algorithm for finding symbols + that are defined in each section. This uses about 40% more memory for + symbols than the old O(N^2) algorithm. You can use the new + --reduce-memory-overheads option to select the old algorithm; this option + might also be used in the future to select similar tradeoffs. + +Changes in 2.15: + +* ELF: --as-needed/--no-as-needed options to control if a DT_NEEDED tag should + be added only when a shared library is referenced. + +* PE: --large-address-aware option to indicate executables support virtual + addresses greater than 2 gigabytes. + +* DWARF 2 support for i386pe added. + * The linker script operator DEFINED() will now yield 1 only for a symbol that is defined before the statement where DEFINED is used. * The MIPS --embedded-relocs (used to embed relocations into binaries for Embedded-PIC code) is deprecated and will be removed in a future release. +* cr16c support added by NSC. + * m32r Linux (ELF) support added by Renesas. * Improved linker's handling of unresolved symbols. The switch |