projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
bfd
/
i386linux.c
diff --git
a/bfd/i386linux.c
b/bfd/i386linux.c
index 33a680893d4548194a631f42a836f34fa584e7c4..6ca50c9fe4ff7f15e3d050d9921591bcaec65602 100644
(file)
--- a/
bfd/i386linux.c
+++ b/
bfd/i386linux.c
@@
-1,7
+1,5
@@
/* BFD back-end for linux flavored i386 a.out binaries.
/* BFD back-end for linux flavored i386 a.out binaries.
- Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2002, 2003,
- 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012
- Free Software Foundation, Inc.
+ Copyright (C) 1992-2016 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.
@@
-40,7
+38,7
@@
/* Do not "beautify" the CONCAT* macro args. Traditional C will not
remove whitespace added here, and thus will fail to concatenate
the tokens. */
/* Do not "beautify" the CONCAT* macro args. Traditional C will not
remove whitespace added here, and thus will fail to concatenate
the tokens. */
-#define MY(OP) CONCAT2 (i386linux_,OP)
+#define MY(OP) CONCAT2 (i386
_aout_
linux_,OP)
#define TARGETNAME "a.out-i386-linux"
extern const bfd_target MY(vec);
#define TARGETNAME "a.out-i386-linux"
extern const bfd_target MY(vec);
@@
-72,11
+70,11
@@
i386linux_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_386);
+ N_SET_MACHTYPE (execp, M_386);
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;
}
@@
-204,7
+202,7
@@
linux_link_hash_table_create (bfd *abfd)
struct linux_link_hash_table *ret;
bfd_size_type amt = sizeof (struct linux_link_hash_table);
struct linux_link_hash_table *ret;
bfd_size_type amt = sizeof (struct linux_link_hash_table);
- ret = (struct linux_link_hash_table *) bfd_
alloc (abfd,
amt);
+ ret = (struct linux_link_hash_table *) bfd_
zmalloc (
amt);
if (ret == (struct linux_link_hash_table *) NULL)
return (struct bfd_link_hash_table *) NULL;
if (!NAME(aout,link_hash_table_init) (&ret->root, abfd,
if (ret == (struct linux_link_hash_table *) NULL)
return (struct bfd_link_hash_table *) NULL;
if (!NAME(aout,link_hash_table_init) (&ret->root, abfd,
@@
-215,11
+213,6
@@
linux_link_hash_table_create (bfd *abfd)
return (struct bfd_link_hash_table *) NULL;
}
return (struct bfd_link_hash_table *) NULL;
}
- ret->dynobj = NULL;
- ret->fixup_count = 0;
- ret->local_builtins = 0;
- ret->fixup_list = NULL;
-
return &ret->root.root;
}
return &ret->root.root;
}
@@
-325,7
+318,7
@@
linux_add_one_symbol (struct bfd_link_info *info,
insert = FALSE;
insert = FALSE;
- if (!
info->relocatable
+ if (!
bfd_link_relocatable (info)
&& linux_hash_table (info)->dynobj == NULL
&& strcmp (name, SHARABLE_CONFLICTS) == 0
&& (flags & BSF_CONSTRUCTOR) != 0
&& linux_hash_table (info)->dynobj == NULL
&& strcmp (name, SHARABLE_CONFLICTS) == 0
&& (flags & BSF_CONSTRUCTOR) != 0
This page took
0.037051 seconds
and
4
git commands to generate.