Eric Christopher
5eb2d2b094
2005-12-08 Wade Tregaskis <wtregaskis@apple.com>
...
* nasm/nasm/output/outmacho.c (struct section): Added "align" field.
(sectmap): Added ".rodata" section.
(exact_log2): New.
(macho_section): Added support for section attributes.
"align=" and "data" specifically.
(macho_write_segment): Write out section alignment to Mach-O file.
2005-12-09 00:27:26 +00:00
Eric Christopher
5547e191fe
2005-12-05 Eric Christopher <echristo@apple.com>
...
* nasm/nasm/output/outmacho.c (macho_write_section): Don't add
section offset to the symbol to be relocated.
(add_reloc): Update comment.
2005-12-05 23:17:17 +00:00
Eric Christopher
8e5abdeeb9
Allow CFLAGS to be overridden from make.
2005-10-20 19:46:34 +00:00
Eric Christopher
a485fbdd37
Added section attributes, in particular S_ATTR_SOME_INSTRUCTIONS and update .text.
...
Change symbols from saa to explicitly allocated.
macho_layout_symbols: new function to sort symbols and renumber.
adjust symtab output accordingly
fixup relocs after renumbering
add relocation debugging routines.
2005-10-07 22:30:56 +00:00
Eric Christopher
d3179b6ce0
Break macho_cleanup into separate functions.
2005-09-26 22:13:42 +00:00
Eric Christopher
5508a4c7fc
Run misc/Nindent on outmacho.c
2005-09-22 21:41:17 +00:00
Eric Christopher
1b8a72ae7c
Add basic support for Mach-O file format.
2005-09-22 21:22:33 +00:00
Frank Kotler
f3071da71e
fix outobj.c bug - every 256th extern crashed nasm
...
-
2005-06-08 16:41:10 +00:00
Frank Kotler
02f05cebba
Jindrich Novy's buffer overrun patch to outieee.c
...
-
2005-05-09 16:34:43 +00:00
Frank Kotler
9d8c22b202
add John Coffman's optimizer documentation
2005-03-10 02:03:11 +00:00
Frank Kotler
aa6c4b21b2
Update "version" to 0.98.40
2005-02-04 22:17:49 +00:00
Frank Kotler
8f1993b6d6
update my address in AUTHORS
2005-01-17 05:30:47 +00:00
H. Peter Anvin
e2c80181b6
Apply Nindent to all .c and .h files
2005-01-15 22:15:51 +00:00
H. Peter Anvin
5180bc8a59
Update dependencies
2005-01-14 23:05:31 +00:00
H. Peter Anvin
54d9da5efe
Fix comment
2005-01-14 23:03:42 +00:00
H. Peter Anvin
dbcf0089d6
Update to match SF changes
2005-01-14 22:57:03 +00:00
H. Peter Anvin
9d5a64f00f
Consistent capitalization
2005-01-14 22:56:01 +00:00
Frank Kotler
fd493aefe6
update "CHANGES"
2005-01-13 02:52:55 +00:00
H. Peter Anvin
25018e29e7
Dummy change to test CVS mail
2005-01-01 22:54:25 +00:00
Frank Kotler
c0e34d4f81
Document maximum identifier length
2004-12-31 03:38:32 +00:00
H. Peter Anvin
07d455120f
Script to format the source code in a standard format
2004-12-29 23:53:40 +00:00
H. Peter Anvin
aa19cc2372
Add ieee_ prefix to filenames with otherwise highly ambiguous names;
...
esp round() which is a standard C function.
2004-12-29 00:41:28 +00:00
Frank Kotler
c650b87792
Andreas Ericsson's patch to misc/nasm.sl
...
-
2004-12-21 18:06:22 +00:00
Ed Beroset
94d7fb01a6
Added "splint" as a target to simplify running splint on all sources.
2004-12-17 01:06:10 +00:00
Ed Beroset
184cef59d6
Placed guards around strdup declaration to avoid compiler errors on sane
...
systems.
2004-12-17 00:55:19 +00:00
Ed Beroset
64ab51965a
Added todo item to point out the somewhat tricky fact about snprintf's
...
return value.
2004-12-15 23:32:57 +00:00
Ed Beroset
a5d2945b7b
added checks for vsnprintf and snprintf (ISO C99) and changed gcc
...
compile flag from -ansi to -std=c99
2004-12-15 23:02:20 +00:00
Ed Beroset
258fcafe88
Corrected typo in variable name.
2004-12-15 23:00:13 +00:00
Ed Beroset
3ef4e4da04
changed last sprintf to more secure snprintf to prevent vulnerability to buffer
...
overflow exploits.
2004-12-15 18:30:54 +00:00
Ed Beroset
9234817aa4
changed sprintf to more secure snprintf to prevent vulnerability to buffer
...
overflow exploits.
2004-12-15 18:27:50 +00:00
Ed Beroset
602f1df356
added buffer length parameter to prevent vulnerability to buffer
...
overflow exploits.
2004-12-15 18:27:21 +00:00
Ed Beroset
b30ff1f284
added buffer length parameters to prevent vulnerability to buffer
...
overflow exploits.
2004-12-15 18:26:37 +00:00
Ed Beroset
fcc50aec8a
changed sprintf to more secure snprintf to prevent vulnerability to buffer
...
overflow exploits.
2004-12-15 18:03:20 +00:00
Ed Beroset
83b2809a03
changed sprintf to more secure snprintf to prevent vulnerability to buffer
...
overflow exploits.
2004-12-15 17:10:25 +00:00
Ed Beroset
19f927ac64
cleaned up most but not all sprintf() and vsprintf() calls to avoid
...
vulnerability to buffer overflow exploits.
2004-12-15 17:07:03 +00:00
Ed Beroset
ec2e10cfea
replaced vsprintf() with vsnprintf() to avoid buffer overflow exploit
2004-12-15 16:45:46 +00:00
Yuri Zaporogets
e0c059ab4e
outrdf2.c now uses the same definitions of RDOFF2 format that RDOFF utils.
...
Export/import/common label size is increased from 33 to 64. Fixed the bug
that caused wrong behavior of rdfgetheaderrec() if label length was 32.
Changed error codes from numeric values to symbolic constants.
Moved some routines from rdfdump.c to rdoff.c. They will be utilized also
by rdfdisasm, which is being developed.
2004-09-15 06:54:34 +00:00
Yuri Zaporogets
7549d14998
Removed old header that was once used by ldrdf.
2004-08-08 20:09:32 +00:00
Yuri Zaporogets
e3057fb65e
Include <string.h> to get rid of compiler warnings
2004-05-15 14:41:04 +00:00
Yuri Zaporogets
2e63b0d40d
Fix of the critical bug in ldrdf.c
2004-05-15 09:48:58 +00:00
Frank Kotler
7c4dada951
fix as86 .bss handling per John Coffman's patch
2004-04-25 02:57:00 +00:00
Frank Kotler
86f9e6a784
fix man page per Eric Raymond
2004-01-07 06:17:21 +00:00
Frank Kotler
6f7a5a60dc
Touch up docs
2003-12-12 07:54:15 +00:00
Frank Kotler
b4a1735c47
Update rdoff
2003-12-12 06:18:07 +00:00
Nickolay Yurchenko
f7956c4072
For compatibility with older code removed feature:
...
* Unterminated string auto termination.
2003-09-26 19:03:40 +00:00
Stanislav Karchebny
0a76a9e690
Backed out another patch =)
2003-09-26 04:20:30 +00:00
Stanislav Karchebny
d52236c00e
Revert erroneous macro added and modify __OUTPUT_FORMAT__ to a string const
2003-09-25 11:43:28 +00:00
Stanislav Karchebny
5e8f36611f
Consistency fix
2003-09-25 11:28:45 +00:00
Stanislav Karchebny
88a049aca1
Added _NASM_FORMAT_ macro
2003-09-24 10:30:56 +00:00
Nickolay Yurchenko
f3b3ce27bd
* Unterminated string auto termination.
...
* %(el)if(n)idn insensitivity to string quotes difference (#809300 ).
2003-09-21 20:38:43 +00:00