aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1996-07-03 * ldlang.c (print_padding_statement): Use %u, not %x, to printIan Lance Taylor1-0/+5
fill value.
1996-06-30 * mpw-eppcmac.c: Update to reflect May 23 change to aix.em.Stan Shebs2-1/+8
1996-06-27 * configure.host: Use -print-file-name=FILE rather than pipingIan Lance Taylor1-0/+8
-print-libgcc-file-name through sed. (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and crtend.o files, in case gcc doesn't use them. * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o.
1996-06-26 * configure.tgt (mips*-dec-osf*): New target.Ian Lance Taylor1-0/+4
1996-06-25 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,Jason Molenda2-16/+42
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. (docdir): Removed. * configure.in (AC_PREREQ): autoconf 2.5 or higher. (AC_PROG_INSTALL): Added. * configure: Rebuilt.
1996-06-24Do not do PROVIDE of _GLOBAL_OFFSET_TABLE_Michael Meissner1-1/+0
1996-06-24Mon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl>Ian Lance Taylor1-0/+25
* ldlang.h (enum section_type): Define. (lang_output_section_statement_type): Remove loadable field. Add sectype field. (lang_enter_output_section_statement): Change flags parameter in prototype to sectype. * ldgram.y (typebits): Remove. (sectype): New static variable. (opt_at): Use sectype rather than typebits. (type): Set sectype rather than typebits. (atype): Likewise. * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in EXPRESSION mode. * ldlang.c (lang_output_section_statement_lookup): Set sectype field rather than loadable field. (wild_doit): Check sectype rather than loadable. (lang_record_phdrs): Likewise. (lang_enter_output_section_statement): Rename flags parameter to sectype. Set sectype field rather than loadable field. Set flags field based on sectype.
1996-06-24 * configure.in: On alpha*-*-osf*, link against libbfd.a if notIan Lance Taylor1-0/+6
using shared libraries. * configure: Rebuild with autoconf 2.10.
1996-06-21Fri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>Ian Lance Taylor1-0/+4
* configure.tgt: Add support for *-*-rtems* configurations.
1996-06-21Fri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor4-2/+41
* configure.tgt (alpha-*-linuxecoff*): New target. (alpha-*-linux*): Use elf64alpha. * emulparams/elf64alpha.sh: New file. * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use ${ELFSIZE} rather than 32 when calling BFD routines. (hold_rodata): New static variable. (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a readonly section that is not code. (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use a .rel section unless its bfd_section field is not NULL. * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. (eelf64alpha.c): New target.
1996-06-21 * ldmisc.c (vfinfo): Correct handling of 0 in %W case.Ian Lance Taylor1-0/+4
1996-06-20 Add enough support to understand the gcc svr3.ifile script:Ian Lance Taylor1-0/+39
* ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add BIND keyword. * ldgram.y: Add BIND token. (section): Recognize GROUP. (opt_ext_with_type): Recognize a couple of cases of BIND. * ldlang.c (init_os): Don't do anything if section is already initialized. Call exp_init_os on addr_tree field. (exp_init_os): New static function. (map_input_to_output_sections): Call exp_init_os on assignment expression. (lang_place_orphans): Check for common sections by name COMMON rather than by common_section field. Don't warn about absence of [COMMON] command.
1996-06-18 * scripttempl/h8300s.sc: New file for H8/S.Jeff Law5-0/+125
* emulpararms/h8300s.sh: New file for H8/S. * Makefile.in (ALL_EMULATIONS): Add H8/S. (e_h8300s.c): Add dependencies. * configure.tgt: Add H8/S to targ_extra_emuls. H8/S linker stuff. Sanitized until status of this code is known.
1996-06-18 * configure.tgt (i[345]86*-*-isc*): New target. FromIan Lance Taylor2-6/+17
<uddeborg@carmen.se>.
1996-06-08Kill r16/rce/acp stuff.Jim Wilson4-52/+0
1996-06-08Kill r16/rce/acp stuff.Jim Wilson1-29/+0
1996-06-07 * emultempl/sunos.em: Include libiberty.h.Ian Lance Taylor1-0/+7
(gld${EMULATION_NAME}_set_symbols): New static function to add LD_LIBRARY_PATH to the list of search directories. (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine.
1996-06-06 * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)Ian Lance Taylor1-0/+4
rather than . when computing _gp value. From Per Fogelstrom. * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise.
1996-06-06 * ldmain.c (main): Don't close and unlink the file on error, sinceIan Lance Taylor1-0/+11
remove_output will do it anyhow. * ldlang.c (open_output): Set boolean variable to true, not 1.
1996-06-04 * ldcref.c: New file.Ian Lance Taylor3-0/+25
* ld.h (add_cref, output_cref): Declare. * ldmain.c (main): Initialize notice_all field. If it is set at end of link, call output_cref. (notice): Rename from notice_ysym. Check notice_all. * ldmisc.c (finfo): Make globally visible. * ldmisc.h (finfo): Declare. * lexsup.c (OPTION_CREF): Define. (ld_options): Add "cref". (parse_args): Handle OPTION_CREF. * Makefile.in: Rebuild dependencies. (CFILES): Add ldcref.c. (OFILES): Add ldcref.o. * ld.texinfo, ld.1: Document --cref.
1996-06-04 * Makefile.in (install): Don't check to see if tooldir exists.Tom Tromey2-2/+8
Make $(tooldir) and $(tooldir)/bin.
1996-05-31 * emultempl/pe.em (sort_sections): Don't assume that aIan Lance Taylor1-0/+5
wild_statement has a section name.
1996-05-29 * scripttempl/elfmips.sc: Quote test -z argument.Ian Lance Taylor2-2/+4
1996-05-29 * ld.texinfo: Clarify the CONSTRUCTORS command.Ian Lance Taylor2-12/+58
1996-05-23 * emultempl/aix.em (gld${EMULATION_NAME}_read_file): InitializeIan Lance Taylor1-0/+5
file, not impfile. PR 9759.
1996-05-22 * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES}David Edelsohn2-191/+212
if final link. * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. (sort_by_section_name, sort_sections_1): New functions. (sort_sections): Only sort by file name sections in .idata. Add "Grouped Sections" support. (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped Sections. (gld${EMULATION_NAME}_place_section): Delete. * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). (.CRT,.rsrc): Rewrite to use Grouped Section support.
1996-05-21 * mpw-eppcmac.c: Update to reflect changes to aix.em.Stan Shebs1-11/+47
1996-05-20 * ldlang.c (dprint_statement): Stop printing at end of list.David Edelsohn1-0/+4
1996-05-18 Support for --force-exe-suffixSteve Chamberlain1-0/+9
* ld.h (args_type): Add force_exe_suffix. * ld.texinfo: Add documentation. * ldmain.c (main): Add support for option. * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. (ld_options, parse_args): Add support for option.
1996-05-15 * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call.Jim Wilson1-0/+4
1996-05-10Set __stack = 0 if it is referenced and not defined.Michael Meissner2-0/+7
1996-05-09 * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}:Rob Savoye2-1/+17
Set a new variable to signify if the final target is an embedded system. * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to .text for an embedded system.
1996-05-07 * scripttempl/h8300.sc: Place ".tiny" sections rightJeff Law2-1/+11
after ".data" sections. * scripttempl/h8300h.sc: Place ".tiny" sections into the "tiny" memory region, 0xff8000 through 0xffff00. HMSE.
1996-05-07 * scripttempl/h8300.sc: Set the entry point to the value ofJeff Law3-2/+9
"_start" rather than the start of the text segment. * scripttempl/h8300h.sc: Likewise. So we can have data at the start of the text space.
1996-05-07Document semicolon usage.David Edelsohn1-346/+412
1996-05-07 * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function.David Edelsohn1-0/+12
(gld${EMULATION_NAME}_place_section): New function. (hold_{section,use,text,rdata,data}): New static locals. (ld_${EMULATION_NAME}_emulation): Update orphan field. * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. (INIT,FINI): Delete, unused. (.text): Document orphan .text.foo sections. (.rdata): Document orphan .rdata.foo sections. (.data): Document orphan .data.foo sections.
1996-05-07 * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function.David Edelsohn1-10/+171
(gld${EMULATION_NAME}_place_section): New function. (hold_{section,use,text,rdata,data}): New static locals. (ld_${EMULATION_NAME}_emulation): Update orphan field.
1996-05-07 * scripttempl (h8300.sc, h8300h.sc): Place .rodata sectionsJeff Law3-8/+20
before .text sections in main ram. Gets "read only" data out of the instruction stream -- improves relaxing linker. HMSE.
1996-05-07 * scripttempl/h8300h.sc: Use "eight", not "eightbit" for theJeff Law2-8/+19
8-bit region and 8-bit sections. HMSE.
1996-05-02 * ldlang.c (section_already_linked): Fix typos.David Edelsohn2-3/+7
1996-04-30 * scripttempl/pe.sc (.endjunk): Define __end__.David Edelsohn2-1/+7
1996-04-29 * ldlang.c (longest_section_name): Remove.Ian Lance Taylor3-313/+284
(SECTION_NAME_MAP_LENGTH): Define. (print_size, print_alignment, print_fill, print_section): Remove. (print_flags): Remove. (lang_map): Rewrite. (print_output_section_statement): Rewrite. (print_assignment): Rewrite. (print_one_symbol): Rewrite. (print_input_section): Rewrite. (print_fill_statement): Rewrite. (print_data_statement): Rewrite. (print_address_statement): New static function. (print_reloc_statement): Rewrite. (print_padding_statement): Rewrite. (print_wild_statement): Rewrite. (print_statement_list): Clean up. (print_statement): Clean up. Some minor output changes. (print_statements): Clean up. (load_symbols): Put another - before -whole-archive. * ldexp.c (exp_print_tree): Change etree_value and etree_rel to print 0x and to omit leading zeroes. For etree_rel, use %B to print the BFD. For etree_assign, remove the space after the destination name. * ldwrite.c: Include "libiberty.h". (clone_section): Call xstrdup, not strdup. (ldwrite): Don't print any map information. (print_symbol_table, print_file_stuff, print_symbol): Remove. * ldmain.c (main): Call lang_map when appropriate. * ldmisc.c (vfinfo): Add support for %W. (print_address): Remove. * ldmisc.h (print_address): Don't declare. * Makefile.in: Rebuild dependencies.
1996-04-29Mon Apr 29 10:33:10 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+18
<schwab@issan.informatik.uni-dortmund.de> * ld-shared/shared.exp: Run the shared library tests on Linux/m68k.
1996-04-29Mon Apr 29 10:29:07 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+9
<schwab@issan.informatik.uni-dortmund.de> * configure.host (m68*-*-linux*): Add -dynamic-linker to HOSTING_CRT0. Search -lgcc both before and after -lc in HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory at first. (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler directory at first.
1996-04-26 * ldmisc.h (demangle): Declare.Ian Lance Taylor7-233/+496
* ldmisc.c: Include "libiberty.h". Include demangle.h with "", not <>. (demangle): Make non-static. Remove remove_underscore paramter. Always return an allocated string. (vfinfo): Free result of demangle. Add case 'G'. Use %T to print functionname, rather than calling demangle. Print a colon between the BFD(section+offset) and the line number. * ldmain.c (add_archive_element): Improve format of archive information in map file. (constructor_callback): Don't print anything to the map file. * ldlang.c (lang_one_common): Improve format of common symbol information in map file. * ldctor.c (ldctor_build_sets): If producing a map file, print set information. * ldwrite.c (print_symbol_table): Print a newline before the header in the map file. * Makefile.in: Rebuild dependencies.
1996-04-26 * ldmisc.c (vfinfo): Reindent.Ian Lance Taylor2-245/+252
1996-04-22 * ldlang.c (lang_size_sections): If _cooked_size is not 0, thenIan Lance Taylor6-14/+62
don't clobber it when not relaxing. * ld.h (ld_config_type): Remove traditional_format field. * ldmain.c (main): Use link_info.traditional_format rather than config.traditional_format. * ldlang.c (ldlang_open_output): Likewise. * lexsup.c (parse_args): Likewise. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise.
1996-04-22 * ldlang.c (wild_doit): Discard debugging sections if we areIan Lance Taylor2-1/+13
stripping debugging information.
1996-04-22 * emulparams/z8002.sh (ARCH): Set to z8002, not z8k.Ian Lance Taylor1-0/+4
1996-04-16 * ldexp.c (fold_binary): Correct handling of subtraction withIan Lance Taylor2-37/+42
absolute values. (fold_name): Permit symbols in lang_allocating_phase_enum.