PR25882, .gnu.attributes are not checked for shared libraries
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elfvsb / elf-offset.ld
index 7c648247e7d8d428ce4d5ebc2d30ee30cdd707f8..b60861a8d81548932aba68a65067b163b0ca392d 100644 (file)
@@ -69,7 +69,7 @@ SECTIONS
     *(.text)
     *(.text.*)
     *(.stub)
-    /* .gnu.warning sections are handled specially by elf32.em.  */
+    /* .gnu.warning sections are handled specially by elf.em.  */
     *(.gnu.warning)
     *(.gnu.linkonce.t*)
   }
@@ -131,7 +131,7 @@ SECTIONS
    /* Align here to ensure that the .bss section occupies space up to
       _end.  Align after .bss to ensure correct alignment even if the
       .bss section disappears because there are no input sections.  */
-   . = ALIGN(32 / 8);
+   . = ALIGN(. != 0 ? 32 / 8 : 1);
   }
   . = ALIGN(32 / 8);
   _end = . ;
This page took 0.046055 seconds and 4 git commands to generate.