This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
arm-nto-qnx support
- From: "Graeme Peterson" <gp at qnx dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 24 Jul 2002 11:30:50 -0400 (EDT)
- Subject: arm-nto-qnx support
Hi, all.
I am working on adding support for QNX6 for arm. One of the
few differences between our stuff and the default is that
QNX6's ELF_MAXPAGESIZE is 0x1000, and the default is 0x8000.
In our own cvs tree, I have set targ_cflags=-D__QNXTARGET__ in
bfd/config.bfd, and then in bfd/elf32-arm.c:
#ifdef __QNXTARGET__
#define ELF_MAXPAGESIZE 0x1000
#else
#define ELF_MAXPAGESIZE 0x8000
#endif
To do this right, should I set up a QNX6 bfd backend for arm
and just define ELF_MAXPAGESIZE as 0x1000 there? Or is there
a lighter weght way of getting it done?
Thanks.
GP