Lasse Collin
22af94128b
Add SPDX license identifier into 0BSD source code files.
2024-02-14 18:31:16 +02:00
Lasse Collin
689e0228ba
Change most public domain parts to 0BSD.
...
Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt
were not touched.
COPYING.0BSD was added.
2024-02-14 18:31:12 +02:00
Ed Maste
865e0a3689
liblzma: Use non-executable stack on FreeBSD as on Linux
2022-02-22 01:23:34 +02:00
H.J. Lu
4fd79b90c5
liblzma: Enable Intel CET in x86 CRC assembly codes
...
When Intel CET is enabled, we need to include <cet.h> in assembly codes
to mark Intel CET support and add _CET_ENDBR to indirect jump targets.
Tested on Intel Tiger Lake under CET enabled Linux.
2020-12-23 17:13:33 +02:00
Lasse Collin
b8e12f5ab4
Typo fixes from fossies.org.
...
https://fossies.org/linux/misc/xz-5.2.5.tar.xz/codespell.html
2020-03-23 18:07:50 +02:00
Lasse Collin
4785f2021a
Fix jl -> jb in ASM files.
2010-02-12 12:41:20 +02:00
Lasse Collin
6b50c9429b
Use __APPLE__ instead of __MACH__ in ASM files.
...
This allows the files to work on HURD.
Thanks to Jonathan Nieder.
2010-02-12 12:31:22 +02:00
Lasse Collin
655457b9ad
Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
...
and use a fix that works on all systems using
GNU assembler.
Maybe the assembler code is used e.g. on Solaris x86
but let's worry about it if this doesn't work on it.
2009-08-31 21:59:25 +03:00
Lasse Collin
43f44160b1
Fix x86 assembler on GCC 3.
...
Thanks to Karl Berry.
2009-08-29 13:35:23 +03:00
Lasse Collin
b2b1f86753
Hopefully improved portability of the assembler code in
...
Autotools based builds on Windows.
2009-06-27 00:43:06 +03:00
Lasse Collin
390a640856
Basic support for building with Cygwin and MinGW using
...
the Autotools based build system. It's not good yet, more
fixes will follow.
2009-06-26 15:37:53 +03:00
Lasse Collin
02ddf09bc3
Put the interesting parts of XZ Utils into the public domain.
...
Some minor documentation cleanups were made at the same time.
2009-04-13 11:27:40 +03:00
Lasse Collin
96c46df7de
Improve support for DOS-like systems.
...
Here DOS-like means DOS, Windows, and OS/2.
2009-02-13 17:29:02 +02:00
Lasse Collin
bfd91198e4
Support LZMA_API_STATIC in assembler files to
...
avoid __declspec(dllexport) equivalent.
2009-02-07 15:55:47 +02:00
Lasse Collin
99c1c2abfa
Updated the x86 assembler code:
...
- Use call/ret pair to get instruction pointer for PIC.
- Use PIC only if PIC or __PIC__ is #defined.
- The code should work on MinGW and Darwin in addition
to GNU/Linux and Solaris.
2009-02-02 21:19:01 +02:00
Lasse Collin
e9f6e9c075
Added note.GNU-stack to x86 assembler files. It is needed
...
when using non-executable stack.
2008-01-26 21:40:23 +02:00
Lasse Collin
44b333d461
Use the filename suffix .S instead of .s for assembler files
...
so that the preprocessor removes the /* */ style comments,
which are not supported by some non-GNU assemblers (Solaris)
that otherwise work with this code.
2007-12-14 10:07:10 +02:00