gdb: Convert language la_word_break_characters field to a method
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elfvsb / elf-offset.ld
index dfe429309a7486dac8aa666e4f660b917c831f0b..b60861a8d81548932aba68a65067b163b0ca392d 100644 (file)
@@ -46,6 +46,8 @@ SECTIONS
     }
   .rel.got       : { *(.rel.got)               }
   .rela.got      : { *(.rela.got)              }
+  .rel.toc       : { *(.rel.toc)               }
+  .rela.toc      : { *(.rela.toc)              }
   .rel.ctors     : { *(.rel.ctors)     }
   .rela.ctors    : { *(.rela.ctors)    }
   .rel.dtors     : { *(.rel.dtors)     }
@@ -58,6 +60,8 @@ SECTIONS
   .rela.bss      : { *(.rela.bss)              }
   .rel.plt       : { *(.rel.plt)               }
   .rela.plt      : { *(.rela.plt)              }
+  .rel.eh_frame  : { *(.rel.eh_frame)          }
+  .rela.eh_frame : { *(.rela.eh_frame)         }
   .init          : { KEEP (*(.init))   }
   .plt      : { *(.plt)        }
   .text      :
@@ -65,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*)
   }
@@ -109,6 +113,7 @@ SECTIONS
     KEEP (*(.dtors))
   }
   .got           : { *(.got.plt) *(.got) }
+  .toc           : { *(.toc) }
   .dynamic       : { *(.dynamic) }
   /* We want the small data sections together, so single-instruction offsets
      can access them all, and initialized data all before uninitialized, so
@@ -126,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.023763 seconds and 4 git commands to generate.