summaryrefslogtreecommitdiff
path: root/ld/ld.h
Commit message (Collapse)AuthorAgeFilesLines
* update copyrightIan Lance Taylor1996-07-301-5/+5
|
* * ld.h (args_type): Add cref field.Ian Lance Taylor1996-07-301-0/+9
| | | | | | | * lexsup.c (parse_args): Set command_line.cref. * ldmain.c (main): Check command_line.cref rather than link_info.notice_all. (notice): Likewise.
* * ldlang.c (lang_size_sections): If _cooked_size is not 0, thenIan Lance Taylor1996-04-221-4/+27
| | | | | | | | | | | | 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.
* fsf address update, but not in COPYING filesKen Raeburn1995-07-071-1/+15
|
* * ld.h (ld_config_type): Add new field warn_once.Ian Lance Taylor1994-09-141-0/+12
| | | | | | | | * ldmain.c (undefined_symbol): Handle -warn-once. * lexsup.c (parse_args): Recognize -warn-once. * ld.texinfo (Options): Document -warn-once. * ld.1: Likewise. PR 4456.
* * ld.h (ld_config_type): Add new field traditional_format.Ian Lance Taylor1994-06-151-0/+3
| | | | | | | | | * lexsup.c (parse_args): Add traditional_format to longopts, and handle it. * ldmain.c (main): Initialize config.traditional_format to false. * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD flags of output_bfd according to config.traditional_format. * ld.texinfo: Document -traditional-format.
* Add support for ELF shared libraries.Ian Lance Taylor1994-05-191-57/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | * ld.h (ld_config_type): Add field dynamic_link. * ldmain.c (main): Initialize config.dynamic_link to false. Warn on attempts to use -r with -relax, -call_shared or -s. * lexsup.c (longopts): Separate OPTION_CALL_SHARED from OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values accordingly. Add "dy" and "non_shared" options. Change "Qy" to OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and OPTION_NON_SHARED by setting dynamic_link field accordingly. Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for -r and -Ur. * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try opening a file with a .so extension first. * emultempl/elf32.em: New file. * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. (NONPAGED_TEXT_START_ADDR): Likewise. (TEMPLATE_NAME): Define as elf32. (DATA_PLT): Define. * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. * scripttempl/elf.sc: Add placement for new dynamic sections. Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end outside of any section. Don't use ALIGN(8); just let one section VMA follow another. Put .dynbss in .bss. Don't mention debugging sections; they'll be handled correctly anyhow. * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em.
* * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handleDavid Edelsohn1993-10-151-3/+4
| | | | | types of different sizes (eg: 64 and 32 bits), so coerce. * ld.h (ALIGN_N): Add warning about usage.
* * ld.h (BYTE_SIZE, SHORT_SIZE, LONG_SIZE): Define as suggested byDavid Edelsohn1993-08-261-12/+29
| | | | Steve.
* *** empty log message ***Steve Chamberlain1991-05-031-1/+1
|
* Removed extern declarationsSteve Chamberlain1991-04-171-2/+2
|
* checkpoint before a mergeSteve Chamberlain1991-04-141-27/+2
|
* Initial revisionDavid Henkel-Wallace1991-03-211-0/+132