Changes between Initial Version and Version 1 of Ticket #10402, comment 9


Ignore:
Timestamp:
Jan 13, 2014, 1:00:00 PM (11 years ago)
Author:
js

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10402, comment 9

    initial v1  
    1 Dropping static from patch 3 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.
     1Dropping 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.
    22
    33As 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.