summaryrefslogtreecommitdiffstats
path: root/ld/lexsup.c
Commit message (Collapse)AuthorAgeFilesLines
* * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Hans-Peter Nilsson2001-06-181-1/+0
| | | | | | | Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. * ld.h (args_type): Remove member export_dynamic. All users changed to use struct bfd_link_info member.
* 2001-06-15 H.J. Lu <hjl@gnu.org>H.J. Lu2001-06-161-2/+3
| | | | | * lexsup.c (parse_args); Save optind to report unrecognized option.
* * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:Hans-Peter Nilsson2001-06-151-0/+1
| | | | | Set new link_info member export_dynamic. * ldmain.c (main): Initialize new link_info member export_dynamic.
* Improve Solaris compatabilityNick Clifton2001-05-221-2/+3
|
* 2001-05-02 H.J. Lu <hjl@gnu.org>H.J. Lu2001-05-021-2/+2
| | | | | | | | | | | | | | | | * ldfile.c: Include "libiberty.h". * ldlex.l: Likewise. * ldmisc.c (buystring): Removed. * ldmisc.h: Likewise. * ldfile.c: Replace buystring with xstrdup. * ldlang.c: Likewise. * ldlex.l: Likewise. * ldmain.c: Likewise. * ldmisc.c: Likewise. * lexsup.c: Likewise. * mpw-eppcmac.c: Likewise.
* * ld.texinfo: Document --fatal-warnings.J.T. Conklin2001-04-131-1/+8
| | | | | | | | | | | * ld.1: Regenerate. * ldmisc.c (vfinfo): Set flag to inhibit making executable if warnings have been turned into errors. * lexsup.c (OPTION_WARN_FATAL): Define. (ld_options): Entry for --fatal-warnings. (parse_args): Handle OPTION_WARN_FATAL. * ld.h (ld_config_type): Add fatal_warnings field.
* bfd/Jakub Jelinek2001-04-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libbfd-in.h (_bfd_merge_section): New. (_bfd_write_merged_section): New. (_bfd_merged_section_offset): New. * libbfd.h: Rebuilt. * linker.c (_bfd_generic_link_output_symbols): Handle discard_sec_merge. * aoutx.h (aout_link_write_symbols): Likewise. * pdp11.c (aout_link_write_symbols): Likewise. * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE sections. (elf_link_sec_merge_syms): New. (elf_link_input_bfd): Call _bfd_merged_section_offset and _bfd_write_merged_section. Handle discard_sec_merge. * elf-bfd.h (struct elf_link_hash_table): Add merge_info field. (struct bfd_elf_section_data): Likewise. * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and SEC_STRINGS section flags and entsize from their ELF counterparts. (_bfd_elf_link_hash_table_init): Initialize merge_info. (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize from their BFD counterparts. * merge.c: New file. * Makefile.am: Add strtab.lo. * Makefile.in: Rebuilt. include/ * bfdlink.h (bfd_link_discard): Add discard_sec_merge. gas/ * config/obj-elf.c (obj_elf_change_section): Add entsize argument, handle SHF_MERGE and SHF_STRINGS. (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS. (obj_elf_section): Allow additional argument specifying entity size. * write.c (adjust_reloc_syms): Keep relocations against local symbols in SEC_MERGE sections. ld/ * ldmain.c (main): Default to discard_sec_merge. * lexsup.c (OPTION_DISCARD_NONE): Define. (ld_options): Add --discard-none. (parse_args): Handle OPTION_DISCARD_NONE. * ldlang.c (wild_doit): SEC_MERGE should be set in the output section only if SEC_MERGE and SEC_STRINGS flags and entsize of all its input sections match.
* Fixtypos in ChangeLogs, fix copyright dates in filesNick Clifton2001-03-131-1/+2
|
* Extend "ld --unique" functionality.Alan Modra2001-01-141-3/+6
|
* formatting fixNick Clifton2001-01-131-1/+1
|
* Update copyright date to 2001Nick Clifton2001-01-121-2/+2
|
* Fix problems with new EXACTLY_TWO_DASHES command line switch option.Nick Clifton2000-12-311-3/+11
|
* Requre that long options starting with 'o' only accept a double dash prefix.Nick Clifton2000-12-281-12/+40
|
* Add link option to allow undefiedn symbols in shared librariesNick Clifton2000-12-121-2/+10
|
* Added new option --target-help.Chandra Chavva2000-10-171-0/+7
|
* 2000-10-10 Kazu Hirata <kazu@hxi.com>Kazu Hirata2000-10-111-30/+27
| | | | | | * deffile.h: Fix formatting. * lexsup.c: Likewise. * mri.c: Likewise.
* 2000-09-29 Kazu Hirata <kazu@hxi.com>Kazu Hirata2000-09-291-11/+11
| | | | | | | | | | | | | * deffile.h: Fix formatting. * ld.h: Likewise. * ldctor.h: Likewise. * ldemul.h: Likewise. * ldexp.h: Likewise. * ldfile.h: Likewise. * ldlang.h: Likewise. * lexsup.c: Likewise. * mri.c: Likewise. * pe-dll.c: Likewise.
* --split-by-reloc, --split-by-file extensions. --unique option.Alan Modra2000-09-051-6/+18
|
* Add .gnu.linkonce.wi.* to .debug_info sections.Nick Clifton2000-09-021-11/+0
|
* Add optional style argument to --demangle switch.Nick Clifton2000-07-201-2/+14
|
* 2000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu2000-07-201-0/+4
| | | | | | | | | | | | | | | | | | | | * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. (PARSE_AND_LIST_PROLOGUE): New. (PARSE_AND_LIST_LONGOPTS): Likewise. (PARSE_AND_LIST_OPTIONS): Likewise. (PARSE_AND_LIST_ARGS_CASES): Likewise. * ldmain.c (main): Clear link_info.flags and link_info.flags_1. * lexsup.c (ld_options): Comment out 'z'. (parse_args): Likewise. * emultempl/elf32.em: Include "elf/common.h". (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z options. (gld_${EMULATION_NAME}_list_options): Likewise. * ld.texinfo: Add documentation for the recognized -z options.
* Fix --section-start=xxxxAlan Modra2000-07-081-4/+9
|
* Patch from Thomas de Lellis to implement --section-startNick Clifton2000-05-221-0/+36
|
* 2000-05-18 H.J. Lu <hjl@gnu.org>H.J. Lu2000-05-181-1/+1
| | | | * lexsup.c (parse_args): `i' == `r', not `q'.
* Fix typo in previous deltaNick Clifton2000-05-171-2/+2
|
* Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implementNick Clifton2000-05-171-0/+5
| | | | --emit-relocs switch to the linker to preserve relocs in an output executable
* Update printed copyright.Alan Modra2000-05-151-1/+1
|
* Fix 64 bit target section start on 32 bit machine.Alan Modra2000-05-031-3/+3
|
* Move translated part of bug report string back into .c files soAlan Modra2000-04-041-1/+1
| | | | xgettext can find it. Regnerate .pot files.
* Move bug report string to one place.Alan Modra2000-04-031-2/+2
|
* 1999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-121-1/+1
| | | | | * lexsup.c (parse_args): Use strtoul for --split-by-reloc argument.
* 1999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-121-0/+3
| | | | | * lexsup.c (parse_args): If we get an unrecognized argument, mention --help.
* * lexsup.c (is_num): Reindent.Ian Lance Taylor1999-08-061-12/+20
| | | | (parse_args): Mention program name in error message.
* * ldmain.c (main): Initialize link_info.init_function andMark Mitchell1999-06-231-0/+14
| | | | | | | | link_info.fini_function. * lexsup.c (OPTION_INIT): New macro. (OPTION_FINI): Likewise. (ld_options): Add descriptions for them. (parse_args): Handle them.
* restore previous format of --help outputNick Clifton1999-06-091-2/+4
|
* Minor formatting changes.Nick Clifton1999-05-281-4/+4
|
* 19990502 sourceware importRichard Henderson1999-05-031-0/+1140
OpenPOWER on IntegriCloud