static ssd_chain_struct *update_subspace PARAMS ((sd_chain_struct *,
char *, char, char, char,
char, char, char, int,
- int, int, int, subsegT));
+ int, int, int,
+ asection *));
static sd_chain_struct *is_defined_space PARAMS ((char *));
static ssd_chain_struct *is_defined_subspace PARAMS ((char *));
static sd_chain_struct *pa_segment_to_space PARAMS ((asection *));
void
md_begin ()
{
- char *retval = NULL;
+ const char *retval = NULL;
int lose = 0;
unsigned int i = 0;
while (i < NUMOPCODES)
{
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')
{
as_fatal ("Internal error: can't hash `%s': %s\n", name, retval);
char **str;
{
int selector;
- struct selector_entry *tablep;
+ const struct selector_entry *tablep;
selector = e_fsel;
fix_new_hppa (frag_now, where - frag_now->fr_literal, 0,
last_call_info->start_symbol, (offsetT) 0, NULL,
0, R_HPPA_ENTRY, e_fsel, 0, 0,
- &last_call_info->ci_unwind.descriptor);
+ (char *)&last_call_info->ci_unwind.descriptor);
}
#endif
static ssd_chain_struct *
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;
char *name;
char loadable;
int space_index;
int alignment;
int quadrant;
- subsegT subseg;
+ asection *section;
{
ssd_chain_struct *chain_entry;
chain_entry = NULL;
#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);
#endif