What is text.hot section in elf files ?

2006-02-05 Thread Sandeep Kumar
Hello everyone, While scrolling down the objdump of the code for /usr/bin/gcc, There is a section called text.hot section, which is normally not present on the elf files. What is that? is it something specific to /usr/bin/gcc only.How can be create such sections in our normal executables ? -- Reg

Problem with Trampolines initialization

2006-01-17 Thread Sandeep Kumar
Hello everyone, I have a doubt reagarding these trampolines, When i was going through the details in an atricle named GCC-INTERNALS, It said that we have a macro with the following name TRAMPOLINE_ADJUST_ADDRESS (addr). The explaination to it said that this is used mainly to perform any machine-s

[Bug glibc] Problem in configuring glibc

2006-01-07 Thread Sandeep Kumar
Hello everyone, I am trying to compile glibc2.3.5 on Red Hat 9.0(2.4.20-8) on a x86 machine with binutilies 2.16.1 installed on it but i am are getting an error : . checking for stdint.h... yes checking for unistd.h... yes checking for long double... yes checking size of long double... 12

problem with malloc in gcc-3.2.2

2005-11-20 Thread Sandeep Kumar
Hi all, int main () { int *p; int i; p = (int *) malloc (400 * sizeof (int)); for (i = 0; i < 512; i++) { p[i] = i; printf ("p[%d]: %d\n", i, p[i]); } return 0; } The following code should terminate with Segmentation fault, right ? But when I tried, it works even beyond the limits o