X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=bfd%2Fsparclinux.c;h=161640c9a36fcb88ed7b349fd0ecfeb53affc385;hb=5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0;hp=bb3cec9482747491099c8a3821b4d9dbbcef566e;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/sparclinux.c b/bfd/sparclinux.c index bb3cec9482..161640c9a3 100644 --- a/bfd/sparclinux.c +++ b/bfd/sparclinux.c @@ -1,5 +1,5 @@ /* BFD back-end for linux flavored sparc a.out binaries. - Copyright (C) 1992-2014 Free Software Foundation, Inc. + Copyright (C) 1992-2016 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -37,7 +37,7 @@ /* 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 (sparclinux_,OP) +#define MY(OP) CONCAT2 (sparc_aout_linux_,OP) #define TARGETNAME "a.out-sparc-linux" extern const bfd_target MY(vec); @@ -66,11 +66,11 @@ sparclinux_write_object_contents (bfd *abfd) struct external_exec exec_bytes; struct internal_exec *execp = exec_hdr (abfd); - N_SET_MACHTYPE (*execp, M_SPARC); + N_SET_MACHTYPE (execp, M_SPARC); obj_reloc_entry_size (abfd) = RELOC_STD_SIZE; - WRITE_HEADERS(abfd, execp); + WRITE_HEADERS (abfd, execp); return TRUE; } @@ -314,7 +314,7 @@ linux_add_one_symbol (struct bfd_link_info *info, 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