[parisc-linux] Re: [parisc-linux-cvs] linux-2.6 jejb
Randolph Chung
randolph at tausq.org
Thu Feb 5 02:20:28 MST 2004
> Modified files:
> arch/parisc/kernel: vmlinux.lds.S
> include/asm-parisc: uaccess.h
>
> Log message:
> Make the exception table writeable (so it can actually be sorted)
> and discard the interpreter section
jejb, this doesn't work for me..... in arch/parisc/mm/init.c we mark
everything from _stext to data_start as read-only, so i think we need
something like this:
Index: arch/parisc/kernel/vmlinux.lds.S
===================================================================
RCS file: /var/cvs/linux-2.6/arch/parisc/kernel/vmlinux.lds.S,v
retrieving revision 1.6
diff -u -p -r1.6 vmlinux.lds.S
--- arch/parisc/kernel/vmlinux.lds.S 4 Feb 2004 18:24:55 -0000 1.6
+++ arch/parisc/kernel/vmlinux.lds.S 5 Feb 2004 06:47:22 -0000
@@ -58,16 +58,17 @@ SECTIONS
_etext = .; /* End of text section */
+ RODATA
+
+ /* writeable */
+ data_start = .;
+
. = ALIGN(16); /* Exception table */
__start___ex_table = .;
__ex_table : { *(__ex_table) }
__stop___ex_table = .;
- RODATA
-
- /* writeable */
.data : { /* Data */
- data_start = .;
*(.data)
CONSTRUCTORS
}
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
More information about the parisc-linux
mailing list