| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/yasm/; revision=2323
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2322
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't generate an additional offset for _GLOBAL_OFFSET_TABLE_ if a WRT was
specified (the NASM usage). In GAS, _GLOBAL_OFFSET_TABLE_ doesn't have a WRT
but instead has special handling.
This isn't quite *exactly* the right fix; a better fix would be to recognize
the _GLOBAL_OFFSET_TABLE_ case in the GAS parser and adjust the value
appropriately there. However, this fix seems to do the right thing in the
meantime for both GAS and NASM cases.
svn path=/trunk/yasm/; revision=2321
|
|
|
|
|
|
|
|
|
| |
Contributed by: Mathieu Monnier
nasm64developer has a more advanced 3-parameter version that will take
some time to integrate, so for now just provide the simpler version.
svn path=/trunk/yasm/; revision=2312
|
|
|
|
|
|
| |
Contributed by: Mathieu Monnier
svn path=/trunk/yasm/; revision=2311
|
|
|
|
|
|
|
|
|
|
|
| |
add new objfmt interface function init_new_section() to initialize as we
go.
This fixes several issues, primarily with debug formats that create sections.
Reported by: Brian Gladman
svn path=/trunk/yasm/; revision=2310
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2286
|
|
|
|
|
|
|
|
|
| |
It doesn't yet support the full set of macro types gas supports, but
can handle a lot of common cases.
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2285
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2283
|
|
|
|
|
|
|
|
| |
Uses the NASM parser for the .intel_syntax parsing heavy lifting.
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2279
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2278
|
|
|
|
|
|
|
|
|
|
|
| |
of the TASM "mode".
These code paths aren't used yet; they will be used for GAS .intel_syntax
handling.
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2277
|
|
|
|
|
|
|
|
|
| |
This is needed so that other parsers can get access to this structure without
naming conflicts.
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2276
|
|
|
|
|
|
| |
Contributed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2275
|
|
|
|
|
|
| |
Noticed by: Alexei Svitkine
svn path=/trunk/yasm/; revision=2274
|
|
|
|
|
|
|
|
| |
It's impossible for a decimal long string to be longer than 64 chars.
Also remove workaround for MSVC added in r2267.
svn path=/trunk/yasm/; revision=2273
|
|
|
|
|
|
|
|
| |
Also remove ltmain.sh as we no longer use libtool.
Patch submitted by: Roumen Petrov <bugtrack@roumenpetrov.info>
svn path=/trunk/yasm/; revision=2269
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2268
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2266
|
|
|
|
|
|
|
|
| |
The line number reported for the error is that of the .rept directive.
Contributed by: Alexei Svitkine <alexei.svitkine@gmail.com>
svn path=/trunk/yasm/; revision=2265
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2263
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2261
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Contributed by: Alexei Svitkine <alexei.svitkine@gmail.com>
Summary of changes:
- Correct line numbers will now be reported for warnings and errors
when using the GAS preprocessor
- GAS preprocessor will now replace defined (e.g. via .set) variables
by their values in lines returned to the parser
- GAS preprocessor will now handle multi-line comments correctly
- GAS preprocessor will now handle nested .rept directives correctly
svn path=/trunk/yasm/; revision=2260
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Contributed by: Alexei Svitkine <alexei.svitkine@gmail.com>
- yasm_linemap_set() now takes virtual_line as a parameter, instead of
always using linemap->current. If 0 is passed for the virtual_line,
then linemap->current is used, as before.
This is because linemap->current was only incremented by the parser
(and never decremented), so the preprocessor was not able to set
mappings during the preprocessing phase (whereas with these changes,
it now does).
Additionally, setting a mapping for a line number will now delete any
existing mappings for line numbers equal or greater to that line
number. This allows the code to correctly handle the case when the
preprocessor first sets mappings from pre-pp lines to post-pp lines,
and later those mappings getting superseded by .line directives in the
original source.
This change also required making a change to yasm_linemap_lookup() to
set *file_line to 0 when line is 0 (i.e. preventing line 0 - which
means "don't display line number in output" - from getting mapped).
svn path=/trunk/yasm/; revision=2259
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2258
|
|
|
|
|
|
| |
Reported by: Gil Dabah
svn path=/trunk/yasm/; revision=2257
|
|
|
|
|
|
| |
Reported by: Gil Dabah <arkon@ragestorm.net>
svn path=/trunk/yasm/; revision=2251
|
|
|
|
|
|
| |
preproc.
svn path=/trunk/yasm/; revision=2250
|
|
|
|
|
|
| |
Reported by: Gil Dabah <arkon@ragestorm.net>
svn path=/trunk/yasm/; revision=2249
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2247
|
|
|
|
|
|
|
|
|
| |
- Handle removal of comments during preprocessing
- Fix a bug with evaluation of nested .if/.else statements.
Contributed by: Alexei Svitkine <alexei.svitkine@gmail.com>
svn path=/trunk/yasm/; revision=2246
|
|
|
|
|
|
| |
Patch contributed by: Alexei Svitkine <alexei.svitkine@gmail.com>
svn path=/trunk/yasm/; revision=2245
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2244
|
|
|
|
|
|
|
|
|
|
| |
Support for include directive amongst other major key pieces.
Does not currently support macros.
Fixes #79.
Contributed by: Alexei Svitkine <alexei.svitkine@gmail.com>
svn path=/trunk/yasm/; revision=2243
|
|
|
|
|
|
| |
Patch by: Alexei Svitkine <alexei.svitkine@gmail.com>
svn path=/trunk/yasm/; revision=2242
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2240
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2239
|
|
|
|
|
|
|
|
|
|
| |
- Fix #193: ljmp/lcall not implemented; add 2-operand far jump to jmp/call.
- Add loop{,z,e} instruction suffixes
- Fix a bunch of jmp/call minor issues.
- Vastly improve suffix handling in general to make more consistent and make
a greater variety of no-suffix instructions work in a way that matches GAS.
svn path=/trunk/yasm/; revision=2238
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2237
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2236
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2232
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2226
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2224
|
|
|
|
|
|
|
| |
- Add tlsdesc and tlscall to both x86 and amd64.
- Add 64-bit pltoff, gotplt, gotoff to amd64.
svn path=/trunk/yasm/; revision=2210
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2209
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2208
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2207
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was particularly noticable in GAS, but there was also a bug in NASM
output (lack of fixup within instruction in elf32).
Also:
- changed ssym lookup from a linear search to using assocdata
- added more relocation types (most not implemented)
Reported by: Mark Charney
svn path=/trunk/yasm/; revision=2206
|
|
|
|
|
|
| |
The diff on the hexdump output was not using -w.
svn path=/trunk/yasm/; revision=2204
|
|
|
|
| |
svn path=/trunk/yasm/; revision=2203
|