projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RISC-V: Don't assume the priv attributes are in order when handling them.
[deliverable/binutils-gdb.git]
/
gas
/
write.c
diff --git
a/gas/write.c
b/gas/write.c
index 0a6f07aa07795df47f8c7e0aced35c1683a60664..9a50185b157b3a11998a1df2eda747f9d5f72fe8 100644
(file)
--- a/
gas/write.c
+++ b/
gas/write.c
@@
-1625,7
+1625,7
@@
write_contents (bfd *abfd ATTRIBUTE_UNUSED,
"to section %s of %s: '%s'",
(long) f->fr_fix),
(long) f->fr_fix,
"to section %s of %s: '%s'",
(long) f->fr_fix),
(long) f->fr_fix,
-
sec->name, stdoutput->filename
,
+
bfd_section_name (sec), bfd_get_filename (stdoutput)
,
bfd_errmsg (bfd_get_error ()));
offset += f->fr_fix;
}
bfd_errmsg (bfd_get_error ()));
offset += f->fr_fix;
}
@@
-1649,9
+1649,11
@@
write_contents (bfd *abfd ATTRIBUTE_UNUSED,
"in section %s of %s: '%s'",
"can't fill %ld bytes "
"in section %s of %s: '%s'",
"in section %s of %s: '%s'",
"can't fill %ld bytes "
"in section %s of %s: '%s'",
- (long) count), (long) count,
- sec->name, stdoutput->filename,
- bfd_errmsg (bfd_get_error ()));
+ (long) count),
+ (long) count,
+ bfd_section_name (sec),
+ bfd_get_filename (stdoutput),
+ bfd_errmsg (bfd_get_error ()));
offset += count;
free (buf);
}
offset += count;
free (buf);
}
@@
-1678,7
+1680,8
@@
write_contents (bfd *abfd ATTRIBUTE_UNUSED,
"in section %s of %s: '%s'",
(long) fill_size),
(long) fill_size,
"in section %s of %s: '%s'",
(long) fill_size),
(long) fill_size,
- sec->name, stdoutput->filename,
+ bfd_section_name (sec),
+ bfd_get_filename (stdoutput),
bfd_errmsg (bfd_get_error ()));
offset += fill_size;
}
bfd_errmsg (bfd_get_error ()));
offset += fill_size;
}
@@
-1714,7
+1717,8
@@
write_contents (bfd *abfd ATTRIBUTE_UNUSED,
"in section %s of %s: '%s'",
(long) (n_per_buf * fill_size)),
(long) (n_per_buf * fill_size),
"in section %s of %s: '%s'",
(long) (n_per_buf * fill_size)),
(long) (n_per_buf * fill_size),
- sec->name, stdoutput->filename,
+ bfd_section_name (sec),
+ bfd_get_filename (stdoutput),
bfd_errmsg (bfd_get_error ()));
offset += n_per_buf * fill_size;
}
bfd_errmsg (bfd_get_error ()));
offset += n_per_buf * fill_size;
}
@@
-2936,7
+2940,7
@@
relax_segment (struct frag *segment_frag_root, segT segment, int pass)
case rs_org:
{
case rs_org:
{
-
address
T target = offset;
+
offset
T target = offset;
addressT after;
if (symbolP)
addressT after;
if (symbolP)
@@
-2956,7
+2960,7
@@
relax_segment (struct frag *segment_frag_root, segT segment, int pass)
/* Growth may be negative, but variable part of frag
cannot have fewer than 0 chars. That is, we can't
.org backwards. */
/* Growth may be negative, but variable part of frag
cannot have fewer than 0 chars. That is, we can't
.org backwards. */
- if (
address + fragP->fr_fix
> target)
+ if (
(offsetT) (address + fragP->fr_fix)
> target)
{
growth = 0;
{
growth = 0;
This page took
0.028924 seconds
and
4
git commands to generate.