projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove sh5 and sh64 support
[deliverable/binutils-gdb.git]
/
bfd
/
m68klinux.c
diff --git
a/bfd/m68klinux.c
b/bfd/m68klinux.c
index a29cf2be508c09c78c767eab6debb7b3ba1e4669..eb0401ffa02d41cfc66781d51086757fffc89769 100644
(file)
--- a/
bfd/m68klinux.c
+++ b/
bfd/m68klinux.c
@@
-1,5
+1,5
@@
/* BFD back-end for linux flavored m68k a.out binaries.
/* BFD back-end for linux flavored m68k a.out binaries.
- Copyright (C) 1992-201
5
Free Software Foundation, Inc.
+ Copyright (C) 1992-201
8
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This file is part of BFD, the Binary File Descriptor library.
@@
-31,7
+31,7
@@
#include "aout/aout64.h"
#include "aout/stab_gnu.h"
#include "aout/ar.h"
#include "aout/aout64.h"
#include "aout/stab_gnu.h"
#include "aout/ar.h"
-#include "libaout.h"
/* BFD a.out internal data structures */
+#include "libaout.h" /* BFD a.out internal data structures */
#define TARGET_IS_BIG_ENDIAN_P
#define DEFAULT_ARCH bfd_arch_m68k
#define TARGET_IS_BIG_ENDIAN_P
#define DEFAULT_ARCH bfd_arch_m68k
@@
-69,11
+69,11
@@
m68klinux_write_object_contents (bfd *abfd)
struct external_exec exec_bytes;
struct internal_exec *execp = exec_hdr (abfd);
struct external_exec exec_bytes;
struct internal_exec *execp = exec_hdr (abfd);
- N_SET_MACHTYPE (
*
execp, M_68020);
+ N_SET_MACHTYPE (execp, M_68020);
obj_reloc_entry_size (abfd) = RELOC_STD_SIZE;
obj_reloc_entry_size (abfd) = RELOC_STD_SIZE;
- WRITE_HEADERS(abfd, execp);
+ WRITE_HEADERS
(abfd, execp);
return TRUE;
}
return TRUE;
}
@@
-416,15
+416,16
@@
linux_tally_symbols (struct linux_link_hash_entry *h,
alloc = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 1);
if (p == NULL || alloc == NULL)
alloc = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 1);
if (p == NULL || alloc == NULL)
-
(*_bfd_error_handler) (_("Output file requires shared library `%s'\n
"),
-
name);
+
_bfd_error_handler (_("output file requires shared library `%s'
"),
+ name);
else
{
strcpy (alloc, name);
p = strrchr (alloc, '_');
*p++ = '\0';
else
{
strcpy (alloc, name);
p = strrchr (alloc, '_');
*p++ = '\0';
- (*_bfd_error_handler)
- (_("Output file requires shared library `%s.so.%s'\n"),
+ _bfd_error_handler
+ /* xgettext:c-format */
+ (_("output file requires shared library `%s.so.%s'"),
alloc, p);
free (alloc);
}
alloc, p);
free (alloc);
}
@@
-612,8
+613,8
@@
linux_finish_dynamic_link (bfd *output_bfd, struct bfd_link_info *info)
if (f->h->root.root.type != bfd_link_hash_defined
&& f->h->root.root.type != bfd_link_hash_defweak)
{
if (f->h->root.root.type != bfd_link_hash_defined
&& f->h->root.root.type != bfd_link_hash_defweak)
{
- (*_bfd_error_handler)
- (_("
Symbol %s not defined for fixups\n
"),
+ _bfd_error_handler
+ (_("
symbol %s not defined for fixups
"),
f->h->root.root.root.string);
continue;
}
f->h->root.root.root.string);
continue;
}
@@
-660,8
+661,8
@@
linux_finish_dynamic_link (bfd *output_bfd, struct bfd_link_info *info)
if (f->h->root.root.type != bfd_link_hash_defined
&& f->h->root.root.type != bfd_link_hash_defweak)
{
if (f->h->root.root.type != bfd_link_hash_defined
&& f->h->root.root.type != bfd_link_hash_defweak)
{
- (*_bfd_error_handler)
- (_("
Symbol %s not defined for fixups\n
"),
+ _bfd_error_handler
+ (_("
symbol %s not defined for fixups
"),
f->h->root.root.root.string);
continue;
}
f->h->root.root.root.string);
continue;
}
@@
-685,7
+686,7
@@
linux_finish_dynamic_link (bfd *output_bfd, struct bfd_link_info *info)
if (linux_hash_table (info)->fixup_count != fixups_written)
{
if (linux_hash_table (info)->fixup_count != fixups_written)
{
-
(*_bfd_error_handler) (_("Warning: fixup count mismatch\n
"));
+
_bfd_error_handler (_("warning: fixup count mismatch
"));
while (linux_hash_table (info)->fixup_count > fixups_written)
{
bfd_put_32 (output_bfd, (bfd_vma) 0, fixup_table);
while (linux_hash_table (info)->fixup_count > fixups_written)
{
bfd_put_32 (output_bfd, (bfd_vma) 0, fixup_table);
This page took
0.029846 seconds
and
4
git commands to generate.