Skip to content

Commit

Permalink
update backtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
brugal committed Jun 8, 2022
1 parent fd6c371 commit 378eb02
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 15 deletions.
9 changes: 8 additions & 1 deletion FIXME
Original file line number Diff line number Diff line change
Expand Up @@ -2406,7 +2406,14 @@ Q_GetCpFromUtf8 invalid number of bytes specified in utf8 character 255
* 32-bit windows build: cl_cgame build error (string format)

* czm*.dm_68 armor/health bug
* backtrace binutils upgrade

* since 12.5test9 not in 12.5test7

renderer_opengl1_x86_64.dll crash

set mme_savedepth 1
video avi wav


----

Expand Down
2 changes: 1 addition & 1 deletion Makefile.local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=12.5test23
VERSION=12.5test24

USE_CODEC_VORBIS=1
USE_FREETYPE=1
Expand Down
10 changes: 5 additions & 5 deletions backtrace/backtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
http://www.codingnow.com
Copyright (C) 2019-2020, Angelo Cano
Copyright (C) 2019-2022, Angelo Cano
Use, modification and distribution are subject to the "New BSD License"
as listed at <url: http://www.opensource.org/licenses/bsd-license.php >.
Expand All @@ -23,7 +23,7 @@
*/

#define PACKAGE "wolfcamql-backtrace"
#define PACKAGE_VERSION "1.4"
#define PACKAGE_VERSION "1.5"

#include <windows.h>
#include <imagehlp.h>
Expand Down Expand Up @@ -137,14 +137,14 @@ lookup_section(bfd *abfd, asection *sec, void *opaque_data)
if (data->func)
return;

if (!(bfd_get_section_flags(abfd, sec) & SEC_ALLOC))
if (!(bfd_section_flags(sec) & SEC_ALLOC))
return;

bfd_vma vma = bfd_get_section_vma(abfd, sec);
bfd_vma vma = bfd_section_vma(sec);

counter = data->counter - (data->module_base - data->preferred_base);

if (counter < vma || vma + bfd_get_section_size(sec) <= counter)
if (counter < vma || vma + bfd_section_size(sec) <= counter)
return;

offset = counter - vma;
Expand Down
2 changes: 1 addition & 1 deletion backtrace/compile-32.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

BINUTILS_DIR=`pwd`/build/32/binutils-2.33.1
BINUTILS_DIR=`pwd`/build/32/binutils-2.38

i686-w64-mingw32-windres -i resource.rc -o build/resource32.o

Expand Down
2 changes: 1 addition & 1 deletion backtrace/compile-64.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

BINUTILS_DIR=`pwd`/build/64/binutils-2.33.1
BINUTILS_DIR=`pwd`/build/64/binutils-2.38

x86_64-w64-mingw32-windres -i resource.rc -o build/resource64.o

Expand Down
10 changes: 5 additions & 5 deletions backtrace/resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

// DLL version information.
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,4,0,0
PRODUCTVERSION 1,4,0,0
FILEVERSION 1,5,0,0
PRODUCTVERSION 1,5,0,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG | VS_FF_PRERELEASE
Expand All @@ -20,12 +20,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "wolfcamql"
VALUE "FileDescription", "wolfcamql backtrace library"
VALUE "FileVersion", "1.4.0.0"
VALUE "FileVersion", "1.5.0.0"
VALUE "InternalName", "backtrace.dll"
VALUE "LegalCopyright", "(C) 2019-2020 Angelo Cano"
VALUE "LegalCopyright", "(C) 2019-2022 Angelo Cano"
VALUE "OriginalFilename", "backtrace.dll"
VALUE "ProductName", "wolfcamql backtrace library"
VALUE "ProductVersion", "1.4.0.0"
VALUE "ProductVersion", "1.5.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
Binary file modified code/libs/win32/backtrace.dll
Binary file not shown.
Binary file modified code/libs/win64/backtrace64.dll
Binary file not shown.
3 changes: 2 additions & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
12.5test23
12.5test24

* ioquake3 patches

Expand Down Expand Up @@ -141,6 +141,7 @@
* update freetype to version 2.12.1
* check demo file extension for protocol number if it's not set in config strings
* update libcurl to version 7.83.1
* update backtrace library

---------------------------------
12.4 2020-12-04
Expand Down

0 comments on commit 378eb02

Please sign in to comment.