[haiku-bugs] Re: [Haiku] #10402: [PATCHSET] Port kernel, bootloader and runtime_loader to Clang.

  • From: "js" <trac@xxxxxxxxxxxx>
  • Date: Mon, 13 Jan 2014 16:57:22 -0000

#10402: [PATCHSET] Port kernel, bootloader and runtime_loader to Clang.
---------------------------+----------------------------
   Reporter:  js           |      Owner:  nobody
       Type:  enhancement  |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:  - General    |    Version:  R1/Development
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:
Has a Patch:  1            |   Platform:  All
---------------------------+----------------------------

Comment (by js):

 Oh, so C++ automatically defines it as static if it's const? Anyway,
 adding that static there does not seem to hurt, I've created a little test
 case and it works.

 As for setting __dso_handle to 0: That woud mean it's in section .data and
 not .bss. Both links I gave seem to indicate that it's fine in section
 .bss. Why do you think it's necessary to move it to section .data?

--
Ticket URL: <http://dev.haiku-os.org/ticket/10402#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: