genode/repos/base-okl4
Norman Feske a0abb093ed Remove output-section fill from linker scripts
The linker scripts use to fill alignment gaps within the text section
with the magic value 0x90909090, which correponds to the opcodes of four
nop instructions on x86. This patch removes this value because it
apparently solves no problem. If, for some reason (e.g., due to a dangling
pointer) a thread executes instructions within alignment paddings, NOP
instructions are not any better than any other instruction. The program
will eventually execute the instructions after the padding, which is
most likely fatal. It would be more reasonable to fill the padding with
the opcode of an illegal instruction so that such an error can be
immediately detected. That said, I cannot remember a single instance,
where the fill value has helped us during debugging.

Even if the mechanism served a purpose on x86, it is still better to
remove it because it does not equally work on the other architectures
where the linker scripts are used. I.e., on ARM, the opcode 0x90909090
is not a NOP instruction.
2015-01-20 11:25:59 +01:00
..
contrib/generated Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
doc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
etc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
include base: introduce caching attributes (fix #1184) 2014-06-26 10:57:26 +02:00
lib/mk base: interface for D- and I-cache synchronization 2014-05-27 11:14:45 +02:00
mk okl4: consider elfweaver in cleanall rule 2014-07-09 16:26:06 +02:00
patches okl4: declare read-write-lock as volatile 2014-11-20 16:39:16 +01:00
ports Enable hash checks for ports mechanism 2014-05-27 13:45:03 +02:00
run okl4: fix success condition in priority test 2014-11-12 14:44:16 +01:00
src Remove output-section fill from linker scripts 2015-01-20 11:25:59 +01:00
tool Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
Makefile Enable hash checks for ports mechanism 2014-05-27 13:45:03 +02:00
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00

This repository contains the implementation of Genode for the OKL4
kernel version 2.1.  For further information, please refer to the
following documents:

:[http://genode.org/community/wiki/GenodeOnOKL4 - Genode on OKL4 Wiki page]:
  This Wiki page contains the information on how to build and use
  Genode with OKL4.

:[http://genode.org/documentation/articles/genode-on-okl4 - Bringing Genode to OKL4]:
  This article explains the OKL4-specific porting work.