Set maxpagesize for NTO targets to 4k
This commit is contained in:
parent
bcb9b88db6
commit
d0facd1b42
5 changed files with 21 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2003-07-12 Jeff Baker <jbaker@qnx.com>
|
||||
|
||||
* bfd/config.bfd (__QNXTARGET__): Define for Neutrino architectures.
|
||||
* bfd/elf32-arm.h (ELF_MAXPAGESIZE): Set to 4k for Neutrino.
|
||||
* bfd/elf32-sh.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino.
|
||||
* bfd/elf32-ppc.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino.
|
||||
|
||||
2003-07-12 Jeff Muizelaar <muizelaar@rogers.com>
|
||||
|
||||
* coffcode.h (coff_set_section_contents): Set the
|
||||
|
|
|
@ -155,6 +155,7 @@ case "${targ}" in
|
|||
targ_defvec=armnetbsd_vec
|
||||
targ_selvecs="bfd_elf32_littlearm_vec bfd_elf32_bigarm_vec"
|
||||
targ_underscore=yes
|
||||
targ_cflags=-D__QNXTARGET__
|
||||
;;
|
||||
arm-*-nto* | nto*arm*)
|
||||
targ_defvec=bfd_elf32_littlearm_vec
|
||||
|
|
|
@ -3699,7 +3699,11 @@ elf32_arm_final_write_processing (abfd, linker)
|
|||
|
||||
#define ELF_ARCH bfd_arch_arm
|
||||
#define ELF_MACHINE_CODE EM_ARM
|
||||
#ifdef __QNXTARGET__
|
||||
#define ELF_MAXPAGESIZE 0x1000
|
||||
#else
|
||||
#define ELF_MAXPAGESIZE 0x8000
|
||||
#endif
|
||||
|
||||
#define bfd_elf32_bfd_copy_private_bfd_data elf32_arm_copy_private_bfd_data
|
||||
#define bfd_elf32_bfd_merge_private_bfd_data elf32_arm_merge_private_bfd_data
|
||||
|
|
|
@ -6026,7 +6026,11 @@ ppc_elf_final_write_processing (bfd *abfd, bfd_boolean linker ATTRIBUTE_UNUSED)
|
|||
#define TARGET_BIG_NAME "elf32-powerpc"
|
||||
#define ELF_ARCH bfd_arch_powerpc
|
||||
#define ELF_MACHINE_CODE EM_PPC
|
||||
#ifdef __QNXTARGET__
|
||||
#define ELF_MAXPAGESIZE 0x1000
|
||||
#else
|
||||
#define ELF_MAXPAGESIZE 0x10000
|
||||
#endif
|
||||
#define elf_info_to_howto ppc_elf_info_to_howto
|
||||
|
||||
#ifdef EM_CYGNUS_POWERPC
|
||||
|
|
|
@ -7331,7 +7331,11 @@ elf32_shlin_grok_psinfo (abfd, note)
|
|||
#define TARGET_LITTLE_NAME "elf32-shl"
|
||||
#define ELF_ARCH bfd_arch_sh
|
||||
#define ELF_MACHINE_CODE EM_SH
|
||||
#define ELF_MAXPAGESIZE 128
|
||||
#ifdef __QNXTARGET__
|
||||
#define ELF_MAXPAGESIZE 0x1000
|
||||
#else
|
||||
#define ELF_MAXPAGESIZE 0x80
|
||||
#endif
|
||||
|
||||
#define elf_symbol_leading_char '_'
|
||||
|
||||
|
|
Loading…
Reference in a new issue