* frags.c (frag_offset_fixed_p): Constify args.

* frags.h (frag_offset_fixed_p): Ditto.
This commit is contained in:
Alan Modra 2006-04-18 09:58:26 +00:00
parent 23d9d9dee5
commit 6cbe03fb0f
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2006-04-18 Alan Modra <amodra@bigpond.net.au> 2006-04-18 Alan Modra <amodra@bigpond.net.au>
* frags.c (frag_offset_fixed_p): Constify args.
* frags.h (frag_offset_fixed_p): Ditto.
* config/tc-dlx.h (tc_coff_symbol_emit_hook): Delete. * config/tc-dlx.h (tc_coff_symbol_emit_hook): Delete.
(COFF_MAGIC): Delete. (COFF_MAGIC): Delete.

View File

@ -389,9 +389,9 @@ frag_append_1_char (int datum)
not already accounted for in the frag FR_ADDRESS. */ not already accounted for in the frag FR_ADDRESS. */
bfd_boolean bfd_boolean
frag_offset_fixed_p (fragS *frag1, fragS *frag2, bfd_vma *offset) frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, bfd_vma *offset)
{ {
fragS *frag; const fragS *frag;
bfd_vma off; bfd_vma off;
/* Start with offset initialised to difference between the two frags. /* Start with offset initialised to difference between the two frags.

View File

@ -148,6 +148,6 @@ char *frag_var (relax_stateT type,
offsetT offset, offsetT offset,
char *opcode); char *opcode);
bfd_boolean frag_offset_fixed_p (fragS *, fragS *, bfd_vma *); bfd_boolean frag_offset_fixed_p (const fragS *, const fragS *, bfd_vma *);
#endif /* FRAGS_H */ #endif /* FRAGS_H */