aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1993-03-30ld.texinfo:Roland Pesch3-11/+50
Conditionalize manual to maintain Cygnus, Hitachi versions in parallel. (Texinfo conditionals are stable enough to permit this, at last!) NOTE: @ignore'd passages from earlier versions DELETED; use CVS history to retrieve if wanted. gen-doc.texi, h8-doc.texi: manual configuration definitions. Makefile.in: link config defn (`gen' by default) to configdoc.texi, included by ld.texinfo .Sanitize: add gen-doc.texi, h8-doc.texi
1993-03-30 Support for linking and loading at different places:Steve Chamberlain4-48/+107
* ldlex.l: Add "AT" keyword. * ldgram.y: Cleanup, and parse AT. * ldlang.c (print_output_section_statement): Print output address of section in map. (lang_size_sections): Fill sections' lma with load address. * ldlang.h (lang_output_section_statement_type): Add load_base information.
1993-03-30Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain6-642/+783
* ldindr.c (add_indirect): Keep more information in the alias symbol chain. * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section attribute from an input section. * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by default. (Q_enter_file_symbos): Indirect symbols now are known by their section, not a special symbol flag. * ldsym.c (write_file_locals): Indirect symbols aren't local. (write_file_globals): Write the mapping for an indirect symbol. * relax.c (build_it): When forced to write a NEVER_LOAD section, fill it with zeros.
1993-03-30Fix index reference (h8/300, not i960).Roland Pesch1-87/+120
1993-03-23add dvi & installcheckDavid D. Zuhn1-0/+18
1993-03-09Removed obsolete Makefile.dos.Ian Lance Taylor2-584/+4
1993-03-04 * mips.sc-sh: Added variables which may be overridden by aIan Lance Taylor6-7/+37
specific emulation. * mipsidt.sh: New file; emulation for IDT MIPS board. * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. * config/mips-idt.mt: New file; sets EMUL to mipsidt. * configure.in (mips-idt-ecoff): New target; uses mips-idt.
1993-02-28mips-bsd and 386bsd supportKen Raeburn10-3/+82
1993-02-26Added initial sparc-v9 support.David Edelsohn1-1/+31
1993-02-25 * ldsym.c (KEEP macro): Add spaces around '=' for thePer Bothner2-1/+6
sake of old (e.g. PCC) compilers.
1993-02-25Bump to version 2.1.Per Bothner1-0/+4
1993-02-19fix go32 configurationDavid D. Zuhn1-0/+4
1993-02-13removing excess verbosityDavid D. Zuhn2-4/+4
1993-02-13keep everything that's present nowDavid D. Zuhn1-16/+11
1993-02-12 * ldgram.y: allow section types without address expressions.Steve Chamberlain1-0/+16
* ldlang.c (lang_relocate_globals): avoid possible hang with undefined but unreferenced symbols. * relax.c (relax_section): don't complain if the script file isn't relaxable but -relax is set
1993-02-12 * ldgram.y: allow section types without address expressions.Steve Chamberlain1-2/+3
* ldlang.c (lang_relocate_globals): avoid possible hang with undefined but unreferenced symbols. * relax.c (relax_section): don't complain if the script file isn't relaxable but -relax is set
1993-02-09Removed garbage after #endif.Ian Lance Taylor1-1/+1
1993-02-03Keep forgetting those .Sanitize files.Ian Lance Taylor2-1/+6
1993-02-03Wed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-0/+6
* mipsbig.sh: New file. Big endian MIPS emulation. * config/mips-big.mt: New file. Use mipsbig emulation. * configure.in (mips-sgi-irix*): Use target mips-big. * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o. (em_mipsbig.c): New target. Uses mipsbig.sh.
1993-02-02Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-0/+11
* mips.sc-sh: Put .scommon sections into .sbss section. * ldmain.c (subfile_wanted_p): Preserve section of common symbols, rather than always putting them in bfd_com_section. * ldlang.c (lang_common): If a common symbol is not in bfd_com_section, put in a section of the same name, rather than always putting it in section COMMON.
1993-01-29Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-5/+14
* ldmain.c (subfile_wanted_p): If we already have a common definition of a symbol, don't necessarily pull in an object file that provides a non-common definition.
1993-01-29Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+8
* ldlex.l (COMMAND): Accept -EB and -EL command line arguments, returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS linker. * ldgram.y (OPTION_EB, OPTION_EL): New tokens. (command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
1993-01-28Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-0/+6
* Makefile.in (install): Remove $(tooldir)/bin/gld before creating the link to it.
1993-01-26Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-63/+121
* ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than checking for equality to bfd_com_section.
1993-01-26Correct syntax errors which only appeared when relocating.Ian Lance Taylor1-3/+3
1993-01-22Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor8-12/+119
* mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF targets, linker script. * mipslit.sh: New file. Little endian MIPS emulation. * config/mips-lit.mt: New file. Use mipslit emulation. * configure.in (mips-dec-ultrix*): Use target mips-lit. * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. (em_mipslit.c): New target. Uses mipslit.sh.
1993-01-12Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor3-4/+49
* ldwrite.c: Removed perform_relocation, copy_and_relocate, and write_norel. All linking is now done via write_relax. Call ldsym_write before calling write_relax. * relax.c: Added copyright. (write_relax): Renamed from write_relaxnorel. Added relocateable argument. seclet_dump renamed to bfd_seclet_link. * relax.h: Added copyright.
1993-01-11 * ldmain.c (decode_library_subfile): Patch fromSteve Chamberlain1-0/+12
hoogen@shafer.cs.utah.edu, don't reread library symbol tables.
1993-01-09fix default emulations for nindy and sparc-vxworksDavid D. Zuhn1-0/+0
1993-01-08 Fix support for NOLOAD, add INCLUDESteve Chamberlain3-73/+112
* ldfile.c (ldfile_open_command_file): pass file name to lex_push_file. * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD attribute.
1993-01-08fix my default emulation changesDavid D. Zuhn1-5/+0
1993-01-07no more default emulationDavid D. Zuhn1-3/+1
1992-12-28Mon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-0/+15
* m68kcoff.sc-sh: define _end as well as end, for consistency with aout.sc-sh. * configure.in: accept *-ericsson-ose for any m68k CPU. * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag for each output section.
1992-12-22 * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use newPer Bothner4-71/+30
macro bfd_asymbol_bfd as appropriate. * Makefile.in: Un-duplicate ldlex.c dependency. * condigure.in: Replace my_host case table by sourcing ../bfd/configure.host. Allow std-host as the default. * ldmisc.c: Change logic for C++ name demangling: There is no initial '_' to remove from stab-derived function names.
1992-12-08recording file deathK. Richard Pixley104-9802/+0
1992-12-07 -y supportSteve Chamberlain3-32/+64
* ld.texinfo: new doc. * ldgram.y, ldlex.l: understand -y<symbol> * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and print info. (add_ysym): new function. * ldsym.h: (ldsym_type): new define SYM_Y.
1992-11-21* ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,John Gilmore7-68/+119
ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue macros with PARAMS. Recreational cleanup. Update copyrights.
1992-11-06Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+6
* ldlang.c (lang_size_sections): don't change size and address for SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD sections.
1992-11-05 * relax.c (build_it): re-enable the processing of data_statementsSteve Chamberlain2-87/+93
in scripts, makes counted contructor lists work again.
1992-11-05Remove uses of SDEF and PROTO macros (use PARAMS).John Gilmore1-0/+9
1992-10-29 * mri.c, ldlang.c, ldlex.l, ldgram.y: add new keywordsSteve Chamberlain1-6/+7
ALIGN, ALIGNMOD, and TRUNCATE. * ldsym.c: (hash_string, search, process_keepsyms): support truncation of symbols.
1992-10-26Added \n to error message.Ian Lance Taylor1-1/+1
1992-10-20Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-3/+3
* m68kcoff.sc-sh: don't use initial underscores for etext, edata and end.
1992-10-19Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-28/+47
* Support for i386-sysv. configure.in: check for i386-*-sysv* and i386-*-sco*. i386coff.sc-sh: rewrote to support SVR3 by default. ldctor.c (find_constructors): preserve stat_ptr. ldlang.c (wild_doit): initialize vma and size of new output section to corresponding input section. This is required for shared library support. (lang_size_sections): don't modify vma and size of sections which are never loaded (for shared libraries). ldwrite.c (copy_and_relocate): copy the contents of any section which has contents, not just sections which are loaded (for shared libraries).
1992-10-15 * ldlang.c (size_input_section): count the sizes of all sectionsSteve Chamberlain2-1/+6
we allocate.
1992-10-12Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-0/+5
* ldmisc.c (demangle,vfinfo): use the new underscore info in bfd to to demangle symbols better
1992-10-06Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-1/+19
* ldlang.c (lang_finish): don't warn if -e start symbol does not exist when linking with -r.
1992-10-05Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-0/+7
* aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the .bss segment.
1992-10-05Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain2-58/+68
* ldmain.c (linear_library): don't even think about processing an object file if it's already been done
1992-10-02Use target i386-aout for i386-*-aout. This just provides a defaultIan Lance Taylor1-1/+5
emulation mode (of 1386aout).