You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/this-month/2022-12/index.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,23 @@ Please follow this template:
45
45
- (optional) Some additional context
46
46
-->
47
47
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
0 commit comments