Changes between Version 1 and Version 2 of Ticket #10402, comment 9
- Timestamp:
- Jan 13, 2014, 1:00:26 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10402, comment 9
v1 v2 1 1 Dropping static from patch 3 would obviously cause linking errors, as every file including that .h would then emit that symbol. The static is very important here. It could be changed to a define, but the difference would only be that it is not typed anymore. 2 2 3 As for patch 6, it seems __dso_handleonly needs to be defined because only its address is used (see also http://www.lowlevel.eu/wiki/C%2B%2B and http://wiki.osdev.org/C%2B%2B). Initializing it would also move it from section .bss to section .data - that is not really desirable.3 As for patch 6, it seems `__dso_handle` only needs to be defined because only its address is used (see also http://www.lowlevel.eu/wiki/C%2B%2B and http://wiki.osdev.org/C%2B%2B). Initializing it would also move it from section .bss to section .data - that is not really desirable.