diff options
author | Alan Modra <amodra@gmail.com> | 2006-04-18 09:58:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-04-18 09:58:26 +0000 |
commit | 6cbe03fb0f3c04045ba34bf58fc47fae2e859278 (patch) | |
tree | 447e141a319472ba8ff3de18e5115c8bd56e1f07 /gas | |
parent | 23d9d9dee518a2346bb66c50257869075b8bf348 (diff) | |
download | gdb-6cbe03fb0f3c04045ba34bf58fc47fae2e859278.zip gdb-6cbe03fb0f3c04045ba34bf58fc47fae2e859278.tar.gz gdb-6cbe03fb0f3c04045ba34bf58fc47fae2e859278.tar.bz2 |
* frags.c (frag_offset_fixed_p): Constify args.
* frags.h (frag_offset_fixed_p): Ditto.
Diffstat (limited to 'gas')
-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 a20316e..23945ea 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 b08ef50..adb9b19 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 8804467..66630db 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 */ |