diff options
author | Alan Modra <amodra@gmail.com> | 2022-04-03 21:34:53 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-04-03 21:34:53 +0930 |
commit | 9751574e09a4d66b569b019e8b1d87eba1ce3288 (patch) | |
tree | 7dad7135f0cb1fa91507b1c34661c2c94ca83192 /gdb/python | |
parent | 924cf858c94ebc3f54e1e2e0710099fb94e2c901 (diff) | |
download | binutils-9751574e09a4d66b569b019e8b1d87eba1ce3288.zip binutils-9751574e09a4d66b569b019e8b1d87eba1ce3288.tar.gz binutils-9751574e09a4d66b569b019e8b1d87eba1ce3288.tar.bz2 |
Move microblaze relax info to target specific data
Target specific data shouldn't be put in struct bfd_section.
* section.c (struct bfd_section): Delete relax and relax_count.
(BFD_FAKE_SECTION): Adjust to suit.
(struct relax_table): Move to..
* elf32-microblaze.c (struct relax_table): ..here.
(struct _microblaze_elf_section_data): New.
(microblaze_elf_section_data): Define.
(microblaze_elf_new_section_hook): New function.
(bfd_elf32_new_section_hook): Define.
(calc_fixup): Return a size_t. Adjust to suit new location of
relax and relax_count.
(microblaze_elf_relax_section): Adjust to suit new location of
relax and relax_count. Make some variables size_t.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions