aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1995-12-07 * emultempl/aix.em (unix_ld): New static variable.Ian Lance Taylor1-0/+5
(gld${EMULATION_NAME}_parse_args): Handle -unix. (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass gc as false and export_defineds as true to size_dynamic_sections. PR 8606.
1995-12-06 * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): FixDavid Edelsohn1-0/+3
call to sort_sections.
1995-12-06 * ldlang.c (print_statement{,s}): Delete duplicate prototype.David Edelsohn1-0/+10
(print_statement_list): Renamed from print_statement. All callers updated. (print_statement): New function to print just one statement. (print_{data,reloc,padding}_statement): Don't crash if output_section == NULL. (dprint_statement): New function.
1995-12-06 * ldexp.c (exp_fold_tree): Permit assignments to dot in the finalIan Lance Taylor1-0/+5
phase if the current section is abs_output_section. PR 8605.
1995-12-01 * ldgram.y (PHDRS): New token.Ian Lance Taylor1-0/+21
(ifile_p1): Accept phdrs. (section): Accept phdr_opt at the end of the section definition. (phdr_op): New nonterminal. (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. * ldlex.l: Accept PHDRS. * ldlang.h (struct lang_output_section_phdr_list): Define. (lang_output_section_statement_type): Add phdrs field. (struct lang_phdr): Define. (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. (lang_new_phdr): Declare. * ldlang.c (lang_phdr_list): New static variable. (lang_output_section_statement_lookup): Initialize phdrs field. (lang_process): Call lang_record_phdrs. (lang_new_phdr): New function. (lang_section_in_phdr): New function. (lang_record_phdrs): New static function. * ld.texinfo: Document PHDRS.
1995-11-30Expose .edata sectionKim Knuttila1-0/+5
1995-11-30Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor1-0/+7
<manfred@lts.sel.alcatel.de> * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and HOSTING_LIBS for testing. (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for testing.
1995-11-28 * lexsup.c (parse_args): Set config.dynamic_link to false for -NIan Lance Taylor1-0/+5
and -n.
1995-11-27 * configure: Rebuild with autoconf 2.7.Ian Lance Taylor1-1/+5
1995-11-25 * scripttempl/pe.sc: Two .junk's is too much junk.David Edelsohn1-0/+4
1995-11-21 * configure.in: Use BFD_NEED_DECLARATION.Ian Lance Taylor1-0/+4
* acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. * configure, config.in: Rebuild with autoconf 2.6.
1995-11-21 * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTORIan Lance Taylor1-0/+15
being unsupported if this is not a relocaeable link and the input BFD supports it, since ldctor_build_sets can cope with that case.
1995-11-17 * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, notIan Lance Taylor1-0/+6
$(host_canonical) and $(target_canonical). (CXX_FOR_TARGET): Likewise.
1995-11-16 * scripttempl/pe.sc (.endjunk): Move definition of `end' to hereDavid Edelsohn1-0/+5
so the malloc heap begins at a sane place.
1995-11-16version 2.6Ken Raeburn1-0/+12
1995-11-14 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use theIan Lance Taylor1-0/+12
environment variable LD_RUN_PATH if neither -rpath nor -rpath-link were used. (gld${EMULATION_NAME}_before_allocation): Use the environment variable LD_RUN_PATH if -rpath was not used. * ld.texinfo, ld.1: Document LD_RUN_PATH. PR 8428.
1995-11-09 * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,Ian Lance Taylor1-0/+3
report a better error.
1995-11-09 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): AddIan Lance Taylor1-0/+7
new local variable special_sections, and pass it to size_dynamic_sections. Look through the results, and move the sections around in the mapping so that they are defined correctly.
1995-11-08 * ldemul.c (ldemul_default_target): Cast getenv return value.Ian Lance Taylor1-4/+10
1995-11-07added PowerPC PE targetting stuffKim Knuttila1-0/+12
1995-11-07 * ld.texinfo: The linker does not use _main as an entry point.Ian Lance Taylor1-0/+4
1995-11-07Tue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor1-0/+5
<manfred@lts.sel.alcatel.de> * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo 0x2000 not 0x200.
1995-11-06 * configure.in: Add test for whether free must be declared.Ian Lance Taylor1-0/+5
* sysdep.h: Declare free if necessary. Include "ansidecl.h". * acconfig.h: Explain NEED_DECLARATION_FREE. * configure, config.in: Rebuild.
1995-11-06 * lexsup.c (parse_args): Take B:: out of shortopts.Ian Lance Taylor1-0/+4
1995-11-05some i386-netbsd cleanupKen Raeburn1-0/+9
1995-11-03use motorola-sysv*, not sysv3*Ian Lance Taylor1-1/+1
1995-11-01Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor1-0/+11
<manfred@lts.sel.alcatel.de> * Makefile.in (ALL_EMULATIONS): Add edelta68.o. (edelta68.c): New target. * configure.tgt (m68*-motorola-sysv3*): New target. * emulparams/delta68.sh: New file. * scripttempl/delta68.sc: New file. * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section addresses.
1995-11-01 * ldgram.y (mri_script_command): Accept ',' as well as '=' inIan Lance Taylor1-0/+3
ALIGN and ALIGNMOD statements.
1995-11-01 * emultempl/aix.em: Include ldgram.h.Ian Lance Taylor1-0/+7
(gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on AIX 4.1. * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h.
1995-10-31Tue Oct 31 18:22:24 1995 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor1-0/+5
* configure.host (alpha-*-linux*): New host. * configure.tgt (alpha-*-linux*): New target.
1995-10-31 * emultempl/aix.em (export_files): Remove.Ian Lance Taylor1-0/+15
(import_files): Make static. (struct export_symbol_list): Define. (export_symbols): New static variable. (gld${EMULATION_NAME}_parse_args): Handle an initial -b option correctly. Call read_file for an export file. (gld${EMULATION_NAME}_before_allocation): Call bfd_xcoff_export_symbol for each export symbol, rather than calling read_file for each export file. (gld${EMULATION_NAME}_read_file): For an export file, make the exported symbols undefined, and store them on the export_symbols list.
1995-10-28Sat Oct 28 00:10:03 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+7
* emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Don't hang if last option is unrecognised. (gld_${EMULATION_NAME}_set_symbols): Insert created symbols into ABS output section.
1995-10-28 * Makefile.in (ALL_EMULATIONS): Added support for the NetBSDNiklas Hallqvist1-0/+27
m68k4k arch. (em68k4knbsd.c): New rule. * configure.tgt: Added support for the NetBSD m68k4k arch. * genscripts.sh, ldint.texinfo, emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, pc532machaout,rce,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed PAGE_SIZE to TARGET_PAGE_SIZE. * emulparams/m68knbsd.h: Ditto. (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time being. * emulparams/m68k4knbsd.sh: New file. * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
1995-10-27 * emultempl/aix.em: Include ldctor.h.Ian Lance Taylor1-0/+29
(gld${EMULATION_NAME}_after_open): New static function. (gld${EMULATION_NAME}_before_allocation): Call find_relocs. (gld${EMULATION_NAME}_find_relocs): New static function. (gld${EMULATION_NAME}_find_exp_assignment): New static function. (ld_${EMULATION_NAME}_emulation): Use new after_open function. * scripttempl/aix.sc: Use CONSTRUCTORS in .data. * ldctor.c (struct set_info): Move definition into ldctor.h. (struct set_element): Likewise. (sets): Make non-static. (ldctor_add_set_entry): Add name parameter. Save it in the new set element. (ldctor_build_sets): Avoid being called twice. Pass set element name to lang_add_reloc. * ldctor.h (struct set_info): Move definition here from ldctor.c. (struct set_element): Likewise. Add new field name. (sets): Declare. (ldctor_add_set_entry): Declare new name parameter. * ldwrite.c (build_link_order): Don't insist that either name or section be NULL in a lang_reloc_statement. * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for new name parameter. (constructor_callback): Pass name to ldctor_add_new_set_entry for new name parameter.
1995-10-27 * mpw-config.in: Add PowerMac target support, generate config.h.Stan Shebs1-0/+8
* mac-ld.r: New file, Mac resources. * mpw-make.sed: New file, edits Makefile.in into MPW syntax. * mpw-make.in: Remove. * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script.
1995-10-27 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): TreatIan Lance Taylor1-0/+3
-static as a synonym for -bnso.
1995-10-26 * scripttempl/aix.sc: Move special symbols inside sections.Ian Lance Taylor1-0/+5
Always start .data at 0.
1995-10-25 * Makefile.in (diststuff): Also make info.Per Bothner1-0/+5
(maintainer-clean realclean): Also delete *.info*.
1995-10-25 * ldmain.c (main): Initialize new field link_info.static_link.Ian Lance Taylor1-0/+11
* ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. (constructor_callback): Likewise. * ldmisc.c (vfinfo): Likewise. * ldwrite.c (build_link_order): Likewise.
1995-10-25 * ld.texinfo: The MRI ALIGN directive is supported.Ian Lance Taylor1-0/+16
1995-10-19 * ldlex.l: Treat PROVIDE as a keyword in expression state.Ian Lance Taylor1-0/+4
1995-10-19 * scripttempl/pe.sc (.bss): Move to be after .textSteve Chamberlain1-0/+4
1995-10-17 * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):Ian Lance Taylor1-0/+4
Search trinary.cond rather than searching trinary.lhs twice. From linli@ihp.PHys.ethz.CH.
1995-10-17 * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): MoveIan Lance Taylor1-0/+12
directory searching code into gld${EMULATION_NAME}_search_dir. (gld${EMULATION_NAME}_search_dir): New static function, extracted from gld${EMULATION_NAME}_find_so. (global_needed, global_found): New static variables. (gld${EMULATION_NAME}_after_open): New static function. (gld${EMULATION_NAME}_search_needed): New static function. (gld${EMULATION_NAME}_try_needed): New static function. (gld${EMULATION_NAME}_check_needed): New static function. (ld_${EMULATION_NAME}_emulation): Use new after_open function. * ld.texinfo, ld.1: Mention -rpath-link on SunOS.
1995-10-17 * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.Ian Lance Taylor1-0/+7
(eelf32lppc.c): Likewise. * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. (GENERATE_SHLIB_SCRIPT): Define as yes.
1995-10-16 * configure.tgt (powerpc-*-aix*): New target; use aixppc.Ian Lance Taylor1-0/+17
(rs6000-*-aix*): New target; use aixrs6. * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. * emultempl/aix.em: New file. * scripttempl/aix.sc: New file. * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. (eaixppc.c, eaixrs6.c): New targets.
1995-10-10 * ldlang.c (lang_finish): Don't try to use an entry_symbol from aIan Lance Taylor1-0/+5
section which was not linked into the final output. PR 8172.
1995-10-10 * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): FixSteve Chamberlain1-0/+5
fatal typos.
1995-10-10 * ld.h (args_type): Add rpath_link field.Ian Lance Taylor1-0/+9
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for required dependencies in rpath_link path. Only search LD_LIBRARY_PATH when configured native. * lexsup.c (parse_args): Recognize -rpath-link. * ld.1, ld.texinfo: Document -rpath-link.
1995-10-07 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don'tIan Lance Taylor1-0/+5
bother searching for needed libraries unless doing a final link.