aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
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.
1996-04-16Add Solaris/linux supportMichael Meissner1-0/+5
1996-04-15 * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use itRob Savoye2-5/+9
in m68k/crt0.S without things blowing up.
1996-04-12 * scripttempl/m68kcoff.sc: Remove default address for .data soRob Savoye1-0/+5
.text, .data, and .bss are all sequential.
1996-04-11 * scripttempl/m68kcoff.sc: Remove regions and simplify.Ian Lance Taylor2-0/+45
1996-04-10 * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256Jeff Law1-0/+7
bytes of the address space. Put data from the ".eight" sections into the 8-bit area. * scripttempl/h8300h.sc: Likewise. 8-bit area changes for hmse.
1996-04-09 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse):David Edelsohn1-0/+6
Pass $ARCH to ldfile_set_output_arch instead of setting ldfile_output_architecture directly.
1996-04-09 * ld.texinfo: Rearrange option documentation.Ian Lance Taylor1-0/+2
1996-04-09tweak last changeIan Lance Taylor1-6/+17
1996-04-09 * lexsup.c (ld_options): New static array.Ian Lance Taylor2-78/+345
(parse_args): Build shortopts and longopts from ld_options array. (help): New static function. * ldver.h (help): Don't declare. * ldver.c (ldversion): Reindent. (help): Remove.
1996-04-09Put .init/.fini in correct places.Michael Meissner2-4/+10
1996-04-09 * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic.Ian Lance Taylor3-3/+12
1996-04-08formatting changeIan Lance Taylor1-1/+1
1996-04-08 * emultempl/elf32.em: When checking for a native emulation, checkIan Lance Taylor1-0/+4
that the current emulation is the default emulation. * emultempl/sunos.em: Likewise.
1996-04-08 * configure.in: Permit --enable-shared to specify a list ofIan Lance Taylor1-0/+4
directories. * configure: Rebuild.
1996-04-08 * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic,Ian Lance Taylor2-1/+8
for HP/UX compatibility.
1996-04-05 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): NewIan Lance Taylor2-1/+105
static function, if ${host} = ${target}. (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a needed shared library if ${host} = $[target}.
1996-04-05 * configure.tgt: Add i[345]86-*-freebsdelf* target; from JohnIan Lance Taylor1-0/+5
Polstra <jdp@polstra.com>.
1996-04-05Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion2-0/+10
* emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit architecture number. * scripttempl/elf.sc: Use $MACHINE definition if present. * configure.tgt (targ_extra_emuls): Force 4100 build to use same template as 4300.
1996-04-01 * ldlang.c (lang_size_sections): Change region check to handleIan Lance Taylor2-4/+8
regions which end at the highest possible address correctly. From Roland Weber <roweber@ira.uka.de>.
1996-04-01 * ldlang.c (section_already_linked): New static function.Ian Lance Taylor2-8/+128
(wild_doit): Discard sections with SEC_EXCLUDE set if not doing a relocateable link. Don't worry about section being NULL, since it never should be. Don't call init_os unless the section is going to be added. (ldlang_add_file): Call section_already_linked for each section. * ldmain.c (multiple_definition): Don't warn about multiple definitions in sections which are being discarded.
1996-03-31 * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.Steve Chamberlain1-0/+5
* emultempl/pe.em (init): Remove special case PPC code.
1996-03-31 * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.Steve Chamberlain1-2/+3
1996-03-29 * scripttempl/h8300.sc: Make vectors section 0xc4 bytes longJeff Law3-0/+130
so as not to overwrite the magic syscall entry at 0xc4. * scripttempl/h8300h.sc: Likewise. hmse.
1996-03-28 * configure.tgt (sparc64-*-solaris2*): Delete.David Edelsohn2-5/+17
Stick with sparc-*-solaris2*.
1996-03-27 * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/".Ian Lance Taylor3-9/+34
* ldlang.c (init_os): Fail on an attempt to initialize any section named DISCARD_SECTION_NAME. (wild_doit): Discard input sections assigned to an output section named DISCARD_SECTION_NAME. * ld.texinfo: Document use of /DISCARD/.
1996-03-27 * ldlang.c: Fix some indentation and comments.Ian Lance Taylor2-69/+75
1996-03-26 * ldmain.c (main): Call bfd_set_error_program_name.Ian Lance Taylor2-0/+28
1996-03-21 * ldmisc.c (vfinfo): case 'I': If the file is not in an archive,Ian Lance Taylor1-0/+4
and the local symbol name does not match the filename, print the filename as well.
1996-03-21 Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF:Ian Lance Taylor1-0/+7
* lexsup.c (parse_args): -Bshareable is a synonym for -shared. * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same as TEXT_START_ADDR.
1996-03-20Wed Mar 20 18:18:25 1996 Andreas Schwab ↵Ian Lance Taylor2-7/+11
<schwab@issan.informatik.uni-dortmund.de> * ld.texinfo: Fix typos. Use @pxref only inside parentheses.
1996-03-20 * ldmain.c (add_wrap): New function.Ian Lance Taylor2-12/+7
* ldmain.h (add_wrap): Declare. * lexsup.c (parse_args): Call add_wrap.
1996-03-20 * configure.host (sparc*-*-solaris2* host): Accept any sparc variant.David Edelsohn1-0/+4
1996-03-14 * scripttempl/h8300.sc: Change name of page zero memoryJeff Law1-0/+8
from "null" to "vectors". Create an output section for vectors. Add comments on how to explicitly place items in the vector table. * scripttempl/h8300h.sc: Likewise. hmse
1996-03-13 * emultempl/lnk960.em (machine_table): Add jx and hx.Ian Lance Taylor1-0/+2
1996-03-13 * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn'tIan Lance Taylor1-0/+5
support it.
1996-03-12 * lexsup.c (parse_args): Handle --wrap.Ian Lance Taylor5-6/+76
* ldmain.c (main): Initialize link_info.wrap_hash. * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED and NAME cases. * ld.texinfo, ld.1: Document --wrap.
1996-03-12Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>Ian Lance Taylor5-6/+49
* ld.h (ld_config_type): Add warn_multiple_gp field. * lexsup.c (parse_args): Handle --warn-multiple-gp. * ldmain.c (warning_callback): Suppress multiple gp values warning if --warn_multiple_gp was not used. * ld.texinfo, ld.1: Document --warn-multiple-gp.
1996-03-12 * configure: Rebuild with autoconf 2.8.Ian Lance Taylor1-0/+2
1996-03-12 Don't do SunOS style dynamic linking for sparc-aout:Ian Lance Taylor3-0/+23
* configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. (sparc*-wrs-vxworks*): Likewise. * emulparams/sparcaout.sh: New file. * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. (esparcaout.c): New target.