-Wstringop-truncation warnings
[deliverable/binutils-gdb.git] / include / coff / internal.h
index 1879ddc0a04df482e84e3ca029e197f35dd8d0f4..a8efedb7c430f89cf35a6b2425c8b1c3f2c7709c 100644 (file)
@@ -393,7 +393,7 @@ struct internal_aouthdr
 
 struct internal_scnhdr
 {
-  char s_name[SCNNMLEN];       /* section name                 */
+  char s_name[SCNNMLEN] ATTRIBUTE_NONSTRING;   /* section name */
 
   /* Physical address, aliased s_nlib.
      In the pei format, this field is the virtual section size
@@ -466,7 +466,7 @@ struct internal_syment
 {
   union
   {
-    char _n_name[SYMNMLEN];    /* old COFF version             */
+    char _n_name[SYMNMLEN] ATTRIBUTE_NONSTRING;        /* old COFF version     */
     struct
     {
       bfd_hostptr_t _n_zeroes; /* new == 0                     */
This page took 0.023955 seconds and 4 git commands to generate.