X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fnlm32-i386.c;h=7f68c6ce1a295aca1dcf1bcc1582f6088b5b368a;hb=c27e4edb52011c9f4bbdb141fb360c708a879f87;hp=c14c8174f3764bd07f5a9f4b1736849642c11f19;hpb=53e09e0aaf3d13e4b893744e2fe79edde7edfd20;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/nlm32-i386.c b/bfd/nlm32-i386.c index c14c8174f3..7f68c6ce1a 100644 --- a/bfd/nlm32-i386.c +++ b/bfd/nlm32-i386.c @@ -1,12 +1,11 @@ /* Support for 32-bit i386 NLM (NetWare Loadable Module) - Copyright 1993, 1994, 2000, 2001, 2002, 2003, 2005 - Free Software Foundation, Inc. + Copyright (C) 1993-2017 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. This program 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 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -16,10 +15,11 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02110-1301, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ -#include "bfd.h" #include "sysdep.h" +#include "bfd.h" #include "libbfd.h" #define ARCH_SIZE 32 @@ -232,7 +232,7 @@ nlm_i386_write_import (bfd * abfd, asection * sec, arelent * rel) static bfd_boolean nlm_i386_mangle_relocs (bfd *abfd, asection *sec, - const PTR data, + const void * data, bfd_vma offset, bfd_size_type count) { @@ -423,7 +423,7 @@ static const struct nlm_backend_data nlm32_i386_backend = }; #define TARGET_LITTLE_NAME "nlm32-i386" -#define TARGET_LITTLE_SYM nlmNAME (i386_vec) +#define TARGET_LITTLE_SYM i386_nlm32_vec #define TARGET_BACKEND_DATA & nlm32_i386_backend #include "nlm-target.h"