mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* config/tc-hppa.c: (update_subspace): Fix type and name of last
parameter. All callers fixed. (md_begin, pa_chk_field_selector, pa_entry): Lint.
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
Sat Nov 6 22:41:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
Sat Nov 6 22:41:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* config/tc-hppa.c: (update_subspace): Fix type and name of last
|
||||||
|
parameter. All callers fixed.
|
||||||
|
(md_begin, pa_chk_field_selector, pa_entry): Lint.
|
||||||
|
|
||||||
* config/tc-hppa.c (cons_fix_new_hppa): Reset field selector
|
* config/tc-hppa.c (cons_fix_new_hppa): Reset field selector
|
||||||
to default state after it's been used.
|
to default state after it's been used.
|
||||||
|
|
||||||
|
@ -594,7 +594,8 @@ static ssd_chain_struct * create_new_subspace PARAMS ((sd_chain_struct *,
|
|||||||
static ssd_chain_struct *update_subspace PARAMS ((sd_chain_struct *,
|
static ssd_chain_struct *update_subspace PARAMS ((sd_chain_struct *,
|
||||||
char *, char, char, char,
|
char *, char, char, char,
|
||||||
char, char, char, int,
|
char, char, char, int,
|
||||||
int, int, int, subsegT));
|
int, int, int,
|
||||||
|
asection *));
|
||||||
static sd_chain_struct *is_defined_space PARAMS ((char *));
|
static sd_chain_struct *is_defined_space PARAMS ((char *));
|
||||||
static ssd_chain_struct *is_defined_subspace PARAMS ((char *));
|
static ssd_chain_struct *is_defined_subspace PARAMS ((char *));
|
||||||
static sd_chain_struct *pa_segment_to_space PARAMS ((asection *));
|
static sd_chain_struct *pa_segment_to_space PARAMS ((asection *));
|
||||||
@ -1375,7 +1376,7 @@ cons_fix_new_hppa (frag, where, size, exp)
|
|||||||
void
|
void
|
||||||
md_begin ()
|
md_begin ()
|
||||||
{
|
{
|
||||||
char *retval = NULL;
|
const char *retval = NULL;
|
||||||
int lose = 0;
|
int lose = 0;
|
||||||
unsigned int i = 0;
|
unsigned int i = 0;
|
||||||
|
|
||||||
@ -1400,7 +1401,7 @@ md_begin ()
|
|||||||
while (i < NUMOPCODES)
|
while (i < NUMOPCODES)
|
||||||
{
|
{
|
||||||
const char *name = pa_opcodes[i].name;
|
const char *name = pa_opcodes[i].name;
|
||||||
retval = hash_insert (op_hash, name, &pa_opcodes[i]);
|
retval = hash_insert (op_hash, name, (struct pa_opcode *)&pa_opcodes[i]);
|
||||||
if (retval != NULL && *retval != '\0')
|
if (retval != NULL && *retval != '\0')
|
||||||
{
|
{
|
||||||
as_fatal ("Internal error: can't hash `%s': %s\n", name, retval);
|
as_fatal ("Internal error: can't hash `%s': %s\n", name, retval);
|
||||||
@ -3632,7 +3633,7 @@ pa_chk_field_selector (str)
|
|||||||
char **str;
|
char **str;
|
||||||
{
|
{
|
||||||
int selector;
|
int selector;
|
||||||
struct selector_entry *tablep;
|
const struct selector_entry *tablep;
|
||||||
|
|
||||||
selector = e_fsel;
|
selector = e_fsel;
|
||||||
|
|
||||||
@ -4694,7 +4695,7 @@ pa_entry (unused)
|
|||||||
fix_new_hppa (frag_now, where - frag_now->fr_literal, 0,
|
fix_new_hppa (frag_now, where - frag_now->fr_literal, 0,
|
||||||
last_call_info->start_symbol, (offsetT) 0, NULL,
|
last_call_info->start_symbol, (offsetT) 0, NULL,
|
||||||
0, R_HPPA_ENTRY, e_fsel, 0, 0,
|
0, R_HPPA_ENTRY, e_fsel, 0, 0,
|
||||||
&last_call_info->ci_unwind.descriptor);
|
(char *)&last_call_info->ci_unwind.descriptor);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -6073,7 +6074,7 @@ create_new_subspace (space, name, loadable, code_only, common,
|
|||||||
|
|
||||||
static ssd_chain_struct *
|
static ssd_chain_struct *
|
||||||
update_subspace (space, name, loadable, code_only, common, dup_common, sort,
|
update_subspace (space, name, loadable, code_only, common, dup_common, sort,
|
||||||
zero, access, space_index, alignment, quadrant, subseg)
|
zero, access, space_index, alignment, quadrant, section)
|
||||||
sd_chain_struct *space;
|
sd_chain_struct *space;
|
||||||
char *name;
|
char *name;
|
||||||
char loadable;
|
char loadable;
|
||||||
@ -6086,7 +6087,7 @@ update_subspace (space, name, loadable, code_only, common, dup_common, sort,
|
|||||||
int space_index;
|
int space_index;
|
||||||
int alignment;
|
int alignment;
|
||||||
int quadrant;
|
int quadrant;
|
||||||
subsegT subseg;
|
asection *section;
|
||||||
{
|
{
|
||||||
ssd_chain_struct *chain_entry;
|
ssd_chain_struct *chain_entry;
|
||||||
|
|
||||||
@ -6107,7 +6108,7 @@ update_subspace (space, name, loadable, code_only, common, dup_common, sort,
|
|||||||
chain_entry = NULL;
|
chain_entry = NULL;
|
||||||
|
|
||||||
#ifdef obj_set_subsection_attributes
|
#ifdef obj_set_subsection_attributes
|
||||||
obj_set_subsection_attributes (subseg, space->sd_seg, access,
|
obj_set_subsection_attributes (section, space->sd_seg, access,
|
||||||
sort, quadrant);
|
sort, quadrant);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user