summaryrefslogtreecommitdiffstats
path: root/bfd/som.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffixJakub Jelinek2001-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fields, change sec into secinfo. (struct sec_merge_info): Add chain, remove last fields. (struct sec_merge_sec_info): Add next, sec, psecinfo fields. (sec_merge_hash_lookup): If lookup could not use a string only because it has bad alignment, mark the old string for deletion. (sec_merge_add): Add secinfo argument. Don't compute entry's position, instead record the section. (sec_merge_emit): Update for the sec into secinfo change in struct sec_merge_hash_entry. (_bfd_merge_section): Only record the section for merging, defer putting strings into the hash table. (cmplengthentry, last4_eq, last_eq, record_section, merge_strings, _bfd_merge_sections): New functions. (_bfd_merged_section_offset): Update for the sec_merge_hash_entry changes. * libbfd-in.h (_bfd_merge_sections): Add prototype. (_bfd_nolink_bfd_merge_sections): Define. * libbfd.h: Likewise. (bfd_generic_merge_sections): Add prototype. * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections. (struct bfd_target): Likewise. * bfd.c (bfd_merge_sections): Define. * bfd-in2.h: Rebuilt. * elf.c (_bfd_elf_merge_sections): New function. * elf-bfd.h (_bfd_elf_merge_sections): Add prototype. * elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define. * reloc.c (bfd_generic_merge_sections): New function. * vms.c (vms_bfd_merge_sections): New function. * aout-adobe.c (aout_32_bfd_merge_sections): Define. * aout-target.h (MY_bfd_merge_sections): Define. * aout-tic30.c (MY_bfd_merge_sections): Define. * binary.c (binary_bfd_merge_sections): Define. * bout.c (b_out_bfd_merge_sections): Define. * coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define. * coffcode.c (coff_bfd_merge_sections): Define. * coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define. * i386msdos.c (msdos_bfd_merge_sections): Define. * i386os9k.c (os9k_bfd_merge_sections): Define. * ieee.c (ieee_bfd_merge_sections): Define. * ihex.c (ihex_bfd_merge_sections): Define. * nlm-target.h (nlm_bfd_merge_sections): Define. * oasys.c (oasys_bfd_merge_sections): Define. * ppcboot.c (ppcboot_bfd_merge_sections): Define. * som.c (som_bfd_merge_sections): Define. * srec.c (srec_bfd_merge_sections): Define. * tekhex.c (tekhex_bfd_merge_sections): Define. * versados.c (versados_bfd_merge_sections): Define. * xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define. * ldlang.c (lang_process): Call bfd_merge_sections.
* Update copyright noticesNick Clifton2001-03-081-1/+2
|
* 2001-01-04 Kazu Hirata <kazu@hxi.com>Kazu Hirata2001-01-041-222/+213
| | | | * som.c: Fix formatting.
* 2000-12-14 Kazu Hirata <kazu@hxi.com>Kazu Hirata2000-12-141-155/+148
| | | | | | * peigen.c: Fix formatting. * som.c: Likewise. * som.h: Likewise.
* * som.c: Include alloca-conf.hAlan Modra2000-09-281-0/+1
|
* Make weak symbols SS_UNIVERSAL (ie. global)Alan Modra2000-09-261-1/+2
|
* * som.c (som_write_symbol_strings): Do not used fixed buffers,Jeff Law2000-09-141-25/+62
| | | | | use size_t as a counter. (som_write_space_strings): Similarly.
* * som.c (struct fixup_format): Constify `format'.Jeff Law2000-08-041-285/+281
| | | | | | | | | | | | | | (som_hppa_howto_table): Use SOM_HOWTO macro. (try_prev_fixup, hppa_som_reloc): Decorate unused parameter. (som_bfd_reloc_type_lookup): Likewise. (compare_subspaces): Remove unused `count1', `count2'. (som_begin_writing): Remove unused `total_reloc_size'. (som_bfd_derive_misc_symbol_info): Decorate unused parameter. (som_print_symbol, som_bfd_is_local_label_name): Likewise. (som_set_reloc_info): Constify `cp'. Remove unused `addend'. (som_find_nearest_line): Decorate unused parameter(s). (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise. (som_bfd_link_split_section): Likewise.
* * som.c (som_decode_symclass): Recognize weak symbols.Catherine Moore2000-05-161-0/+2
|
* * som.c (SOM_HOWTO): Define.Jeff Law2000-02-261-0/+3
| | | | (som_hppa_howto_table): Use it.
* * som.c (som_misc_symbol_info): Add fieldCatherine Moore2000-02-241-1/+14
| | | | | | | | | | | | secondary_def. (som_bfd_derive_misc_symbol_info): Initialize secondary_def. (som_build_and_write_symbol_table): Keep track of secondary_def field. (som_slurp_symbol_table): Set BSF_WEAK symbol flag if secondary_def field is set. (som_bfd_ar_write_symbol_stuff): Initialize secondary_def.
* Revert previous patch.Nick Clifton1999-12-101-1/+0
|
* Change AR for ELF so that common symbols are not included in archive map.Nick Clifton1999-12-101-0/+1
| | | | | | Change LD for ELF so that archive elements whoes archive map contains a reference to a common symbol will get linkled in. Add new field to bfd_target structure and initialise it for all bfd targets.
* * som.c (som_fixup_formats): Improve handling of R_AUX_UNWIND,Jeff Law1999-11-021-5/+5
| | | | R_LINETAB, R_LINETAB_ESC, and R_COMMENT.
* * som.c (NO_PCREL_MODES): Define if the system does not defineJeff Law1999-09-191-1/+44
| | | | | | | | | | | | R_SHORT_PCREL_MODE. (hppa_som_gen_reloc_type): Handle both short and long pcrel branches. (som_write_fixups): Eliminate redundant pcrel mode relocs. Handle R_LONG_PCREL_MODE and R_SHORT_PCREL_MODE * libhppa.h (dis_assemble_22): New function. (bfd_hppa_insn2fmt): Handle long branch. * libhppa.h (bfd_hppa_insn2fmt): Decode and handle formats found in PA2.0.
* * som.c (som_slurp_symbol_table): Fix typo in comment.Jeff Law1999-08-241-1/+1
|
* Add new field to bfd_target structure.Nick Clifton1999-07-191-0/+2
| | | | | Initialise this field for all known bfd targets. Add new search function to targets.c
* MJeff Law1999-05-031-3/+2
| | | | | * som.c (som_fixup_formats): Fix comments for R_SHORT_PCREL_MODE and R_LONG_PCREL_MODE.
* 19990502 sourceware importRichard Henderson1999-05-031-0/+6264
OpenPOWER on IntegriCloud