mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* som.c (som_bfd_reloc_type_lookup): Add missing prototype. Returns
a pointer to constant data. Delete bogus #define which made the function useless.
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
Sat Nov 13 15:27:15 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
Sat Nov 13 15:27:15 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* som.c (som_bfd_reloc_type_lookup): Add missing prototype. Returns
|
||||||
|
a pointer to constant data. Delete bogus #define which made the
|
||||||
|
function useless.
|
||||||
|
|
||||||
* som.c (som_prep_for_fixups): New function.
|
* som.c (som_prep_for_fixups): New function.
|
||||||
(som_write_fixups): New function.
|
(som_write_fixups): New function.
|
||||||
(som_write_space_strings): New function.
|
(som_write_space_strings): New function.
|
||||||
|
@ -175,6 +175,8 @@ static boolean som_write_symbol_strings PARAMS ((bfd *, unsigned long,
|
|||||||
asymbol **, unsigned int,
|
asymbol **, unsigned int,
|
||||||
unsigned *));
|
unsigned *));
|
||||||
static boolean som_begin_writing PARAMS ((bfd *));
|
static boolean som_begin_writing PARAMS ((bfd *));
|
||||||
|
static const reloc_howto_type * som_bfd_reloc_type_lookup
|
||||||
|
PARAMS ((bfd_arch_info_type *, bfd_reloc_code_real_type));
|
||||||
|
|
||||||
static reloc_howto_type som_hppa_howto_table[] =
|
static reloc_howto_type som_hppa_howto_table[] =
|
||||||
{
|
{
|
||||||
@ -909,7 +911,7 @@ hppa_som_gen_reloc_type (abfd, base_type, format, field)
|
|||||||
/* Return the address of the correct entry in the PA SOM relocation
|
/* Return the address of the correct entry in the PA SOM relocation
|
||||||
howto table. */
|
howto table. */
|
||||||
|
|
||||||
static reloc_howto_type *
|
static const reloc_howto_type *
|
||||||
som_bfd_reloc_type_lookup (arch, code)
|
som_bfd_reloc_type_lookup (arch, code)
|
||||||
bfd_arch_info_type *arch;
|
bfd_arch_info_type *arch;
|
||||||
bfd_reloc_code_real_type code;
|
bfd_reloc_code_real_type code;
|
||||||
@ -3094,8 +3096,6 @@ som_get_symbol_info (ignore_abfd, symbol, ret)
|
|||||||
bfd_generic_get_relocated_section_contents
|
bfd_generic_get_relocated_section_contents
|
||||||
#define som_bfd_relax_section bfd_generic_relax_section
|
#define som_bfd_relax_section bfd_generic_relax_section
|
||||||
#define som_bfd_seclet_link bfd_generic_seclet_link
|
#define som_bfd_seclet_link bfd_generic_seclet_link
|
||||||
#define som_bfd_reloc_type_lookup \
|
|
||||||
((CONST struct reloc_howto_struct *(*) PARAMS ((bfd *, bfd_reloc_code_real_type))) bfd_nullvoidptr)
|
|
||||||
#define som_bfd_make_debug_symbol \
|
#define som_bfd_make_debug_symbol \
|
||||||
((asymbol *(*) PARAMS ((bfd *, void *, unsigned long))) bfd_nullvoidptr)
|
((asymbol *(*) PARAMS ((bfd *, void *, unsigned long))) bfd_nullvoidptr)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user