diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-06-10 08:51:46 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-06-10 08:51:46 +0000 |
commit | e1f000f69cf227b4fefa30a5234cd9a9e68fee40 (patch) | |
tree | c38c106cacde67a2a46fe8eda6c880f1c6c98595 /gas | |
parent | 820744a571ae32a6858f63b4c75791cb911b6c3e (diff) | |
download | gdb-e1f000f69cf227b4fefa30a5234cd9a9e68fee40.zip gdb-e1f000f69cf227b4fefa30a5234cd9a9e68fee40.tar.gz gdb-e1f000f69cf227b4fefa30a5234cd9a9e68fee40.tar.bz2 |
bfd/
2010-06-10 Tristan Gingold <gingold@adacore.com>
* som.c: Can now be compiled on any host.
Include bfd headers instead of system one.
(som_compute_checksum): Parameter is now a pointer to a
som_external_header structure. Adjust.
(struct section_to_type): Field section is now const.
(R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional
definition.
(R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto.
(R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto.
(som_swap_clock_in, som_swap_clock_out): New functions.
(som_swap_header_in, som_swap_header_out): Likewise.
(som_swap_space_dictionary_in): Likewise.
(som_swap_space_dictionary_out): Likewise.
(som_swap_subspace_dictionary_in): Likewise.
(som_swap_subspace_dictionary_record_out): Likewise.
(som_swap_aux_id_in, som_swap_aux_id_out): Likewise.
(som_swap_string_auxhdr_out): Likewise.
(som_swap_compilation_unit_out): Likewise.
(som_swap_exec_auxhdr_in): Likewise.
(som_swap_exec_auxhdr_out): Likewise.
(som_swap_lst_header_in): Likewise.
(som_object_setup): Adjust parameter type using bfd types.
(setup_sections): Likewise. Ditto for object file types.
Use intermediate variables for external representation and use the
swap functions to convert.
(som_object_p): Ditto. Remove #ifdef/#endif on always defined
macros.
(som_prep_headers): Likewise.
(som_write_symbol_strings): Likewise.
(som_begin_writing): Likewise.
(som_finish_writing): Likewise.
(som_build_and_write_symbol_table): Likewise.
(bfd_section_from_som_symbol): Likewise.
(som_slurp_symbol_table): Likewise.
(som_bfd_print_private_bfd_data): Likewise.
(bfd_som_attach_aux_hdr): Likewise. Clear the padding.
(bfd_som_attach_compilation_unit): Likewise.
(som_bfd_count_ar_symbols): Likewise.
(som_bfd_fill_in_ar_symbols): Likewise.
(som_slurp_armap): Likewise.
(som_bfd_ar_write_symbol_stuff): Likewise.
(som_write_armap): Likewise. Use _bfd_ar_spacepad instead of
sprintf to write header fields.
* som.h: Include bfd headers instead of system one.
(FILE_HDR_SIZE, AUX_HDR_SIZE): Removed.
(struct somdata): Use bfd structures instead of system ones.
(struct som_section_data_struct): Likewise.
(struct som_subspace_dictionary_record): Removed (now in
include/som/internal.h)
gas/
2010-06-10 Tristan Gingold <gingold@adacore.com>
* config/obj-som.h: Includes som/reloc.h
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 8 | ||||
-rw-r--r-- | gas/config/obj-som.h | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2bc3ad0..92baff2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2010-06-10 Tristan Gingold <gingold@adacore.com> + + * config/obj-som.h: Includes som/reloc.h + 2010-06-10 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (cpu_arch): Add comment. @@ -6,10 +10,10 @@ 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum + * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum value. (parse_operands): Add support for OP_RRnpctw. - (insns): Update floating-point load/store multiples so the + (insns): Update floating-point load/store multiples so the first register is of type OP_RRnpctw. 2010-06-08 Quentin Neill <quentin.neill@amd.com> diff --git a/gas/config/obj-som.h b/gas/config/obj-som.h index 65b36f9..9fac3c2 100644 --- a/gas/config/obj-som.h +++ b/gas/config/obj-som.h @@ -28,6 +28,7 @@ #define OBJ_SOM 1 #include "bfd/som.h" +#include "som/reloc.h" #include "targ-cpu.h" #ifndef FALSE |