projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more const type qualifiers to GAS sources.
[deliverable/binutils-gdb.git]
/
gas
/
frags.c
diff --git
a/gas/frags.c
b/gas/frags.c
index cd3e990fab458f4d4483039ad17654460e69e98c..9ff577fc633a1334f4ff113edf4ac4fca0d49903 100644
(file)
--- a/
gas/frags.c
+++ b/
gas/frags.c
@@
-176,7
+176,7
@@
frag_new (size_t old_frags_var_max_size
gas_assert (former_last_fragP == frag_now);
frag_now = frag_alloc (&frchP->frch_obstack);
gas_assert (former_last_fragP == frag_now);
frag_now = frag_alloc (&frchP->frch_obstack);
-
as_where (&frag_now->fr_file,
&frag_now->fr_line);
+
frag_now->fr_file = as_where (
&frag_now->fr_line);
/* Generally, frag_now->points to an address rounded up to next
alignment. However, characters will add to obstack frags
/* Generally, frag_now->points to an address rounded up to next
alignment. However, characters will add to obstack frags
@@
-237,7
+237,7
@@
frag_var_init (relax_stateT type, size_t max_chars, size_t var,
#ifdef TC_FRAG_INIT
TC_FRAG_INIT (frag_now);
#endif
#ifdef TC_FRAG_INIT
TC_FRAG_INIT (frag_now);
#endif
-
as_where (&frag_now->fr_file,
&frag_now->fr_line);
+
frag_now->fr_file = as_where (
&frag_now->fr_line);
frag_new (max_chars);
}
frag_new (max_chars);
}
This page took
0.023066 seconds
and
4
git commands to generate.