diff options
author | Alan Modra <amodra@bigpond.net.au> | 2006-04-18 09:58:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2006-04-18 09:58:26 +0000 |
commit | 5406120ae3457b42e34e346224114e0adc1196b0 (patch) | |
tree | fcf26be73dd23366465017e02f17d38a20cdcb96 | |
parent | 917ab7eafd87bb6035efc6efbeffd919cdb7b411 (diff) | |
download | binutils-redhat-5406120ae3457b42e34e346224114e0adc1196b0.tar.gz |
* frags.c (frag_offset_fixed_p): Constify args.
* frags.h (frag_offset_fixed_p): Ditto.
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/frags.c | 4 | ||||
-rw-r--r-- | gas/frags.h | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a20316e819..23945ead5b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ 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. (COFF_MAGIC): Delete. diff --git a/gas/frags.c b/gas/frags.c index b08ef502cb..adb9b19863 100644 --- a/gas/frags.c +++ b/gas/frags.c @@ -389,9 +389,9 @@ frag_append_1_char (int datum) not already accounted for in the frag FR_ADDRESS. */ 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; /* Start with offset initialised to difference between the two frags. diff --git a/gas/frags.h b/gas/frags.h index 880446763a..66630dbd16 100644 --- a/gas/frags.h +++ b/gas/frags.h @@ -148,6 +148,6 @@ char *frag_var (relax_stateT type, offsetT offset, 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 */ |