Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bruno relocation fixes #69

Merged
merged 2 commits into from
Jun 21, 2023
Merged

Bruno relocation fixes #69

merged 2 commits into from
Jun 21, 2023

Conversation

BrunoASMauricio
Copy link
Contributor

Fixes for foss-for-synopsys-dwc-arc-processors/toolchain#565 and foss-for-synopsys-dwc-arc-processors/toolchain#564.

Removed ARC_32_ME_S encoding and updated the following fields

Enum Hex ELF Reloc Type Type Details
27 0x1b R_ARC_32_ME signed -> bitfiled word32 = ME (S + A)
54 0x36 R_ARC_GLOB_DAT signed -> bitfiled word32= S
55 0x37 R_ARC_JMP_SLOT signed -> bitfiled word32 = ME(S)
56 0x38 R_ARC_RELATIVE signed -> bitfiled word32 = ME(B+A)

Fix for issue #564

The following 32 bit relocations were set as signed but should be bitfield:
 ARC_32_ME, ARC_GLOB_DAT, ARC_JMP_SLOT, ARC_RELATIVE

Signed-off-by: Bruno Mauricio <brunoasmauricio@gmail.com>
Fix for issue #565

Signed-off-by: Bruno Mauricio <brunoasmauricio@gmail.com>
@BrunoASMauricio BrunoASMauricio self-assigned this Jun 19, 2023
@claziss claziss merged commit b2ecd58 into arc64 Jun 21, 2023
@claziss claziss deleted the bruno_relocation_fixes branch July 18, 2023 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants