[PATCH] libdl: Add support for LDST128_ABS_LO12_NC

Chris Johns chrisj at rtems.org
Sun May 21 09:44:45 UTC 2023


OK

Chris

On 20/5/2023 5:16 am, Kinsey Moore wrote:
> ---
>  cpukit/libdl/rtl-mdreloc-aarch64.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/cpukit/libdl/rtl-mdreloc-aarch64.c b/cpukit/libdl/rtl-mdreloc-aarch64.c
> index 25057ce9d7..46f87e9178 100644
> --- a/cpukit/libdl/rtl-mdreloc-aarch64.c
> +++ b/cpukit/libdl/rtl-mdreloc-aarch64.c
> @@ -329,6 +329,7 @@ rtems_rtl_elf_reloc_rela (rtems_rtl_obj*            obj,
>      case R_AARCH_LDST16_ABS_LO12_NC:
>      case R_AARCH_LDST32_ABS_LO12_NC:
>      case R_AARCH_LDST64_ABS_LO12_NC:
> +    case R_AARCH64_LDST128_ABS_LO12_NC:
>        switch (ELF_R_TYPE(rela->r_info)) {
>          case R_AARCH64_ADD_ABS_LO12_NC:
>          case R_AARCH64_LDST8_ABS_LO12_NC:
> @@ -343,6 +344,9 @@ rtems_rtl_elf_reloc_rela (rtems_rtl_obj*            obj,
>          case R_AARCH_LDST64_ABS_LO12_NC:
>            shift = 3;
>            break;
> +        case R_AARCH64_LDST128_ABS_LO12_NC:
> +          shift = 4;
> +          break;
>          default:
>            printf("illegal rtype: %" PRIu64 "\n", ELF_R_TYPE(rela->r_info));
>            break;


More information about the devel mailing list