Skip to content

Commit

Permalink
Version Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ralic committed Sep 19, 2018
1 parent 9af474a commit cae9195
Show file tree
Hide file tree
Showing 56 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Web : http://www.agner.org/optimize/#objconv
Manual : http://www.agner.org/optimize/objconv-instructions.pdf

Source File: http://www.agner.org/optimize/objconv.zip
name: objconv.zip, size: 1018250, last modified: 2017-Apr-14.
File name: objconv.zip, size: 1033406, last modified: 2018-Aug-15.


Author : Agner Fog, Ph.D.
Expand All @@ -18,4 +18,4 @@ Mail-Address :
Denmark

Last edited:
"Ralic Lo"<[email protected]>
"Ralic Lo"<[email protected]>
Binary file modified bin/objconv
Binary file not shown.
Binary file modified bin/objconv.exe
Binary file not shown.
Empty file modified extras/u2wstub.asm
100755 → 100644
Empty file.
Empty file modified extras/u2wstub.obj
100755 → 100644
Empty file.
Empty file modified extras/u2wstubvec1.asm
100755 → 100644
Empty file.
Empty file modified extras/u2wstubvec1.obj
100755 → 100644
Empty file.
Empty file modified extras/u2wstubvec2.asm
100755 → 100644
Empty file.
Empty file modified extras/u2wstubvec2.obj
100755 → 100644
Empty file.
Empty file modified extras/w2ustub.asm
100755 → 100644
Empty file.
Empty file modified extras/w2ustub.o
100755 → 100644
Empty file.
Empty file modified extras/w2ustubvec.asm
100755 → 100644
Empty file.
Empty file modified extras/w2ustubvec.o
100755 → 100644
Empty file.
Empty file modified src/cmdline.cpp
100755 → 100644
Empty file.
Empty file modified src/cmdline.h
100755 → 100644
Empty file.
Empty file modified src/cof2asm.cpp
100755 → 100644
Empty file.
Empty file modified src/cof2cof.cpp
100755 → 100644
Empty file.
Empty file modified src/cof2elf.cpp
100755 → 100644
Empty file.
Empty file modified src/cof2omf.cpp
100755 → 100644
Empty file.
Empty file modified src/coff.cpp
100755 → 100644
Empty file.
Empty file modified src/coff.h
100755 → 100644
Empty file.
Empty file modified src/containers.cpp
100755 → 100644
Empty file.
Empty file modified src/containers.h
100755 → 100644
Empty file.
Empty file modified src/converters.h
100755 → 100644
Empty file.
Empty file modified src/disasm.h
100755 → 100644
Empty file.
Empty file modified src/disasm1.cpp
100755 → 100644
Empty file.
Empty file modified src/disasm2.cpp
100755 → 100644
Empty file.
Empty file modified src/elf.cpp
100755 → 100644
Empty file.
Empty file modified src/elf.h
100755 → 100644
Empty file.
Empty file modified src/elf2asm.cpp
100755 → 100644
Empty file.
Empty file modified src/elf2cof.cpp
100755 → 100644
Empty file.
Empty file modified src/elf2elf.cpp
100755 → 100644
Empty file.
Empty file modified src/elf2mac.cpp
100755 → 100644
Empty file.
Empty file modified src/error.cpp
100755 → 100644
Empty file.
Empty file modified src/error.h
100755 → 100644
Empty file.
Empty file modified src/library.cpp
100755 → 100644
Empty file.
Empty file modified src/library.h
100755 → 100644
Empty file.
Empty file modified src/mac2asm.cpp
100755 → 100644
Empty file.
Empty file modified src/mac2elf.cpp
100755 → 100644
Empty file.
Empty file modified src/mac2mac.cpp
100755 → 100644
Empty file.
Empty file modified src/macho.cpp
100755 → 100644
Empty file.
Empty file modified src/macho.h
100755 → 100644
Empty file.
Empty file modified src/main.cpp
100755 → 100644
Empty file.
6 changes: 3 additions & 3 deletions src/maindef.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/**************************** maindef.h **********************************
* Author: Agner Fog
* Date created: 2006-08-26
* Last modified: 2018-01-29
* Last modified: 2018-08-15
* Project: objconv
* Module: maindef.h
* Description:
* Header file for type definitions and other main definitions.
*
* Copyright 2006-2017 GNU General Public License http://www.gnu.org/licenses
* Copyright 2006-2018 GNU General Public License http://www.gnu.org/licenses
*****************************************************************************/
#ifndef MAINDEF_H
#define MAINDEF_H

// Program version
#define OBJCONV_VERSION 2.49
#define OBJCONV_VERSION 2.50


// Integer type definitions with platform-independent sizes:
Expand Down
Binary file modified src/objconv
Binary file not shown.
Empty file modified src/objconv.vcproj
100755 → 100644
Empty file.
6 changes: 3 additions & 3 deletions src/omf.cpp
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/**************************** omf.cpp *********************************
* Author: Agner Fog
* Date created: 2007-01-29
* Last modified: 2009-07-17
* Last modified: 2018-05-26
* Project: objconv
* Module: omf.cpp
* Description:
* Module for reading OMF files
*
* Class COMF is used for reading, interpreting and dumping OMF files.
*
* Copyright 2007-2009 GNU General Public License http://www.gnu.org/licenses
* Copyright 2007-2018 GNU General Public License http://www.gnu.org/licenses
*****************************************************************************/
#include "stdafx.h"

Expand Down Expand Up @@ -844,7 +844,7 @@ char * SOMFRecordPointer::GetString() {
// Read string and return as ASCIIZ string in static buffer
static char String[256];
uint8 Length = GetByte();
if (Length == 0 || Length >= sizeof(String)) {
if (Length == 0 /*|| Length >= sizeof(String)*/) {
String[0] = 0;
}
else {
Expand Down
Empty file modified src/omf.h
100755 → 100644
Empty file.
Empty file modified src/omf2asm.cpp
100755 → 100644
Empty file.
8 changes: 6 additions & 2 deletions src/omf2cof.cpp
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**************************** omf2cof.cpp *********************************
* Author: Agner Fog
* Date created: 2007-02-08
* Last modified: 2013-10-16
* Last modified: 2018-08-15
* Project: objconv
* Module: omf2cof.cpp
* Description:
* Module for converting OMF file to PE/COFF file
*
* Copyright 2007-2013 GNU General Public License http://www.gnu.org/licenses
* Copyright 2007-2018 GNU General Public License http://www.gnu.org/licenses
*****************************************************************************/
#include "stdafx.h"

Expand Down Expand Up @@ -733,6 +733,10 @@ void COMF2COF::MakeSections() {
case 2: // T2 and T6: Target = external symbol

// Translate old EXTDEF index to new symbol table index
if (Target >= ExtdefTranslation.GetNumEntries()) {
Target = 0; err.submit(2312);
continue;
}
rel.SymbolTableIndex = ExtdefTranslation[Target];

// Put addend inline in new file
Expand Down
Empty file modified src/omfhash.cpp
100755 → 100644
Empty file.
Empty file modified src/opcodes.cpp
100755 → 100644
Empty file.
Binary file modified src/source.zip
Binary file not shown.
Empty file modified src/stdafx.cpp
100755 → 100644
Empty file.
Empty file modified src/stdafx.h
100755 → 100644
Empty file.
Binary file modified zip_src/objconv.zip
Binary file not shown.

0 comments on commit cae9195

Please sign in to comment.