* scripttempl/elf.sc, scripttempl/elfd30v.sc,
authorRichard Henderson <rth@redhat.com>
Sun, 12 Aug 2001 20:19:49 +0000 (20:19 +0000)
committerRichard Henderson <rth@redhat.com>
Sun, 12 Aug 2001 20:19:49 +0000 (20:19 +0000)
        scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
        scripttempl/v850.sc: Keep .jcr data.

ld/ChangeLog
ld/scripttempl/elf.sc
ld/scripttempl/elfd30v.sc
ld/scripttempl/elfm68hc11.sc
ld/scripttempl/elfm68hc12.sc
ld/scripttempl/v850.sc

index f9974c37a4ce36a87d97bbfb9f6851cc462efeb9..ccf462f57615a1cdbbc386bbe3ed98fed591aaf5 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-12  Richard Henderson  <rth@redhat.com>
+
+       * scripttempl/elf.sc, scripttempl/elfd30v.sc,
+       scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
+       scripttempl/v850.sc: Keep .jcr data.
+
 2001-08-12  H.J. Lu  <hjl@gnu.org>
             Andrew Haley  <aph@cambridge.redhat.com>
             Nick Clifton  <nickc@redhat.com>
index 9c03dd6c3d73fe181a267149bff7a9964b032c30..c66be4b623ec96e7f3a8dcfb0b5a3a1a7b45e6ab 100644 (file)
@@ -312,6 +312,7 @@ SECTIONS
   ${TEXT_DYNAMIC-${DYNAMIC}}
   ${RELOCATING+${CTOR}}
   ${RELOCATING+${DTOR}}
+  .jcr : { KEEP (*(.jcr)) }
   ${DATA_PLT+${PLT}}
   ${RELOCATING+${OTHER_GOT_SYMBOLS}}
   .got         ${RELOCATING-0} : { *(.got.plt) *(.got) }
index 3b0a08a5ec2b87b811f533458b6d350fe0eec084..4c42585b6d617b2e760a53fa2bf20e53ef4e147c 100644 (file)
@@ -124,6 +124,9 @@ SECTIONS
   .eh_frame    ${RELOCATING-0} : { KEEP (*(.eh_frame)) }       ${RELOCATING+ > ${DATA_MEMORY}}
   .gcc_except_table ${RELOCATING-0} : { *(.gcc_except_table) } ${RELOCATING+ > ${DATA_MEMORY}}
 
+  /* Java class registration support.  */
+  .jcr         ${RELOCATING-0} : { KEEP (*(.jcr)) }    ${RELOCATING+ >${DATA_MEMORY}}
+
   ${RELOCATING+${CTOR}}
   ${RELOCATING+${DTOR}}
 
index 50183b5ee6e3e893fd47560383f1706b4a0fa423..f40e32c51168cbf28e545632e4fca6c26be7093f 100644 (file)
@@ -331,7 +331,7 @@ SECTIONS
 
   .eh_frame ${RELOCATING-0} :
   {
-    *(.eh_frame)
+    KEEP (*(.eh_frame))
   } ${RELOCATING+ > ${TEXT_MEMORY}}
 
   .rodata  ${RELOCATING-0} :
@@ -350,6 +350,11 @@ SECTIONS
   ${RELOCATING+${CTOR}}
   ${RELOCATING+${DTOR}}
 
+  .jcr ${RELOCATING-0} :
+  {
+    KEEP (*(.jcr))
+  } ${RELOCATING+ > ${TEXT_MEMORY}}
+
   /* Start of the data section image in ROM.  */
   ${RELOCATING+__data_image = .;}
   ${RELOCATING+PROVIDE (__data_image = .);}
index 546fe545f398bc6cea38975f6663f0fde9dabb5c..d7898bba5edc5dda905aaa3c3816fef73c4a0742 100644 (file)
@@ -331,7 +331,7 @@ SECTIONS
 
   .eh_frame ${RELOCATING-0} :
   {
-    *(.eh_frame)
+    KEEP (*(.eh_frame))
   } ${RELOCATING+ > ${TEXT_MEMORY}}
 
   .rodata  ${RELOCATING-0} :
@@ -350,6 +350,11 @@ SECTIONS
   ${RELOCATING+${CTOR}}
   ${RELOCATING+${DTOR}}
 
+  .jcr ${RELOCATING-0} :
+  {
+    KEEP (*(.jcr))
+  } ${RELOCATING+ > ${TEXT_MEMORY}}
+
   /* Start of the data section image in ROM.  */
   ${RELOCATING+__data_image = .;}
   ${RELOCATING+PROVIDE (__data_image = .);}
index 90731de8749470af2987944e96e1e1156a252431..12042782b8d9d260c15f38cc1a159eb961c05715 100644 (file)
@@ -115,6 +115,10 @@ SECTIONS
     KEEP (*crtend.o(.dtors))
     ${CONSTRUCTING+___dtors_end = .;}
   }
+  .jcr         :
+  {
+    KEEP (*(.jcr))
+  }
 
   .got         : { *(.got.plt) *(.got) }
   .dynamic     : { *(.dynamic) }