mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
*** empty log message ***
This commit is contained in:
parent
37a1fd96b7
commit
f61d204a35
@ -1864,7 +1864,7 @@ bfd_target ieee_vec =
|
|||||||
(HAS_RELOC | EXEC_P | /* object flags */
|
(HAS_RELOC | EXEC_P | /* object flags */
|
||||||
HAS_LINENO | HAS_DEBUG |
|
HAS_LINENO | HAS_DEBUG |
|
||||||
HAS_SYMS | HAS_LOCALS | DYNAMIC | WP_TEXT | D_PAGED),
|
HAS_SYMS | HAS_LOCALS | DYNAMIC | WP_TEXT | D_PAGED),
|
||||||
(SEC_CODE|SEC_DATA|SEC_ROM
|
(SEC_CODE|SEC_DATA|SEC_ROM|SEC_HAS_CONTENTS
|
||||||
|SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
|
|SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
|
||||||
0, /* valid reloc types */
|
0, /* valid reloc types */
|
||||||
' ', /* ar_pad_char */
|
' ', /* ar_pad_char */
|
||||||
|
@ -293,7 +293,8 @@ bfd *abfd;
|
|||||||
while (loop) {
|
while (loop) {
|
||||||
oasys_record_union_type record;
|
oasys_record_union_type record;
|
||||||
oasys_read_record(abfd, &record);
|
oasys_read_record(abfd, &record);
|
||||||
|
if (record.header.length < sizeof(record.header))
|
||||||
|
return (bfd_target *)NULL;
|
||||||
|
|
||||||
switch ((oasys_record_enum_type)(record.header.type)) {
|
switch ((oasys_record_enum_type)(record.header.type)) {
|
||||||
case oasys_record_is_header_enum:
|
case oasys_record_is_header_enum:
|
||||||
|
@ -40,7 +40,7 @@ extern bfd_target m88k_bcs_vec;
|
|||||||
bfd_target *target_vector[] =
|
bfd_target *target_vector[] =
|
||||||
{
|
{
|
||||||
#ifndef INTEL960VERSION
|
#ifndef INTEL960VERSION
|
||||||
&srec_vec,
|
|
||||||
|
|
||||||
#endif /* INTEL960VERSION */
|
#endif /* INTEL960VERSION */
|
||||||
&ieee_vec,
|
&ieee_vec,
|
||||||
@ -51,6 +51,6 @@ bfd_target *target_vector[] =
|
|||||||
&m88k_bcs_vec,
|
&m88k_bcs_vec,
|
||||||
&b_out_vec_big_host,
|
&b_out_vec_big_host,
|
||||||
&b_out_vec_little_host,
|
&b_out_vec_little_host,
|
||||||
|
&srec_vec,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user