Enhance spec test workflow to support x86_32 target (#787)
Enable test spec cases on x86_32 target when PR is created. And Format shell script with [shellfmt](https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format).
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
|
||||
#define R_386_32 1 /* Direct 32 bit */
|
||||
#define R_386_PC32 2 /* PC relative 32 bit */
|
||||
#define R_386_PLT32 4 /* 32bit address ProcedureLinkageTable */
|
||||
|
||||
#if !defined(_WIN32) && !defined(_WIN32_)
|
||||
/* clang-format off */
|
||||
@ -119,6 +120,11 @@ apply_relocation(AOTModule *module, uint8 *target_section_addr,
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* Handle R_386_PLT32 like R_386_PC32 since it should be able to reach
|
||||
* any 32 bit address
|
||||
*/
|
||||
case R_386_PLT32:
|
||||
case R_386_PC32:
|
||||
{
|
||||
int32 value;
|
||||
|
||||
Reference in New Issue
Block a user