This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Add .jcr section mapping to xstormy16 linker scripts


Hi Guys,

  I am applying the patch below to add a mapping for the .jcr section
  to the linker scripts for the xstormy16 port.  The .jcr section
  records java classes which need to be registered at program start-up
  time.

Cheers
        Nick

ld/ChangeLog
2003-04-16  Nick Clifton  <nickc at redhat dot com>

	* scripttempl/xstormy16.sc: Add .jcr section mapping.

libgloss/ChangeLog
2003-04-16  Nick Clifton  <nickc at redhat dot com>

	* xstormy16/sim_high.ld: Add .jcr section mapping.
	* xstormy16/eva_stub.ld: Likewise.
	* xstormy16/eva_app.ld: Likewise.

Index: ld/scripttempl/xstormy16.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/xstormy16.sc,v
retrieving revision 1.3
diff -c -3 -p -w -r1.3 xstormy16.sc
*** ld/scripttempl/xstormy16.sc	14 Apr 2003 13:03:17 -0000	1.3
--- ld/scripttempl/xstormy16.sc	16 Apr 2003 11:50:18 -0000
*************** SECTIONS
*** 155,160 ****
--- 155,161 ----
    .rodata ${RELOCATING-0} : { *(.rodata) ${RELOCATING+*(.rodata.*)} ${RELOCATING+*(.gnu.linkonce.r.*)} } > ROM
    ${RELOCATING+${CTOR}}
    ${RELOCATING+${DTOR}}
+   .jcr : { KEEP (*(.jcr)) } > ROM
    .eh_frame : { KEEP (*(.eh_frame)) } > ROM
    .gcc_except_table : { *(.gcc_except_table) } > ROM
    .plt : { *(.plt) } > ROM

Index: libgloss/xstormy16/eva_app.ld
===================================================================
RCS file: /cvs/src/src/libgloss/xstormy16/eva_app.ld,v
retrieving revision 1.2
diff -c -3 -p -w -r1.2 eva_app.ld
*** libgloss/xstormy16/eva_app.ld	1 Feb 2002 18:00:41 -0000	1.2
--- libgloss/xstormy16/eva_app.ld	16 Apr 2003 11:50:23 -0000
*************** SECTIONS
*** 52,57 ****
--- 52,58 ----
    } > RAM
    .eh_frame : { KEEP (*(.eh_frame)) } > RAM
    .gcc_except_table : { *(.gcc_except_table) } > RAM
+   .jcr : { *(.jcr) } > RAM
    .plt : { *(.plt) } > RAM
    _edata = .;
    PROVIDE (edata = .);

Index: libgloss/xstormy16/eva_stub.ld
===================================================================
RCS file: /cvs/src/src/libgloss/xstormy16/eva_stub.ld,v
retrieving revision 1.2
diff -c -3 -p -w -r1.2 eva_stub.ld
*** libgloss/xstormy16/eva_stub.ld	15 Jan 2002 14:19:49 -0000	1.2
--- libgloss/xstormy16/eva_stub.ld	16 Apr 2003 11:50:23 -0000
*************** SECTIONS
*** 54,59 ****
--- 54,60 ----
    } > ROM
    .eh_frame : { KEEP (*(.eh_frame)) } > ROM
    .gcc_except_table : { *(.gcc_except_table) } > ROM
+   .jcr : { *(.jcr) } > ROM
    .plt : { *(.plt) } > ROM
    .text      :
    {

Index: libgloss/xstormy16/sim_high.ld
===================================================================
RCS file: /cvs/src/src/libgloss/xstormy16/sim_high.ld,v
retrieving revision 1.2
diff -c -3 -p -w -r1.2 sim_high.ld
*** libgloss/xstormy16/sim_high.ld	1 Feb 2002 18:00:41 -0000	1.2
--- libgloss/xstormy16/sim_high.ld	16 Apr 2003 11:50:23 -0000
*************** SECTIONS
*** 73,78 ****
--- 73,79 ----
    } > LOROM
    .eh_frame : { KEEP (*(.eh_frame)) } > LOROM
    .gcc_except_table : { *(.gcc_except_table) } > LOROM
+   .jcr : { *(.jcr) } > LOROM
    .plt : { *(.plt) } > LOROM
    .text      :
    {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]