projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify the ARNM assembler to accept the omission of the immediate argument for the...
[deliverable/binutils-gdb.git]
/
gas
/
config
/
obj-ecoff.c
diff --git
a/gas/config/obj-ecoff.c
b/gas/config/obj-ecoff.c
index c1d2c647f0f9bc4eb3939277f5d0f5100ef9f37a..d8e4f400d7ba1c08ca575d6e179d1ac9596633e2 100644
(file)
--- a/
gas/config/obj-ecoff.c
+++ b/
gas/config/obj-ecoff.c
@@
-1,6
+1,5
@@
/* ECOFF object file format.
/* ECOFF object file format.
- Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
- 2005 Free Software Foundation, Inc.
+ Copyright (C) 1993-2019 Free Software Foundation, Inc.
Contributed by Cygnus Support.
This file was put together by Ian Lance Taylor <ian@cygnus.com>.
Contributed by Cygnus Support.
This file was put together by Ian Lance Taylor <ian@cygnus.com>.
@@
-8,7
+7,7
@@
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version
2
, or (at your option)
+ the Free Software Foundation; either version
3
, or (at your option)
any later version.
GAS is distributed in the hope that it will be useful,
any later version.
GAS is distributed in the hope that it will be useful,
@@
-26,6
+25,7
@@
#include "coff/internal.h"
#include "bfd/libcoff.h"
#include "bfd/libecoff.h"
#include "coff/internal.h"
#include "bfd/libcoff.h"
#include "bfd/libecoff.h"
+#include "bfd/ecoff-bfd.h"
/* Almost all of the ECOFF support is actually in ecoff.c in the main
gas directory. This file mostly just arranges to call that one at
/* Almost all of the ECOFF support is actually in ecoff.c in the main
gas directory. This file mostly just arranges to call that one at
@@
-54,7
+54,7
@@
ecoff_frob_file_before_fix (void)
This output ordering of sections is magic, on the Alpha, at
least. The .lita section must come before .lit8 and .lit4,
otherwise the OSF/1 linker may silently trash the .lit{4,8}
This output ordering of sections is magic, on the Alpha, at
least. The .lita section must come before .lit8 and .lit4,
otherwise the OSF/1 linker may silently trash the .lit{4,8}
- section contents. Also, .text must prece
ed
.rdata. These differ
+ section contents. Also, .text must prece
de
.rdata. These differ
from the order described in some parts of the DEC OSF/1 Assembly
Language Programmer's Guide, but that order doesn't seem to work
with their linker.
from the order described in some parts of the DEC OSF/1 Assembly
Language Programmer's Guide, but that order doesn't seem to work
with their linker.
@@
-91,15
+91,15
@@
ecoff_frob_file_before_fix (void)
}
if (i == n_names)
{
}
if (i == n_names)
{
- bfd_set_section_vma (s
tdoutput, s
ec, addr);
- addr += bfd_section_size (s
tdoutput, s
ec);
+ bfd_set_section_vma (sec, addr);
+ addr += bfd_section_size (sec);
}
}
for (i = 0; i < n_names; i++)
if (secs[i])
{
}
}
for (i = 0; i < n_names; i++)
if (secs[i])
{
- bfd_set_section_vma (s
tdoutput, s
ecs[i], addr);
- addr += bfd_section_size (s
tdoutput, s
ecs[i]);
+ bfd_set_section_vma (secs[i], addr);
+ addr += bfd_section_size (secs[i]);
}
for (i = n_names - 1; i >= 0; i--)
if (secs[i])
}
for (i = n_names - 1; i >= 0; i--)
if (secs[i])
@@
-146,7
+146,7
@@
ecoff_frob_file (void)
char *set;
/* Build the ECOFF debugging information. */
char *set;
/* Build the ECOFF debugging information. */
- assert (ecoff_data (stdoutput) != 0);
+
gas_
assert (ecoff_data (stdoutput) != 0);
hdr = &ecoff_data (stdoutput)->debug_info.symbolic_header;
ecoff_build_debug (hdr, &buf, debug_swap);
hdr = &ecoff_data (stdoutput)->debug_info.symbolic_header;
ecoff_build_debug (hdr, &buf, debug_swap);
@@
-222,8
+222,8
@@
ecoff_separate_stab_sections (void)
relating to debugging information are supported here.
The following pseudo-ops from the Kane and Heinrich MIPS book
relating to debugging information are supported here.
The following pseudo-ops from the Kane and Heinrich MIPS book
- should be defined here, but are currently unsupported: .
aent
,
- .
bgnb, .
endb, .verstamp, .vreg.
+ should be defined here, but are currently unsupported: .
bgnb
,
+ .endb, .verstamp, .vreg.
The following pseudo-ops from the Kane and Heinrich MIPS book are
MIPS CPU specific, and should be defined by tc-mips.c: .alias,
The following pseudo-ops from the Kane and Heinrich MIPS book are
MIPS CPU specific, and should be defined by tc-mips.c: .alias,
@@
-254,6
+254,7
@@
const pseudo_typeS obj_pseudo_table[] =
{ "val", ecoff_directive_val, 0 },
/* ECOFF specific debugging information. */
{ "val", ecoff_directive_val, 0 },
/* ECOFF specific debugging information. */
+ { "aent", ecoff_directive_ent, 1 },
{ "begin", ecoff_directive_begin, 0 },
{ "bend", ecoff_directive_bend, 0 },
{ "end", ecoff_directive_end, 0 },
{ "begin", ecoff_directive_begin, 0 },
{ "bend", ecoff_directive_bend, 0 },
{ "end", ecoff_directive_end, 0 },
@@
-314,5
+315,7
@@
const struct format_ops ecoff_format_ops =
ecoff_pop_insert,
ecoff_set_ext,
ecoff_read_begin_hook,
ecoff_pop_insert,
ecoff_set_ext,
ecoff_read_begin_hook,
- ecoff_symbol_new_hook
+ ecoff_symbol_new_hook,
+ ecoff_symbol_clone_hook,
+ 0 /* adjust_symtab. */
};
};
This page took
0.026267 seconds
and
4
git commands to generate.