Mercurial > hg > CbC > CbC_gcc
comparison libmudflap/mf-hooks1.c @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
319 #if PIC | 319 #if PIC |
320 /* A special bootstrap variant. */ | 320 /* A special bootstrap variant. */ |
321 void * | 321 void * |
322 __mf_0fn_mmap (void *start, size_t l, int prot, int f, int fd, off_t off) | 322 __mf_0fn_mmap (void *start, size_t l, int prot, int f, int fd, off_t off) |
323 { | 323 { |
324 #if defined(__FreeBSD__) | |
325 if (f == 0x1000 && fd == -1 && prot == 0 && off == 0) | |
326 return 0; | |
327 #endif /* Ignore red zone allocation request for initial thread's stack. */ | |
328 | |
324 return (void *) -1; | 329 return (void *) -1; |
325 } | 330 } |
326 #endif | 331 #endif |
327 | 332 |
328 | 333 |