X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felf-linux-core.h;h=f64ff912dbeccb8d64bc4f7500b1bf34ff275e94;hb=bc754168c7c3fc64e40bb7ddd97ea1ad07fb32d2;hp=1183be3e2b545cec1a7e828cda963fd2a15b6e88;hpb=3c9a7b0d6d84425ea24d222a1a31e206e587374f;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf-linux-core.h b/bfd/elf-linux-core.h index 1183be3e2b..f64ff912db 100644 --- a/bfd/elf-linux-core.h +++ b/bfd/elf-linux-core.h @@ -1,5 +1,5 @@ /* Definitions for PRPSINFO structures under ELF on GNU/Linux. - Copyright (C) 2013-2017 Free Software Foundation, Inc. + Copyright (C) 2013-2019 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -45,8 +45,8 @@ struct elf_external_linux_prpsinfo32_ugid32 char pr_ppid[4]; char pr_pgrp[4]; char pr_sid[4]; - char pr_fname[16]; /* Filename of executable. */ - char pr_psargs[80]; /* Initial part of arg list. */ + char pr_fname[16] ATTRIBUTE_NONSTRING; /* Filename of executable. */ + char pr_psargs[80] ATTRIBUTE_NONSTRING; /* Initial part of arg list. */ }; /* Helper function to copy an elf_internal_linux_prpsinfo in host @@ -97,8 +97,8 @@ struct elf_external_linux_prpsinfo32_ugid16 char pr_ppid[4]; char pr_pgrp[4]; char pr_sid[4]; - char pr_fname[16]; /* Filename of executable. */ - char pr_psargs[80]; /* Initial part of arg list. */ + char pr_fname[16] ATTRIBUTE_NONSTRING; /* Filename of executable. */ + char pr_psargs[80] ATTRIBUTE_NONSTRING; /* Initial part of arg list. */ }; /* Helper function to copy an elf_internal_linux_prpsinfo in host @@ -150,8 +150,8 @@ struct elf_external_linux_prpsinfo64_ugid32 char pr_ppid[4]; char pr_pgrp[4]; char pr_sid[4]; - char pr_fname[16]; /* Filename of executable. */ - char pr_psargs[80]; /* Initial part of arg list. */ + char pr_fname[16] ATTRIBUTE_NONSTRING; /* Filename of executable. */ + char pr_psargs[80] ATTRIBUTE_NONSTRING; /* Initial part of arg list. */ }; /* Helper function to copy an elf_internal_linux_prpsinfo in host @@ -203,8 +203,8 @@ struct elf_external_linux_prpsinfo64_ugid16 char pr_ppid[4]; char pr_pgrp[4]; char pr_sid[4]; - char pr_fname[16]; /* Filename of executable. */ - char pr_psargs[80]; /* Initial part of arg list. */ + char pr_fname[16] ATTRIBUTE_NONSTRING; /* Filename of executable. */ + char pr_psargs[80] ATTRIBUTE_NONSTRING; /* Initial part of arg list. */ }; /* Helper function to copy an elf_internal_linux_prpsinfo in host