index
:
users/hpa/segelf/samples.git
master
Test/sample code for 16-bit segmented code in ELF
H. Peter Anvin
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
Commit message (
Expand
)
Author
Age
Files
Lines
*
elf2exe: when adding the 32-bit relocation stub, check the stack
HEAD
master
H. Peter Anvin
2019-08-05
2
-19
/
+72
*
elf2exe: use putle() when updating cs:ip for the relocator stub
H. Peter Anvin
2019-08-05
1
-4
/
+4
*
elf2exe: verify limit on 32-bit relocations
H. Peter Anvin
2019-08-05
1
-0
/
+7
*
elf2exe: sort relocations
H. Peter Anvin
2019-08-05
1
-0
/
+14
*
macros.hs: add convenience define global macro
H. Peter Anvin
2019-08-02
1
-0
/
+6
*
Move macro package to its own file, macros.hs. It is generic.
H. Peter Anvin
2019-08-02
3
-62
/
+78
*
macros.s: handle HUGE sections
H. Peter Anvin
2019-08-02
2
-17
/
+69
*
With my most recent patch, gas can now generate SEG16 relocations
H. Peter Anvin
2019-07-29
3
-12
/
+29
*
rel32.asm: don't bother supporting more than 16,367 relocations
H. Peter Anvin
2019-07-29
1
-0
/
+5
*
rel32.asm: make smaller by using MUL
H. Peter Anvin
2019-07-29
1
-12
/
+3
*
Fix the computation optional memory requested
H. Peter Anvin
2019-07-29
2
-4
/
+8
*
exe.ld: allow programs to request optional memory
H. Peter Anvin
2019-07-29
1
-13
/
+18
*
Makefile: make debugging easier by omitting not-taken conditionals
H. Peter Anvin
2019-07-29
1
-1
/
+1
*
macros.s: show how macros can be used to implement most things
H. Peter Anvin
2019-07-28
2
-2
/
+124
*
testme.s: add a far text function for testing
H. Peter Anvin
2019-07-28
1
-3
/
+18
*
elf2exe: support generating a relocation stub if necessary
H. Peter Anvin
2019-07-28
4
-72
/
+139
*
elf2exe: fix computation of bssmem
H. Peter Anvin
2019-07-28
1
-5
/
+9
*
rel32.asm: add missing pop ax
H. Peter Anvin
2019-07-28
1
-0
/
+1
*
Makefile: build rel32.bin and convert it to a C file
H. Peter Anvin
2019-07-28
3
-3
/
+21
*
elf2exe: relocation stub for 32-bit absolute relocations (currently unused)
H. Peter Anvin
2019-07-28
1
-0
/
+89
*
file.c: don't lose READ_FILE on mmap failure
H. Peter Anvin
2019-07-28
1
-4
/
+9
*
file.c: fix writing to a non-mappable file
H. Peter Anvin
2019-07-28
1
-3
/
+3
*
Makefile: change from -O0 to -O2
H. Peter Anvin
2019-07-28
1
-1
/
+1
*
elf2exe: working elf2exe program
H. Peter Anvin
2019-07-28
8
-0
/
+1165
*
testme.s: don't generate a non-EXE-able relocation
H. Peter Anvin
2019-07-28
1
-1
/
+1
*
exe.ld: don't pick up relocation sections prematurely
H. Peter Anvin
2019-07-28
1
-12
/
+8
*
Makefile: link in psp.o
H. Peter Anvin
2019-07-28
1
-1
/
+2
*
Move PSP to -256, add PSP object, note that -q is only for debugging
H. Peter Anvin
2019-07-27
1
-0
/
+7
*
exe.ld: clean up and fix the dynamic tags
H. Peter Anvin
2019-07-27
1
-18
/
+12
*
com.ld: clean up indentation
H. Peter Anvin
2019-07-27
1
-23
/
+23
*
exe.ld: clean up indentation
H. Peter Anvin
2019-07-27
1
-66
/
+71
*
Use dynamic tags from the OS-specific space for additional info
H. Peter Anvin
2019-07-27
3
-22
/
+60
*
Add size checks, explain the nature of ___stack_size in .com
H. Peter Anvin
2019-07-27
2
-11
/
+12
*
Make -pie linking actually work; use ___start for initial symbol
H. Peter Anvin
2019-07-27
4
-20
/
+47
*
Set OUTPUT_ARCH to i8086, even though it doesn't seem to change anything
H. Peter Anvin
2019-07-27
2
-2
/
+2
*
.gitignore: a few more patterns
H. Peter Anvin
2019-07-27
1
-0
/
+7
*
exe.ld: document why PSP is at 0xfff00 instead of -256
H. Peter Anvin
2019-07-27
1
-0
/
+8
*
Produce actual .com files and add support for producing .exe files
H. Peter Anvin
2019-07-27
1
-3
/
+11
*
Makefile: don't delete files; no implict rules; fix .s -> .o rule
H. Peter Anvin
2019-07-27
1
-1
/
+7
*
Makefile: add make spotless
H. Peter Anvin
2019-07-27
1
-0
/
+3
*
Some initial sample code
H. Peter Anvin
2019-07-27
5
-0
/
+348