Skip to content

Commit c9e43a3

Browse files
authored
Merge pull request #136 from phip1611/phip1611-blogposts
2022/12: phip1611 blogposts
2 parents 65d5cca + a7ddf4c commit c9e43a3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

content/this-month/2022-12/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,23 @@ Please follow this template:
4545
- (optional) Some additional context
4646
-->
4747

48+
- [Kernel/Boot: Cope with a Relocation by a Bootloader in 32-bit x86 Assembly Code](https://phip1611.de/blog/kernel-boot-cope-with-a-relocation-by-a-bootloader-in-32-bit-x86-assembly-code/) \
49+
In this blogpost, [@phip1611](https://github.com/phip1611) shows you how you can cope with a
50+
relocation by a bootloader in x86 32-bit assembly code.
51+
- [How Does the “File Size is Smaller Than Mem Size” Optimization Work in GNU ld for the .bss Section?](https://phip1611.de/blog/how-does-the-file-size-is-smaller-than-mem-size-optimization-work-in-gnu-ld/) \
52+
In this blogpost, [@phip1611](https://github.com/phip1611) explains what properties bring the GNU
53+
linker ld to save disk space, as symbols in the `.bss` section do not need to be statically
54+
allocated inside the ELF. Symbols in the `.bss` segment are expected to be initialized to all
55+
zeroes.
56+
- [GNU ld: Linking .bss into .data to Ensure that Mem Size Equals File Size For Each LOAD Segment (.bss in a PROGBITS Section)](https://phip1611.de/blog/linking-bss-into-data-to-ensure-the-mem-size-equals-file-size-for-each-load-segment-bss-in-a-progbits-section/) \
57+
In this blogpost, [@phip1611](https://github.com/phip1611) explains what steps you have to do
58+
that the GNU linker put's all symbols of the `.bss` section "as they are" into the binary
59+
so that they occupy zeroed memory in the ELF. This is relevant for some very rudimentary
60+
ELF loaders that are found in some microkernels to bootstrap their initial process.
61+
- [The Probably Simplest x86 Driver Written in Assembly – Printing to QEMU’s debugcon-Device)](https://phip1611.de/blog/the-probably-simplest-x86-driver-written-in-assembly-printing-to-qemus-debugcon-device/) \
62+
In this blogpost, [@phip1611](https://github.com/phip1611) codes with you probably the simplest
63+
driver that one can write in assembly. *This blogpost is from September but wasn't mentioned here
64+
earlier.*
4865

4966
## `rust-osdev` Projects
5067

0 commit comments

Comments
 (0)