Define ELF_MAXPAGESIZE for all ELF based ports.

Produce an error message of ELF_MAXPAGESIZE is not defined.
This commit is contained in:
Nick Clifton 1999-06-04 12:45:07 +00:00
parent 4a54b4654d
commit 79e5982fed
6 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,12 @@
1999-06-04 Nick Clifton <nickc@cygnus.com>
* elfxx-target.h (ELF_MAXPAGESIZE): Produce an error message
if not defined.
* elf32-gen.c (ELF_MAXPAGESIZE): Define.
* elf32-i860.c (ELF_MAXPAGESIZE): Define.
* elf32-i960.c (ELF_MAXPAGESIZE): Define.
* elf64-gen.c (ELF_MAXPAGESIZE): Define.
1999-06-04 Ian Lance Taylor <ian@zembu.com>
* Makefile.am: Rebuild dependencies.

View File

@ -64,6 +64,7 @@ elf_generic_info_to_howto_rel (abfd, bfd_reloc, elf_reloc)
#define TARGET_BIG_NAME "elf32-big"
#define ELF_ARCH bfd_arch_unknown
#define ELF_MACHINE_CODE EM_NONE
#define ELF_MAXPAGESIZE 0x1
#define bfd_elf32_bfd_reloc_type_lookup bfd_default_reloc_type_lookup
#define elf_info_to_howto elf_generic_info_to_howto
#define elf_info_to_howto_rel elf_generic_info_to_howto_rel

View File

@ -25,9 +25,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define bfd_elf32_bfd_reloc_type_lookup bfd_default_reloc_type_lookup
#define elf_info_to_howto _bfd_elf_no_info_to_howto
#define TARGET_BIG_SYM bfd_elf32_i860_vec
#define TARGET_BIG_NAME "elf32-i860"
#define ELF_ARCH bfd_arch_i860
#define TARGET_BIG_SYM bfd_elf32_i860_vec
#define TARGET_BIG_NAME "elf32-i860"
#define ELF_ARCH bfd_arch_i860
#define ELF_MACHINE_CODE EM_860
#define ELF_MAXPAGESIZE 1 /* FIXME: This number is wrong, It should be the page size in bytes. */
#include "elf32-target.h"

View File

@ -163,5 +163,6 @@ elf32_i960_reloc_type_lookup (abfd, code)
#define TARGET_LITTLE_NAME "elf32-i960"
#define ELF_ARCH bfd_arch_i960
#define ELF_MACHINE_CODE EM_960
#define ELF_MAXPAGESIZE 1 /* FIXME: This number is wrong, It should be the page size in bytes. */
#include "elf32-target.h"

View File

@ -64,6 +64,7 @@ elf_generic_info_to_howto_rel (abfd, bfd_reloc, elf_reloc)
#define TARGET_BIG_NAME "elf64-big"
#define ELF_ARCH bfd_arch_unknown
#define ELF_MACHINE_CODE EM_NONE
#define ELF_MAXPAGESIZE 0x1
#define bfd_elf64_bfd_reloc_type_lookup bfd_default_reloc_type_lookup
#define elf_info_to_howto elf_generic_info_to_howto
#define elf_info_to_howto_rel elf_generic_info_to_howto_rel

View File

@ -201,9 +201,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define elf_info_to_howto_rel 0
#endif
/* The default here used to 1, but that is silly. Set it to 0x1000 instead. */
#ifndef ELF_MAXPAGESIZE
#define ELF_MAXPAGESIZE 0x1000
#error ELF_MAXPAGESIZE is not defined
#define ELF_MAXPAGESIZE 1
#endif
#ifndef elf_backend_collect