diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-07-29 21:33:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-07-29 21:33:26 +0000 |
commit | 86bc0974cb9bb02efc4fe0bf9c0466c2f02f1143 (patch) | |
tree | 1ff91efb81126755cd7ecf440debfe4ae68dab1d /ld/NEWS | |
parent | f2bf454e0f1bc17d01f9c2f22fe2010ee2442f3c (diff) | |
download | gdb-86bc0974cb9bb02efc4fe0bf9c0466c2f02f1143.zip gdb-86bc0974cb9bb02efc4fe0bf9c0466c2f02f1143.tar.gz gdb-86bc0974cb9bb02efc4fe0bf9c0466c2f02f1143.tar.bz2 |
* fnmatch.h, fnmatch.c: New files.
* ldlex.l: Remove unused definition of FILENAME. Add definition
of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a
NAME.
* ldgram.y (file_NAME_list): Accept '*' and '?' specially.
(input_section_spec): Accept '?' specially.
(statement): Change exp to mustbe_exp in length and FILL cases.
(section): Call ldlex_script before section statements, and call
ldlex_popstate after them.
* ldlang.c: Include "fnmatch.h".
(wildcardp): New static function.
(wild_section): Permit the section name to be a wildcard.
(wild_file): New static function, broken out of wild.
(wild): Call wild_file. Permit the file name to be a wildcard.
(open_input_bfds): Don't call lookup_name for a wildcard pattern.
* Makefile.in: Rebuild dependencies.
(CFILES): Add fnmatch.c.
(HFILES): Add fnmatch.h.
(OFILES): Add fnmatch.o.
* ld.texinfo: Document that file and section names can now be
wildcard patterns.
* ldlang.c (lang_place_orphans): Correct condition: place a common
section if not relocateable or if common definitions are forced.
Diffstat (limited to 'ld/NEWS')
-rw-r--r-- | ld/NEWS | 32 |
1 files changed, 27 insertions, 5 deletions
@@ -1,5 +1,25 @@ -*- text -*- +Changes since version 2.7: + +* Linker scripts may now contain shell wildcard characters for file and section + names. + +Changes since version 2.6: + +* New option --cref to print out a cross reference table. + +* New option --wrap SYMBOL. + +* New option --no-whole-archive, to turn off the effect of --whole-archive. + +* Input sections assigned to the output section /DISCARD/ in the linker script + are not included in the output file. + +* The SunOS and ELF linkers now merge stabs debugging information which uses + the N_BINCL and N_EINCL stab types. This reduces the amount of debugging + information generated. + Changes since version 2.5: * When an ELF section name is representable as a C identifier (this is not true @@ -20,11 +40,13 @@ glibc. * New options -split-by-reloc and -split-by-file. * The linker now supports linking PIC compiled code on SPARC SunOS. It can -also create SPARC SunOS shared libraries. The native SunOS linker will do this -when linking code which has an undefined symbol, but the GNU linker requires -the -shared option. For convenience when used with gcc -shared, the GNU linker -will also create a shared library when given the -assert pure-text option, -although this is not really what -assert pure-text should mean. +also create SPARC SunOS shared libraries, and, like the native SunOS linker, +will do so whenever there is an undefined symbol in the link and neither the -e +nor the -r option was used. + +* The -rpath option may be used on SunOS to set the list of directories to be +searched at run time. This overrides the default of building the list from the +-L options. * The COFF linker now combines debugging information for structs, unions, and enums, so that even if the same type is defined in multiple input files it will |