Talk:Data segment
| Computing Low‑importance | |||||||
| |||||||
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
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
- 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.
63.227.219.18 (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--124.35.138.250 (talk) 03:35, 16 June 2014 (UTC)
Assembly vs C problem
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. 83.249.42.164 (talk) 22:27, 30 July 2012 (UTC)