Ian Lance Taylor
d73d49a472
* ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common
section.
PR 11749.
30 years ago
Stan Shebs
9f39d8731a
* configure.tgt (mips*-*-lnews*): New target.
* Makefile.in (emipslnews.c): New target.
* emulparams/mipslnews.sh: New file.
30 years ago
Ian Lance Taylor
dc25aca068
From Eric Youngdale <eric@andante.jic.com>:
* ldlex.l (V_TAG, V_IDENTIFIER): New macros.
(VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version
information.
(ldlex_version_script, ldlex_version_file): New functions.
* ldlex.h (enum input_enum): Add input_version_script.
(ldlex_version_script): Declare.
(ldlex_version_file): Declare.
* ldgram.y (%union): Add deflist, versyms, and versnode.
(VERS_TAG, VERS_IDENTIFIER): New terminals.
(GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals.
(file): Accept INPUT_VERSION_SCRIPT.
(ifile_p1): Accept version.
(version_script_file): New nonterminal.
(version, vers_nodes, vers_node): Likewise.
(verdep, vers_tag, ver_defns): Likewise.
* ldlang.c (lang_elf_version_info): New global variable.
(lang_new_vers_regex): New function.
(lang_new_vers_node): New function.
(version_index): New static variable.
(lang_register_vers_node): New function.
(lang_add_vers_depend): New function.
* ldlang.h (lang_elf_version_info): Declare.
(lang_new_vers_regex, lang_new_vers_node): Declare.
(lang_add_vers_depend, lang_register_vers_node): Declare.
* lexsup.c (OPTION_VERSION_SCRIPT): Define.
(ld_options): Add "version-script".
(parse_args): Handle OPTION_VERSION_SCRIPT.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Pass lang_elf_version_info to size_dynamic_sections.
* scripttempl/elf.sc: Add .gnu.version sections.
30 years ago
Martin Hunt
232e870207
Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in (ed30velf.c): New target.
* configure.tgt (d30v-*-*): New target.
* emulparams/d30velf.sh: New file.
* scripttempl/elfd30v.sc: New file.
30 years ago
Michael Meissner
c6c7035cfb
Since d10v is public now, remove all sanitization statements
30 years ago
Ian Lance Taylor
e3e72ac561
Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in: Call BFD_NEED_DECLARATION on getenv.
* acconfig.h (NEED_DECLARATION_GETENV): New macro.
* sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV.
* ldemul.c (ld_emul_default_target): Do not cast getenv return
value.
* ldmain.c (get_emulation): Likewise.
* configure, config.in: Rebuild.
30 years ago
Ian Lance Taylor
e7886d4ba1
* scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and
.mips16.call.* in .text.
30 years ago
Gavin Romig-Koch
276c2d7dc8
Add r5900
30 years ago
Fred Fish
11effa691a
* emulparams/tic80coff.sh: New (dummy) file for TIc80.
* scripttempl/tic80coff.sc: New (dummy) file for TIc80.
* Makefile.in (etic80coff.c): Add target and rule to build it.
* configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
30 years ago
Bob Manson
dfe6379731
Changes to replace references to "prune_system_crud" with
"prune_warnings".
30 years ago
Ian Lance Taylor
966be3480a
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for
".so" in the name, not ".so.".
(gld${EMULATION_NAME}_search_dir): Accept a plain .so file.
30 years ago
Ian Lance Taylor
93d7eb0f03
* Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra
<alan@spri.levels.unisa.edu.au>.
30 years ago
Ian Lance Taylor
e87b950c8e
* emultempl/sunos.em: Include <ctype.h>.
(gld${EMULATION_NAME}_find_so): Skip the directory name when
searching for ".so.".
(gld${EMULATION_NAME}_search_dir): Make sure that the library name
has a version number, and that only version numbers follow .so.
30 years ago
Geoffrey Noer
0fc327a3fb
Wed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com>
* scripttempl/pe.sc:
* scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text
section so Win32 executables are valid.
30 years ago
Bob Manson
787f622077
Major revision to testsuites for cross-testing and DOS testing support.
30 years ago
Ian Lance Taylor
f5f212fb56
* scripttempl/elf.sc: Put linkonce reloc section in other
appropriate reloc sections.
* scripttempl/elfmips.sc: Add linkonce support.
* scripttempl/elfppc.sc: Likewise.
30 years ago
Jeff Law
da1ba4b022
* emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the
stack up to 0x80000.
* emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise.
Because we're seeing .text for some of the plumhall tests which exceeds
0x40000 bytes on these machines.
30 years ago
David Edelsohn
c57cd823b3
* emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE
to define `_stack'.
30 years ago
Ian Lance Taylor
3391c0a53c
* ld.h (args_type): Rename auxiliary_filter_shlib to
auxiliary_filters, and make it char **.
* lexsup.c (parse_args): Handle -f by setting up an array.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
new name of auxiliary_filters.
30 years ago
Ian Lance Taylor
cc28f8fbe4
* ld.texinfo (Options): Improve documentation of --filter and
--auxiliary.
30 years ago
Angela Marie Thomas
6b01dc653b
fix bugs
30 years ago
Ian Lance Taylor
f9c5c2313c
* ld.texinfo (Commands): Clarify that the normal usage is -T.
30 years ago
Ian Lance Taylor
24bc58bc9a
* scripttempl/armcoff.sc: Correct mask used for .data address.
PR 11442.
30 years ago
Geoffrey Noer
4ba1b439b3
Wed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com>
* emultempl/pe.em: make default executable a.exe instead of
a.out
30 years ago
Ian Lance Taylor
6243aa7345
Fri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu>
* scripttempl/elf.sc: Move .got closer to .sdata and .sbss by
shifting .plt back. Rumour has it that the NetBSD ld.so depends
on .dynamic being after .got, so we leave that.
30 years ago
Ian Lance Taylor
5e7127d7fe
* Makefile.in (clean): Don't remove configdoc.texi.
(maintainer-clean): Do remove configdoc.texi.
30 years ago
Ian Lance Taylor
feb20cfb19
* ld.texinfo (Operators): Remove '@' from @smallexmple in comment
to avoid confusing texi2roff.
30 years ago
Michael Meissner
731828cb8b
Add .{z,t}common and .tcommon_byte sections
30 years ago
Ian Lance Taylor
093427533c
* configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets.
* scripttempl/elfmips.sc: Use __start as the entry address for
mips*-*-linux*.
30 years ago
Ian Lance Taylor
6ded661565
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
30 years ago
Ian Lance Taylor
de220cbdb9
* ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib
fields.
* lexsup.c (parse_args): Recognize --auxiliary/-f and
--filter/-F.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Pass filter_shlib and auxiliary_filter_shlib to
size_dynamic_sections.
* ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f.
30 years ago
Ian Lance Taylor
781decaefd
improve format
30 years ago
Michael Meissner
c43452b052
Add .tbyte and .tbss sections
30 years ago
Stan Shebs
7885e8b3c9
* mpw-make.sed: Use NewFolderRecursive for installation.
30 years ago
Michael Meissner
93f8f531b0
Make __{e,g}p correctly start relative to the beginning of the section; Cleanup
30 years ago
Jeff Law
10e31c750e
* Makefile.in (emn10200.c): Add dependencies.
* configure.tgt: Handle mn10200.
* emulparms/mn10200.sh: New file.
mn10200 linker. Somehow I forgot to commit everything yesterday.
30 years ago
Ian Lance Taylor
d0d5edba84
* emultempl/gld960c.em: Include <ctype.h>.
(gld960_set_output_arch): Get the machine type from the -A option
if there is one, rather than always using core.
PR 11255.
30 years ago
Jeff Law
9e258df329
* Makefile.in (emn10200.c): Add dependencies.
* configure.tgt: Handle mn10200.
* emulparms/mn10200.sh: New file.
mn10200 support.
30 years ago
Ian Lance Taylor
c3f9e754b8
modify last patch
30 years ago
Ian Lance Taylor
12436407d1
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
use hold_rel unless SEC_ALLOC is set for the reloc section.
(gld${EMULATION_NAME}_place_section): Only set hold_rel if
SEC_ALLOC is set.
PR 11174.
30 years ago
Jason Merrill
264677bbe1
* scripttempl/{elfd10v.sc,elfmips.sc,elfppc.sc,v850.sc}: Likewise.
30 years ago
Jason Merrill
037f6a23de
* scripttempl/elf.sc: Add the remaining DWARF sections.
30 years ago
Ian Lance Taylor
0e809bba05
* configure: Rebuild with autoconf 2.12.
30 years ago
Jeff Law
9e73a716d3
* emulparms/mn10300.sh: Remove bogus '_' prefix for
entry symbol and ctor/dtor stuff.
Getting c-torture tests to link
30 years ago
Ian Lance Taylor
57ed75f2a0
minor sanitization tweaks
30 years ago
Jeff Law
96e34542a1
* Makefile.in (emn10300.c): Add dependencies.
* configure.tgt: Handle mn10300.
* emulparms/mn10300.sh: New file.
Skeleton support for the mn10300. Matsushita.
30 years ago
Ian Lance Taylor
9fde46a42f
* ld.texinfo: Add section on reporting bugs.
30 years ago
Ian Lance Taylor
e6b743a20a
* scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__
symbols are correctly aligned.
30 years ago
Stan Shebs
de61c9e1f3
Fix sanitization of D10V script template
30 years ago
Jeff Law
e740228de7
* scriptempl/v850.sc (zdata): Handle reszdata, romzdata and
romzbss too.
30 years ago