Talk:Data segment

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated Stub-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.

Unnamed section[edit]

I'm not 100% sure about the Rodata thing, and from all the extensive research I've done, there seems to be a lot of differences between the various systems. Can anyone find a better/more general way of saying that? --EatMyShortz 14:30, 16 Apr 2005 (UTC)

Picture Needed[edit]

Can anyone draw a picture to explain the difference between .bss/.data/.code segment? Thanks in adavance! Visame (talk) 06:29, 8 June 2008 (UTC)

This article is heavily broken[edit]

  • It starts out with "In the PC Architecture", but segments / sections are defined by the platform (Linux / BSD / Windows) and not by the architecture (x86 PC / PowerPC / ARM).
  • The article only has one reference, which is some HOWTO on embedded programming. It would be very easy to find a much better reference, such as the ELF specification or an operating systems / compilers book.
  • The article's only reference contradicts the information in the article. Search for the word "segment" in the reference, you won't find it. The reference mentions several *sections* however, such as the .data and .rodata sections.
  • The article has a tone that is too informal for an Encyclopedia.
  • The article inconsistently refers to the data segment as a "section" or a "segment". The two terms have distinct technical meanings on ELF: a segment is a collection of sections loaded as a group. (talk) 05:32, 17 June 2011 (UTC)

I second that ! also to add to the list :
  • malloc and free are not system calls at all. sbrk is a system call. nobody calls it directly. malloc is libc. Lightness1024-- (talk) 03:35, 16 June 2014 (UTC)

Assembly vs C problem[edit]

Could someone please define more precise what in the article text that is concidered wrong or doubtful. It seems to me that some assembly programmer and an other c programmer cannot agree. It must be remembered that the artcle is about memory as such, not PC or PC-memory. (talk) 22:27, 30 July 2012 (UTC)