Commit Graph

140 Commits

Author SHA1 Message Date
Luis Ibanez 75b15be585 Now dispatching to getframe or trans_code.
Still needs to reverse engineer the test condition.
2013-01-09 01:50:24 -05:00
Luis Ibanez d8fcd6cdb8 Following dm_start to mum_tstart. 2013-01-09 01:37:39 -05:00
Luis Ibanez 96df9b4710 Started implementing dm_start.c 2013-01-09 01:29:22 -05:00
Luis Ibanez 464e969389 Added two missing ARM assembly stubs. 2012-12-25 18:42:00 -05:00
Luis Ibanez 8ae5a3bf1a Added more ARM assembly stubs. 2012-12-25 16:49:12 -05:00
Luis Ibanez ef6a3005da Adding more ARM assembly stubs. 2012-12-25 16:37:09 -05:00
Luis Ibanez 394dc3222c Adding more ARM assembly stubs. 2012-12-25 16:17:51 -05:00
Luis Ibanez 9f9c04d609 Adding more ARM assembly stubs. 2012-12-25 16:05:18 -05:00
Luis Ibanez 852e9c22b1 Adding more ARM assembly stubs for op_ routines. 2012-12-25 15:48:51 -05:00
Luis Ibanez e6b3ddf829 Adding more ARM assembly stubs. 2012-12-25 15:17:35 -05:00
Luis Ibanez 4166b832c5 Added more ARM assembly stubs. 2012-12-25 15:08:23 -05:00
Luis Ibanez 5f2ef86c7a Added stubs for more ARM assembly files. 2012-12-25 14:49:00 -05:00
Luis Ibanez 78903f8fec Added skeleton to implement compswap.
The compswap function is implemented in native assembly.
Here we make the first steps to implement the function using the
ARM assembly.
2012-12-24 19:33:47 -05:00
Luis Ibanez cccb2c7535 Added case for __arm__ copying from i386.
The code was simply copy pasted at this point.
It needs to be reviewed and fixed in order to match the
actual required behavior in the ARM architecture.
2012-12-24 18:23:36 -05:00
Luis Ibanez ffbcca706c Added __arm__ as supported non-shared binary.
Just as we did in sr_unix/gtm_trigger.c
2012-12-24 17:40:18 -05:00
Luis Ibanez c542303eda Got ARM equivalent of the EIP register.
The Extended Instruction Pointer EIP, seems to be the equivalent
of the Program Counter PC register in the ARM architecture:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0274b/index.html

The list of ARM registers can be seen in the structure sigcontext
in the file:  /usr/include/arm-linux-gnueabihf/asm/sigcontext.h
2012-12-24 16:58:16 -05:00
Luis Ibanez 899ab884ca Logic for #defined __arm__ was incorrect.
It should have been paired with the __i386__ flag.
2012-12-24 16:18:03 -05:00
Luis Ibanez b4d54aa67d Adding ARM to list of non-shared binary platforms
By default only the i386 platform is supported for non-shared binaries.
Here we add ARM to the list. Which means that we will have to port to
ARM the implementation of the i386 architecture.
2012-12-24 16:06:43 -05:00
Luis Ibanez 9c1ea6e8c8 Added case for __arm__
The symbol defined by gcc is "__arm__", not "__arm".

This can be seen with the command:  cpp -dM < /dev/null
2012-12-24 15:57:43 -05:00
Luis Ibanez 94d996f81e Adding option for __arm.
Remains to be seen if the values inside are appropriate for ARM...
2012-12-24 15:40:12 -05:00
Luis Ibanez de89d5ae3f Adding .h files from sr_i386. 2012-12-24 15:33:04 -05:00
Luis Ibanez 6c3ea0fea2 Added a branch directory for ARM code. 2012-12-24 15:28:00 -05:00
Luis Ibanez 831df3bc61 Adding ARM to the list of platforms.
This is only the beggining...
2012-12-24 15:18:32 -05:00
Amul Shah 0eede9a40b Synchronize with upstream GT.M V6.0-000
Please refer to the release notes for more information about this
version.
http://tinco.pair.com/bhaskar/gtm/doc/articles/GTM_V6.0-000_Release_Notes.html

This commit includes all files from the x86 and x86_64 source tarballs,
including generated files.
2012-10-29 18:54:31 -04:00
Brad King 5f15eafe83 Describe source selection approach in comments 2012-10-04 14:35:01 -04:00
Brad King 487c514ebb Optionally generate bootstrap sources with existing mumps 2012-10-04 08:33:03 -04:00
Brad King c84d7bef82 Pre-compute gt_src_list entry directories and their contents
This will allow the list to contain locations other than the source
tree.
2012-10-04 08:27:06 -04:00
Brad King 1978075e29 Generation of merrors_ctl.c also produces merrors_ansi.h 2012-10-04 08:27:06 -04:00
Brad King 71aca86507 Move generation of files needing gtm 'mumps' up 2012-10-04 08:26:45 -04:00
Amul Shah 57f2d89669 BUG: GT.CM servers are built with_export 2012-07-03 16:48:55 -04:00
Amul Shah fcf79ab740 ENH: add shebang to the beginning of scripts 2012-07-03 13:16:35 -04:00
Amul Shah ab79a1f44b ENH: missed two files 2012-07-02 09:47:25 -04:00
Amul Shah 0246551a56 ENH: sources are not identical to the original V5.5-000 release 2012-07-01 22:36:30 -04:00
Amul Shah 8ec5ab7218 BUG: change memcpy to memmove 2012-06-29 16:34:26 -04:00
Amul Shah 4077ab87ab revert addition of GLD files to install directory
The configure script will generate this in the ultimate install
directory.
2012-06-21 12:20:37 -04:00
Amul Shah 89f3cc3b49 detect ICU on Debian wheezy
The ICU libraries are now located under
 /usr/lib/x86_64-linux-gnu
 /usr/lib/i386-linux-gnu
They were previously located under
 /usr/lib64
 /usr/lib32

The configure script runs a detection sequence that works for all
supported platforms.

Remove GTMHELP.o when deleting all built files
2012-06-21 11:58:03 -04:00
Brad King 949806c6a6 gen_xfer_desc does not run in 32-bit build 2012-06-21 11:02:44 -04:00
Brad King 0cd020d056 gtm_threadgbl_deftypes depends on xfer_desc 2012-06-21 10:59:37 -04:00
Brad King 33f1fdacf9 Generate xfer_desc.i with CMake code 2012-06-21 09:39:33 -04:00
Amul Shah bfc84d205b LC_ALL should be set by the calling shell
Read the blog post on http://www.mattfischer.com/blog/?p=105

M mode (aka ASCII) GT.M does not use LC_* while compiling

UTF-8 mode GT.M requires the correct locale setting for the compiler to
produce UTF-8 mode object files.
2012-06-20 17:22:41 -04:00
Amul Shah 57ef8ebf36 Add the GLD files to the install root
The Global Directories for the help databases were missing from the
install. zhelp would not work without these.
2012-06-20 17:08:42 -04:00
Amul Shah 4641966d63 Merge branch 'hackathonjune2012-brad' of https://github.com/luisibanez/fis-gtm into hackathonjune2012-brad
WIP : LC settings moved around for gtmgbldir setting

Conflicts:
	sr_unix/mumps.cmake
2012-06-20 16:58:19 -04:00
Amul Shah a20641dcc0 FIX: NONUTF8LOCALE and ICU versions above 4.8 2012-06-20 16:29:27 -04:00
Amul Shah 4657b4ff5a Do not GTMHELP.o
GTMHELP.o is called from sr_unix/op_zhelp_xfr.c. Deleting this file
renders zhelp inoperable.
2012-06-20 16:28:33 -04:00
Luis Ibanez 8dde79ed64 configure: Isolate UTF-8 env in a subshell
Do not leak LD_LIBRARY_PATH changes to rest of script.  They
break fakeroot and prevent subsequent commands like "chmod"
from working during debian package genaration.
2012-06-20 15:17:54 -04:00
Luis Ibanez e52750a2bf gtminstall: Always generate configure.sh from scratch
Previously it would append duplicate copies of configure on multiple runs.
2012-06-20 15:16:55 -04:00
Brad King 81e6aa8856 configure: Use literal '$gtm_dist/' in front of (gtm|gde)help.dat 2012-06-19 15:12:52 -04:00
Brad King 151c165eca Use literal '$gtm_dist/' in front of (gtm|gde)help.dat 2012-06-19 14:39:39 -04:00
Brad King eb42ac5565 Generate and install (gtm|gde)help.dat 2012-06-19 14:00:38 -04:00
Brad King 3b4bcd7e1f Do not create plugin/gtmcrypt/source.tar
It is up to configure or gtminstall to do this.  CMake should
just install the content.
2012-06-19 13:28:33 -04:00