aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1995-08-17Thu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+11
* emultempl/{armpe.sc, i386pe.sc}: Deleted. * emultempl/pe.sc: New file performs generic PE support and sorts archive members. * emulparams/{armpe.sh,i386pe.sh}: Use new file. * scripttempl/{armpe.sc, i386pe.sc}: Deleted * scripttempl/pe.sc: New. * Makefile.in: Use new files. b
1995-08-17 * scripttempl/h8500s.sc (.rdata): All data must go in data segment.David Edelsohn1-0/+5
(.strings,.ctors,.dtors): Likewise.
1995-08-16Wed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+10
* scripttempl/armpe.sc: Always start code at 0x401000, even if -r. * ldwrite.c (strdup): New extern declaration. * ldgram.y (atype): New rule to clarify type parsing. * ldlang.c (init_os): Remove commented out code. (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits unless told not to by the link script.
1995-08-16 * ldlang.c (lang_set_startof): New static function.Ian Lance Taylor1-0/+3
(lang_process): Call it.
1995-08-16 * ldgram.y: Tweak casesymlist to avoid bison errors.Ian Lance Taylor1-0/+2
1995-08-16 * lexsup.c (parse_args): Accept -h as a synonym for --soname, forIan Lance Taylor1-0/+5
Solaris compatibility.
1995-08-15 * ldgram.y (YYDEBUG): If not defined, define as 1.Ian Lance Taylor1-0/+13
(CASE, EXTERN, START): New tokens. (mri_script_command): Handle CASE, EXTERN, INCLUDE, START. (casesymlist): New nonterminal. (extern_name_list): New nonterminal. * ldlex.l: Accept lower case trailing base specifiers. Don't ignore the first digit when the base is a suffix. Accept many EXPRESSION state tokens in MRI state. Support MRI continuation lines and MRI semicolon comments. Accept all MRI keywords in lower case. Add CASE, EXTERN, and START MRI keywords.
1995-08-08* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc instead ofKen Raeburn1-0/+5
alloca.
1995-08-08* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't useJ.T. Conklin1-0/+18
$r/../gcc/xgcc unless it is present.
1995-07-28treat linuxoldld like linuxaout*Ken Raeburn1-0/+20
1995-07-24 * ldlang.c (lang_process): Call reset_memory_regions for eachIan Lance Taylor1-0/+10
relaxation pass.
1995-07-20ldmain.c (constructor_callback): Allocate set_name in stack frame, rather thanKen Raeburn1-0/+5
always calling alloca with a fixed size.
1995-07-19 * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little.David Edelsohn1-0/+8
(LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define.
1995-07-17 * ldwrite.c (split_sections): Don't split the first input sectionIan Lance Taylor1-0/+5
into a new output section.
1995-07-15Use elf config file.Michael Meissner1-0/+5
1995-07-14 * emultempl/mipsecoff.em (check_sections): Use %P, not %F.Ian Lance Taylor1-0/+2
1995-07-14 * ldver.c (help): Update list of options to match currentlyIan Lance Taylor1-0/+5
supported list.
1995-07-13 * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type;Ian Lance Taylor1-0/+21
it takes a size_t anyhow. (exp_binop): Likewise. (exp_trinop): Likewise. (exp_unop): Likewise. (exp_nameop): Likewise. (exp_assop): Likewise. * ldlang.c (lang_memory_region_lookup): Likewise. (init_os): Likewise. (ldlang_add_undef): Likewise. (insert_pad): Likewise. * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to bfd_size_type.
1995-07-12 * ldemul.h (ldemul_open_dynamic_archive): Add search parameter toIan Lance Taylor1-0/+25
declaration. (ld_emulation_xfer_type): Add search parameter to open_dynamic_archive entry point. * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and make non-static. Change all callers to use new name. (ldfile_open_file_search): Make static. If entry is dynamic, call ldemul_open_dynamic_archive. (ldfile_open_file): Don't call ldemul_open_dynamic_archive. * ldfile.h (ldfile_open_file_search): Don't declare. (ldfile_try_open_bfd): Declare. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): Accept search parameter. Don't search for a library, just look in a single place. * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1995-07-11 * ldmisc.c (vfinfo): Don't print the line number if it isn'tIan Lance Taylor1-0/+11
meaningful.
1995-07-10 * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don'tIan Lance Taylor1-0/+3
get confused by directory names if we searched for the file. PR 7401.
1995-07-10 Based on patches from H.J. Lu <hjl@nynexst.com>:Ian Lance Taylor1-0/+15
* ldlang.h (lang_input_statement_type): Add new field dynamic. * ldlang.c (new_afile): Set dynamic from config.dynamic_link. * ldfile.c: Include bfdlink.h. (ldfile_open_file): Check dynamic field of entry, not global dynamic_link field. Don't do a dynamic search when doing a relocateable link. * ldmain.c (main): Don't warn about dynamic_link for a relocateable link. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if dynamic is false. (gld${EMULATION_NAME}_create_output_section_statements): Always loop over input files. * Makefile.in: Rebuild dependencies.
1995-07-10 * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, andIan Lance Taylor1-0/+10
-shared. Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> * ldmain.c (main): Set link_info.symbolic to false. * lexsup.c (parse_args): Handle -Bsymbolic.
1995-07-10Move testsuite ChangeLog entry into testsuite ChangeLog.Ian Lance Taylor1-1/+0
1995-07-05 * ldmain.c (HAVE_SBRK): Define for everything exceptFred Fish1-0/+6
specific systems that are known to not support sbrk. (main): Use HAVE_SBRK to decide whether or not to use sbrk.
1995-07-04 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):Ian Lance Taylor1-0/+3
Handle etree_provide. PR 7164.
1995-07-04 * emultempl/elf32.em (global_needed): New static variable.Ian Lance Taylor1-0/+11
(global_found): Likewise. (gld${EMULATION_NAME}_after_open): New static function. (gld${EMULATION_NAME}_search_needed): Likewise. (gld${EMULATION_NAME}_try_needed): Likewise. (gld${EMULATION_NAME}_check_needed): Likewise. (ld_${EMULATION_NAME}_emulation): Replace after_open_default with gld${EMULATION_NAME}_after_open. PR 7083.
1995-07-03 * configure.in (i386-*-win32): New target.Steve Chamberlain1-0/+5
* ld/testsuite/versados/(t1,t2).ld: End in newlines.
1995-07-03 * lexsup.c (parse_args): Let -G either set the small data size orIan Lance Taylor1-0/+6
be equivalent to --shared, depending on the next argument. Accept and ignore -z for Solaris compatibility. PR 7118.
1995-07-02 * lexsup.c (parse_args): Cast fopen result to PTR before storingIan Lance Taylor1-0/+5
it in link_info.base_file. Fix indentation.
1995-06-29Wed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+21
* ldmain.c (main): Always initialize PE info in link_info. * lexsup.c (OPTION_BASE_FILE): New option. (parse_args): Handle new option. * emulparams/armpe.sh: Output pei. * emultempl/i386pe.em: Add newline to end. * scripttempl/armpe.sc: Change output and quote the $s. * scripttempl/i386pe.sc: Change output and quote the $s.
1995-06-22Add .fixup sectionMichael Meissner1-0/+5
1995-06-21 * mpw-esh.c: New file, modified for MPW from esh.c.Stan Shebs1-0/+10
* scripttempl/sh.sc: Reformatted to simplify MPWification, use *() to concat stab sections instead of [].
1995-06-13 * ldlang.c (lang_size_sections): Any section with a DATASteve Chamberlain1-0/+5
statement has contents.
1995-06-11m68k elf linker fixes from Andreas SchwabKen Raeburn1-0/+7
1995-06-08 * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack.Steve Chamberlain1-0/+14
1995-05-24 Add support for ARM-PE.Steve Chamberlain1-0/+49
* Makefile.in (ALL_EMULATIONS): Add armpe.o * configure.in: Recognize armpe. * config/arm-pe.mt: New file. * emulparams/armpe.sh: New file. * scripttempl/armpe.sc: New file.
1995-05-11 * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from textStu Grossman1-0/+5
segment. This allows ld -r to preserve unwind sections.
1995-05-09Add little endian PowerPC support.Michael Meissner1-0/+10
1995-05-03* ldlang.c (print_output_section_statement): Check subsection_alignment,Ken Raeburn1-0/+6
instead of checking section_alignment twice. Noticed by Alan Modra <alan@spri.levels.unisa.edu.au>.
1995-05-02Add hppa1.1-hp-lites support.Jeff Law1-0/+55
1995-04-07 * emulparams/arcelf.sh (ENTRY): Define.David Edelsohn1-0/+14
1995-03-30Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com)Ian Lance Taylor1-0/+8
* configure.in: Change linux to default to elf. Using i[345]86-*-linuxaout will build a linker which defaults to a.out. * config/i386-laout.mt: Rename from old config/i386-linux.mt. * config/i386-linux.mt: Rename from old config/i386-lelf.mt. * config/i386-lelf.mt: Remove.
1995-03-30 * ld.texinfo, ld.1: Document the -no-keep-memory option.Ian Lance Taylor1-0/+4
1995-03-27 * ldmain.c (main): Revert patch of March 10, since the SVR4 linkerIan Lance Taylor1-0/+5
does mark shared libraries as executable.
1995-03-21 * ldlang.c (lang_common): Change power to int. Pass larger valuesIan Lance Taylor1-0/+7
before smaller values. (lang_one_common): Treat info as int *. Don't bother to check for last value, since it is now zero.
1995-03-18tipoIan Lance Taylor1-1/+1
1995-03-18 * ldlang.c (load_symbols): An empty is archive is OK.Ian Lance Taylor1-0/+9
1995-03-16Provide eabi C++ static constructor/destructor support.Michael Meissner1-0/+7
1995-03-16 * ld.texinfo, ld.1: Document --whole-archive.Ian Lance Taylor1-0/+1