projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update email address for Palmer Dabbelt.
[deliverable/binutils-gdb.git]
/
binutils
/
srconv.c
diff --git
a/binutils/srconv.c
b/binutils/srconv.c
index 87c503d249f7a18f0f9261f76730c4ec69d650df..a421f642e0be73f99a051e1457fab7df607cb219 100644
(file)
--- a/
binutils/srconv.c
+++ b/
binutils/srconv.c
@@
-1,5
+1,5
@@
/* srconv.c -- Sysroff conversion program
/* srconv.c -- Sysroff conversion program
- Copyright (C) 1994-201
7
Free Software Foundation, Inc.
+ Copyright (C) 1994-201
9
Free Software Foundation, Inc.
This file is part of GNU Binutils.
This file is part of GNU Binutils.
@@
-419,14
+419,14
@@
wr_ob (struct coff_ofile *p ATTRIBUTE_UNUSED, struct coff_section *section)
unsigned char stuff[200];
i = 0;
unsigned char stuff[200];
i = 0;
- while (i < bfd_
get_
section_size (section->bfd_section))
+ while (i < bfd_section_size (section->bfd_section))
{
struct IT_ob ob;
int todo = 200; /* Copy in 200 byte lumps. */
ob.spare = 0;
{
struct IT_ob ob;
int todo = 200; /* Copy in 200 byte lumps. */
ob.spare = 0;
- if (i + todo > bfd_
get_
section_size (section->bfd_section))
- todo = bfd_
get_
section_size (section->bfd_section) - i;
+ if (i + todo > bfd_section_size (section->bfd_section))
+ todo = bfd_section_size (section->bfd_section) - i;
if (first)
{
if (first)
{
@@
-874,13
+874,14
@@
static void
walk_tree_type (struct coff_sfile *sfile, struct coff_symbol *symbol,
struct coff_type *type, int nest)
{
walk_tree_type (struct coff_sfile *sfile, struct coff_symbol *symbol,
struct coff_type *type, int nest)
{
- if (symbol->type->type == coff_function_type)
- {
- struct IT_dty dty;
+ struct IT_dty dty;
- dty.end = 0;
- dty.neg = 0x1001;
+ dty.spare = 0;
+ dty.end = 0;
+ dty.neg = 0x1001;
+ if (symbol->type->type == coff_function_type)
+ {
sysroff_swap_dty_out (file, &dty);
walk_tree_type_1 (sfile, symbol, type, nest);
dty.end = 1;
sysroff_swap_dty_out (file, &dty);
walk_tree_type_1 (sfile, symbol, type, nest);
dty.end = 1;
@@
-906,10
+907,6
@@
walk_tree_type (struct coff_sfile *sfile, struct coff_symbol *symbol,
}
else
{
}
else
{
- struct IT_dty dty;
-
- dty.end = 0;
- dty.neg = 0x1001;
sysroff_swap_dty_out (file, &dty);
walk_tree_type_1 (sfile, symbol, type, nest);
dty.end = 1;
sysroff_swap_dty_out (file, &dty);
walk_tree_type_1 (sfile, symbol, type, nest);
dty.end = 1;
This page took
0.03361 seconds
and
4
git commands to generate.