[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] [PATCH 00/11] Add support for AArch64
From: |
Will Newton |
Subject: |
[Gcl-devel] [PATCH 00/11] Add support for AArch64 |
Date: |
Wed, 11 Jun 2014 17:27:13 +0100 |
This patch series allows building gcl on AArch64. The series is ordered
roughly in order of patch quality, with the final patch being a hack
to #ifdef out some x86 code that presumably should be #ifdefed in a
more subtle manner.
Most of the patches are not AArch64 specific but are general issues that
I hit during the porting process. I was building with gcc 4.8 on Ubuntu
Trusty.
The port requires using --enable-dlopen --disable-custreloc as the
branch range on AArch64 is +/-128MB and the heap soon gets too large
to branch between the loaded code objects. The maxpage tweak was an
effort to avoid that issue but it just delayed the inevitable.
Will Newton (11):
config.{sub,guess}: Update to latest versions of GNU config
o/main.c: Ensure cs_org is always pointer aligned
Add support for AArch64
Reorder code to avoid problems with dis-asm.h defining DEFUN.
Always pass a va_list as the last arg of call_proc_new
Check for preceding NULL in find_init_name1
Fix handling of varargs in sSuniversal_error_handler
Handle dladdr failure correctly
Avoid looking up dynamic symbols in the executable
Reduce threshold for increasing maxpage
Hack to disable x86 floating point code
gcl/cmpnew/gcl_cmpcall.lsp | 4 +-
gcl/config.guess | 560 +++++++++++++++++++-------------------------
gcl/config.sub | 298 ++++++++++++++---------
gcl/configure | 19 +-
gcl/configure.in | 6 +-
gcl/h/aarch64-linux.h | 5 +
gcl/h/elf64_aarch64_reloc.h | 43 ++++
gcl/lsp/gcl_dl.lsp | 4 +-
gcl/o/alloc.c | 4 +-
gcl/o/cfun.c | 8 +-
gcl/o/cmpaux.c | 2 +-
gcl/o/error.c | 4 +-
gcl/o/main.c | 84 ++++---
gcl/o/usig.c | 4 +-
14 files changed, 561 insertions(+), 484 deletions(-)
mode change 100755 => 100644 gcl/config.guess
mode change 100755 => 100644 gcl/config.sub
create mode 100755 gcl/h/aarch64-linux.h
create mode 100644 gcl/h/elf64_aarch64_reloc.h
--
1.9.3
- [Gcl-devel] [PATCH 00/11] Add support for AArch64,
Will Newton <=
- [Gcl-devel] [PATCH 01/11] config.{sub, guess}: Update to latest versions of GNU config, Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 03/11] Add support for AArch64, Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 04/11] Reorder code to avoid problems with dis-asm.h defining DEFUN., Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 02/11] o/main.c: Ensure cs_org is always pointer aligned, Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 06/11] Check for preceding NULL in find_init_name1, Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 07/11] Fix handling of varargs in sSuniversal_error_handler, Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 05/11] Always pass a va_list as the last arg of call_proc_new, Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 10/11] Reduce threshold for increasing maxpage, Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 09/11] Avoid looking up dynamic symbols in the executable, Will Newton, 2014/06/11
- [Gcl-devel] [PATCH 08/11] Handle dladdr failure correctly, Will Newton, 2014/06/11