[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mes] [PATCH mescc-tools 0/2] Separate architecture-dependent displa
From: |
Danny Milosavljevic |
Subject: |
[bug-mes] [PATCH mescc-tools 0/2] Separate architecture-dependent displacements from architecture-independent positions and sizes. |
Date: |
Wed, 13 Feb 2019 16:07:48 +0100 |
This patchset clearly separates architecture-dependent displacements from
architecture-independent positions and sizes.
Previously, user were supposed to use "%foo>bar" in order to determine sizes.
For unaligned data structures that is not possible. Furthermore, after "%" is
specialized to emit architecture-dependent immediates for branch instructions,
this would not return the size in bytes anymore (see PATCH 2/2).
Now, it is supported to use "&foo>bar" in order to determine sizes in bytes.
On i686 and on x86_64 the patchset has no observable effect--however, on ARM,
it will make it possible to use both branches and ELF headers (and debug
information) in the same output.
Danny Milosavljevic (2):
Implement "&foo>bar" and "$foo>bar".
Architectural_displacement: Handle ARM.
blood-elf.c | 2 +-
elf_headers/elf32-ARM-debug.hex2 | 48 +++++++++++++--------------
elf_headers/elf32-ARM.hex2 | 6 ++--
elf_headers/elf32-debug.hex2 | 48 +++++++++++++--------------
elf_headers/elf32.hex2 | 6 ++--
elf_headers/elf64.hex2 | 6 ++--
hex2_linker.c | 56 ++++++++++++++++++++++----------
7 files changed, 96 insertions(+), 76 deletions(-)
- [bug-mes] [PATCH mescc-tools 0/2] Separate architecture-dependent displacements from architecture-independent positions and sizes.,
Danny Milosavljevic <=