projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
98d8248
)
make sanitize dtrt wrt v9
author
Ken Raeburn
<raeburn@cygnus>
Tue, 13 Jul 1993 18:39:22 +0000
(18:39 +0000)
committer
Ken Raeburn
<raeburn@cygnus>
Tue, 13 Jul 1993 18:39:22 +0000
(18:39 +0000)
bfd/elfcode.h
patch
|
blob
|
history
diff --git
a/bfd/elfcode.h
b/bfd/elfcode.h
index 581200b240a21dd25b3425a5d95d00dfa283199f..a3119d14e15afcfd1eec81265af2a05e06bcd073 100644
(file)
--- a/
bfd/elfcode.h
+++ b/
bfd/elfcode.h
@@
-1156,13
+1156,13
@@
DEFUN (elf_object_p, (abfd), bfd * abfd)
bfd_default_set_arch_mach (abfd, bfd_arch_sparc, 0);
break;
bfd_default_set_arch_mach (abfd, bfd_arch_sparc, 0);
break;
- /*
The "v9" comments are used by sanitize.
*/
+ /*
start-sanitize-v9
*/
case EM_SPARC64: /* v9 */
if (ebd->arch != bfd_arch_sparc) /* v9 */
goto wrong; /* v9 */
bfd_default_set_arch_mach (abfd, bfd_arch_sparc, 0); /* v9 */
break; /* v9 */
case EM_SPARC64: /* v9 */
if (ebd->arch != bfd_arch_sparc) /* v9 */
goto wrong; /* v9 */
bfd_default_set_arch_mach (abfd, bfd_arch_sparc, 0); /* v9 */
break; /* v9 */
- /* end
v9 stuff
*/
+ /* end
-sanitize-v9
*/
case EM_386:
if (ebd->arch != bfd_arch_i386)
case EM_386:
if (ebd->arch != bfd_arch_i386)
@@
-1963,11
+1963,11
@@
DEFUN (elf_compute_section_file_positions, (abfd), bfd * abfd)
break;
case bfd_arch_sparc:
i_ehdrp->e_machine = EM_SPARC;
break;
case bfd_arch_sparc:
i_ehdrp->e_machine = EM_SPARC;
- /*
the v9 comments are used by sanitize; keep them
*/
+ /*
start-sanitize-v9
*/
#if ARCH_SIZE == 64 /* v9 */
i_ehdrp->e_machine = EM_SPARC64; /* v9 */
#endif /* v9 */
#if ARCH_SIZE == 64 /* v9 */
i_ehdrp->e_machine = EM_SPARC64; /* v9 */
#endif /* v9 */
- /* end
v9 stuff
*/
+ /* end
-sanitize-v9
*/
break;
case bfd_arch_i386:
i_ehdrp->e_machine = EM_386;
break;
case bfd_arch_i386:
i_ehdrp->e_machine = EM_386;