aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.c
AgeCommit message (Collapse)AuthorFilesLines
1994-01-13 * som.c (hppa_som_reloc): Add new "error message" argument.Jeff Law1-17/+29
1993-12-14 * elf32-hppa.c (hppa_elf_gen_reloc_type): Handle 'T' fieldJeff Law1-11/+35
selectors for PIC code. * som.c (hppa_som_gen_reloc_type): Handle 'T' field selectors. (som_write_fixups): Handle R_DLT_REL, R_FSEL, R_RSEL, R_LSEL relocations needed by PIC.
1993-12-06 * som.c (som_begin_writing): Flesh out code for handling simpleJeff Law1-3/+100
auxiliary headers. (bfd_som_attach_aux_hdr): New function. * som.h (struct somdata): Add fields for attaching version and copyright headers. Add accessor macros.
1993-12-06 * som.c (R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Add protectedJeff Law1-6/+17
definitions for old versions of HPUX which fail to define them. (som_hppa_howto_talbe): Add R_DLT_REL, R_AUX_UNWIND, and R_SEC_STMT now that they're safe. Delete bogus R_STATEMENT relocations.
1993-12-06 * som.c (som_hppa_howto_table): Add missing R_END_TRY. DeleteJeff Law1-17/+186
extra R_DATA_OVERRIDE. (hppa_som_gen_reloc_type): Generate a relocation for the rounding mode selector if needed. (som_write_fixups): Handle requests for a change in the default rounding mode. Rounding modes do not consume input bytes, but are just markers much like R_ENTRY and R_EXIT.
1993-11-22 * Minimal support for reading SOM fixup streams. AllowsJeff Law1-48/+800
objdump -r to do something reasonable. * som.c (som_get_reloc_upper_bound): Implement. (som_canonicalize_reloc): Implement. (som_set_reloc_info, som_slurp_reloc_table): New functions.
1993-11-14 * som.c (som_bfd_reloc_type_lookup): Add missing prototype. ReturnsJeff Law1-4/+4
a pointer to constant data. Delete bogus #define which made the function useless.
1993-11-14 * som.c (som_begin_writing): New function.Jeff Law1-6/+241
1993-11-14 * som.c (som_write_space_strings): New function.Jeff Law1-0/+180
(som_write_symbol_strings): New function.
1993-11-14 * som.c (som_write_fixups): New function.Jeff Law1-1/+256
1993-11-13 * som.c (som_prep_for_fixups): New function.Jeff Law1-0/+97
1993-11-13 * som.c (som_write_object_contents): Do not abort. Flesh out.Jeff Law1-10/+66
(som_set_section_contents): Do not abort. Flesh out.
1993-11-13 * som.c (som_build_and_write_symbol_table): New function.Jeff Law1-0/+155
1993-11-13 * som.c (som_write_headers): New function.Jeff Law1-0/+177
1993-11-13 * som.c (som_reloc_call): New function.Jeff Law1-0/+117
1993-11-13 * som.c (som_sizeof_headers): Add missing prototype.Jeff Law1-4/+3
(som_set_arch_mach): Do not abort.
1993-11-13 * som.c (som_prep_headers): New function.Jeff Law1-1/+94
1993-11-13 * som.c (som_count_spaces): New function.Jeff Law1-0/+83
(som_count_subspaces): New function. (compare_syms): New function. (som_compute_checksum): New function.
1993-11-13 * som.c (hppa_som_gen_reloc_type): New function.Jeff Law1-1/+84
(som_bfd_reloc_type_lookup): New function.
1993-11-13 * som.c (try_prev_fixup): New function.Jeff Law1-1/+153
(som_reloc_skip): New function. (som_reloc_addend): New function.
1993-11-13 * som.c (som_initialize_reloc_queue): New function.Jeff Law1-0/+117
(som_reloc_queue_insert): Likewise. (som_reloc_queue_fix): Likewise. (som_reloc_queue_find): Likewise.
1993-11-12 * som.c (som_hppa_howto_table): SOM howto relocation table.Jeff Law1-1/+281
(hppa_som_reloc): New function.
1993-11-12 * som.c (struct reloc_queue): New structure to keep track ofJeff Law1-0/+29
the last four multibyte relocations emitted. (enum pa_symbol_type): Type to fully describe the symbol types associated with .import/.export assembler directives.
1993-11-12 * som.c: Include libhppa.hJeff Law1-0/+1
1993-11-12 * som.c (bfd_som_set_section_attributes): New function.Jeff Law1-2/+72
(bfd_som_set_subsection_attributes): Likewise. (bfd_som_set_symboL_type): Likewise. (bfd_som_attach_unwind_info): Likewise. * som.h: Declare new exported functions.
1993-10-26 * som.c (hppa_object_setup): Set SEC_CODE for .text section soStu Grossman1-191/+563
that GDB can figure out text_start and text_end.
1993-08-28More patches from Jeff Law, plus a little cleanup of my own.Ken Raeburn1-0/+602
These changes separate PA-SOM support from PA-ELF support. A sun4-x-hppaosf assembler can now be built. * elf32-hppa.c (elf_hppa_howto_table): Now static. (symext_rootP, symext_lastP, global_value, GOT_value, global_symbol, global_sym_defined, symextn_contents, symextn_contents_real_size, elf_hppa_stub_rootP, elf32_hppa_symextn_map, elf32_hppa_symextn_map_size): Rely on default initialization. (hppa_elf_gen_reloc_type): Macro "UNDEFINED" doesn't need a trailing semicolon. (hppa_look_for_stubs_in_section): Introduce temporaries to make code more readable in 80 columns. * libhppa.h (all functions): Now inline under GNU C. * elf32-hppa.c (AR_WARN): Give argument which caused the invalid argument relocation. (AR_UNIMP): Delete unused macro. (hppa_elf_set_section_contents): Always return a value. (elf32_hppa_backend_table_processing): Likewise. (elf32_hppa_backend_section_processing: Likewise. * som.c: New file containing SOM specific code extracted from hppa.c * som.h: New file containing SOM specific code extracted from libhppa.h * hppa.c: Deleted. * libhppa.h: Delete SOM specific code. Add generic PA code which can be shared by both SOM and ELF backends. * Makefile.in: Replace hppa.c with som.c. elf32-hppa.o depends on libhppa.h now. * configure.in (hppa_vec): Needs som.o module instead of hppa.o. * elf32-hppa.c: Include libhppa.h. Do not define BYTES_IN_WORD. * elf32-hppa.h (hppa_reloc_field_selector_type): Delete now lives in libhppa.h. (hppa_reloc_field_selector_type_alt): Likewise. * elf32-hppa.c (hppa_elf_relocate_unwind_table): Delete unused variables. (elf_hppa_reloc_type_lookup): Likewise. (elf_hppa_tc_make_sections): Likewise. (hppa_elf_arg_reloc_needed_p): Likewise. (hppa_elf_build_long_branch_stub): Likewise. (elf_reloc_map): Delete, no longer used. (elf_hppa_reloc_map): Likewise. (elf32_hppa_symextn_map_max_size): Likewise. (elf32_hppa_get_sym_extn): Abort if type is bogus. * elf32-hppa.c (elf32_hppa_backend_fake_sections): Add processing of the .hppa_unwind section.