mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
Fixed testsuite macros/reloc.s failure.
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
start-sanitize-v850e
|
||||
* config/tc-v850.c (md_begin): Restore text section as the current
|
||||
section after creating call table sections.
|
||||
end-sanitize-v850e
|
||||
* config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
|
||||
code.
|
||||
|
||||
|
@ -489,7 +489,8 @@ v850_comm (area)
|
||||
scommon_section = subseg_new (".scommon", 0);
|
||||
|
||||
bfd_set_section_flags (stdoutput, scommon_section, applicable
|
||||
& (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_DATA | SEC_HAS_CONTENTS | SEC_IS_COMMON));
|
||||
& (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_DATA
|
||||
| SEC_HAS_CONTENTS) | SEC_IS_COMMON);
|
||||
}
|
||||
S_SET_SEGMENT (symbolP, scommon_section);
|
||||
break;
|
||||
@ -504,7 +505,8 @@ v850_comm (area)
|
||||
zcommon_section = subseg_new (".zcommon", 0);
|
||||
|
||||
bfd_set_section_flags (stdoutput, zcommon_section, applicable
|
||||
& (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_DATA | SEC_HAS_CONTENTS | SEC_IS_COMMON));
|
||||
& (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_DATA
|
||||
| SEC_HAS_CONTENTS) | SEC_IS_COMMON);
|
||||
}
|
||||
S_SET_SEGMENT (symbolP, zcommon_section);
|
||||
break;
|
||||
@ -519,7 +521,8 @@ v850_comm (area)
|
||||
tcommon_section = subseg_new (".tcommon", 0);
|
||||
|
||||
bfd_set_section_flags (stdoutput, tcommon_section, applicable
|
||||
& (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_DATA | SEC_HAS_CONTENTS | SEC_IS_COMMON));
|
||||
& (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_DATA
|
||||
| SEC_HAS_CONTENTS) | SEC_IS_COMMON);
|
||||
}
|
||||
S_SET_SEGMENT (symbolP, tcommon_section);
|
||||
break;
|
||||
@ -1449,6 +1452,9 @@ md_begin ()
|
||||
call_table_text_section = subseg_new (".call_table_text", 0);
|
||||
bfd_set_section_flags (stdoutput, call_table_text_section,
|
||||
applicable & (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE));
|
||||
|
||||
/* Restore text section as the current default. */
|
||||
subseg_set (text_section, 0);
|
||||
/* end-sanitize-v850e */
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user