mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 12:09:49 +00:00
* readelf.c (process_section_headers): Add H8/300 support.
This commit is contained in:
parent
ebcfb3c00f
commit
0f56a26a9c
@ -1,3 +1,7 @@
|
||||
2006-06-29 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* readelf.c (process_section_headers): Add H8/300 support.
|
||||
|
||||
2006-06-23 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* objcopy.c (localize_hidden): New variable.
|
||||
|
@ -3971,6 +3971,23 @@ process_section_headers (FILE *file)
|
||||
&& find_section (".gcc_compiled_long32") == NULL)
|
||||
eh_addr_size = 8;
|
||||
break;
|
||||
|
||||
case EM_H8_300:
|
||||
case EM_H8_300H:
|
||||
switch (elf_header.e_flags & EF_H8_MACH)
|
||||
{
|
||||
case E_H8_MACH_H8300:
|
||||
case E_H8_MACH_H8300HN:
|
||||
case E_H8_MACH_H8300SN:
|
||||
case E_H8_MACH_H8300SXN:
|
||||
eh_addr_size = 2;
|
||||
break;
|
||||
case E_H8_MACH_H8300H:
|
||||
case E_H8_MACH_H8300S:
|
||||
case E_H8_MACH_H8300SX:
|
||||
eh_addr_size = 4;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
#define CHECK_ENTSIZE_VALUES(section, i, size32, size64) \
|
||||
|
Loading…
Reference in New Issue
Block a user