mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
* config/tc-mips.c (pdr_seg): Define only for ELF.
(s_change_section): Remove unused variable. Don't use for nonELF.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
|
* config/tc-mips.c (pdr_seg): Define only for ELF.
|
||||||
|
(s_change_section): Remove unused variable. Don't use for nonELF.
|
||||||
|
|
||||||
2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
* config/obj-elf.c (obj_elf_change_section): Move prototype to
|
* config/obj-elf.c (obj_elf_change_section): Move prototype to
|
||||||
|
@ -956,10 +956,12 @@ static boolean imm_unmatched_hi;
|
|||||||
|
|
||||||
static boolean mips16_small, mips16_ext;
|
static boolean mips16_small, mips16_ext;
|
||||||
|
|
||||||
|
#ifdef OBJ_ELF
|
||||||
/* The pdr segment for per procedure frame/regmask info. Not used for
|
/* The pdr segment for per procedure frame/regmask info. Not used for
|
||||||
ECOFF debugging. */
|
ECOFF debugging. */
|
||||||
|
|
||||||
static segT pdr_seg;
|
static segT pdr_seg;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* The default target format to use. */
|
/* The default target format to use. */
|
||||||
|
|
||||||
@ -11258,8 +11260,7 @@ void
|
|||||||
s_change_section (ignore)
|
s_change_section (ignore)
|
||||||
int ignore ATTRIBUTE_UNUSED;
|
int ignore ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
expressionS rep_exp;
|
#ifdef OBJ_ELF
|
||||||
|
|
||||||
char *section_name;
|
char *section_name;
|
||||||
char c;
|
char c;
|
||||||
char *next_c;
|
char *next_c;
|
||||||
@ -11268,8 +11269,9 @@ s_change_section (ignore)
|
|||||||
int section_flag;
|
int section_flag;
|
||||||
int section_entry_size;
|
int section_entry_size;
|
||||||
int section_alignment;
|
int section_alignment;
|
||||||
int log = -1;
|
|
||||||
flagword flags;
|
if (OUTPUT_FLAVOR != bfd_target_elf_flavour)
|
||||||
|
return;
|
||||||
|
|
||||||
section_name = input_line_pointer;
|
section_name = input_line_pointer;
|
||||||
c = get_symbol_end ();
|
c = get_symbol_end ();
|
||||||
@ -11307,6 +11309,7 @@ s_change_section (ignore)
|
|||||||
|
|
||||||
obj_elf_change_section (section_name, section_type, section_flag,
|
obj_elf_change_section (section_name, section_type, section_flag,
|
||||||
section_entry_size, 0, 0, 0);
|
section_entry_size, 0, 0, 0);
|
||||||
|
#endif /* OBJ_ELF */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user