diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-03-06 15:23:56 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-03-08 05:43:51 -0800 |
commit | 433b4f8ab7da82f4e8cecf4774722969ce330572 (patch) | |
tree | bf4c253c66f66c28b1906ab0b02f350280fe7a97 /bfd/vms-alpha.c | |
parent | dac0b8a4af48e1c5739a19cd5501c7a81bc44ab0 (diff) | |
download | gdb-433b4f8ab7da82f4e8cecf4774722969ce330572.zip gdb-433b4f8ab7da82f4e8cecf4774722969ce330572.tar.gz gdb-433b4f8ab7da82f4e8cecf4774722969ce330572.tar.bz2 |
bfd: Don't hard-code BFD_JUMP_TABLE_COPY
In BFD_JUMP_TABLE_COPY, replace _bfd_generic_init_private_section_data
with NAME##_init_private_section_data so that ELF targets can properly
replace it with _bfd_elf_init_private_section_data.
* aout-target.h (MY_init_private_section_data): New.
* coff-rs6000.c (_bfd_xcoff_init_private_section_data): New.
* coffcode.h (coff_init_private_section_data): New.
* elfxx-target.h (bfd_elfNN_init_private_section_data): New.
* libecoff.h (_bfd_ecoff_init_private_section_data): New.
* mach-o-target.c (bfd_mach_o_init_private_section_data): New.
* mmo.c (mmo_init_private_section_data): New.
* plugin.c (bfd_plugin_init_private_section_data): New.
* ppcboot.c (ppcboot_init_private_section_data): New.
* som.c (som_init_private_section_data): New.
* targets.c (BFD_JUMP_TABLE_COPY): Replace
_bfd_generic_init_private_section_data with
NAME##_init_private_section_data.
* vms-alpha.c (vms_init_private_section_data): New.
* elf-bfd.h (_bfd_generic_init_private_section_data): Removed.
* bfd-in2.h: Regenerated.
Diffstat (limited to 'bfd/vms-alpha.c')
-rw-r--r-- | bfd/vms-alpha.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index f5ecdcb..ace5a24 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -10129,6 +10129,7 @@ bfd_vms_get_data (bfd *abfd) #define vms_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data #define vms_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data +#define vms_init_private_section_data _bfd_generic_init_private_section_data #define vms_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data #define vms_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data #define vms_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data |