- Fix gcc glitch with mremap and IMA.   For -combine, make sure that we don't pollute our non-varargs mremap decl   with some vararg decl from later in the TU by putting ours after anybody   else who is picking up mman.h.   This is admittedly a small work-around..
- Fix gcc glitch with mremap and IMA.
  For -combine, make sure that we don't pollute our non-varargs mremap decl
  with some vararg decl from later in the TU by putting ours after anybody
  else who is picking up mman.h.
  This is admittedly a small work-around..

smallish testcase:

$ cat bug.h
extern void *mremap (void*, unsigned, unsigned, int, ...);
$ cat bug1.c
#include "bug.h"
int whatever;
$ cat bug2.c
#define mremap _hidemremap
#include "bug.h"
#undef mremap
void *mremap (void*, unsigned, unsigned, int, void*);
$ gcc -c bug1.c bug2.c
$ gcc -c bug1.c bug2.c -combine
bug2.c:4: error: conflicting types for ‘mremap’
bug.h:1: error: previous declaration of ‘mremap’ was here


czankel/xtensa-uclibc,OpenInkpot-archive/iplinux-uclibc,skristiansson/uClibc-or1k,atgreen/uClibc-moxie,ndmsystems/uClibc,mephi42/uClibc,gittup/uClibc,kraj/uclibc-ng,skristiansson/uClibc-or1k,ysat0/uClibc,majek/uclibc-vx32,ffainelli/uClibc,wbx-github/uclibc-ng,ffainelli/uClibc,wbx-github/uclibc-ng,hwoarang/uClibc,kraj/uClibc,kraj/uclibc-ng,majek/uclibc-vx32,brgl/uclibc-ng,czankel/xtensa-uclibc,brgl/uclibc-ng,m-labs/uclibc-lm32,skristiansson/uClibc-or1k,kraj/uClibc,kraj/uClibc,brgl/uclibc-ng,wbx-github/uclibc-ng,m-labs/uclibc-lm32,hjl-tools/uClibc,wbx-github/uclibc-ng,ndmsystems/uClibc,groundwater/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,ddcc/klee-uclibc-0.9.33.2,waweber/uclibc-clang,OpenInkpot-archive/iplinux-uclibc,mephi42/uClibc,kraj/uclibc-ng,OpenInkpot-archive/iplinux-uclibc,foss-for-synopsys-dwc-arc-processors/uClibc,groundwater/uClibc,czankel/xtensa-uclibc,hjl-tools/uClibc,mephi42/uClibc,m-labs/uclibc-lm32,ysat0/uClibc,brgl/uclibc-ng,ffainelli/uClibc,ysat0/uClibc,ndmsystems/uClibc,majek/uclibc-vx32,ffainelli/uClibc,gittup/uClibc,groundwater/uClibc,hjl-tools/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,groundwater/uClibc,groundwater/uClibc,atgreen/uClibc-moxie,gittup/uClibc,OpenInkpot-archive/iplinux-uclibc,waweber/uclibc-clang,hjl-tools/uClibc,gittup/uClibc,ndmsystems/uClibc,foss-xtensa/uClibc,foss-xtensa/uClibc,atgreen/uClibc-moxie,m-labs/uclibc-lm32,atgreen/uClibc-moxie,waweber/uclibc-clang,foss-xtensa/uClibc,mephi42/uClibc,kraj/uClibc,ysat0/uClibc,kraj/uclibc-ng,hwoarang/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,ddcc/klee-uclibc-0.9.33.2,hwoarang/uClibc,waweber/uclibc-clang,foss-xtensa/uClibc,hwoarang/uClibc,czankel/xtensa-uclibc,ddcc/klee-uclibc-0.9.33.2,ddcc/klee-uclibc-0.9.33.2,majek/uclibc-vx32,ffainelli/uClibc,skristiansson/uClibc-or1k,hjl-tools/uClibc