[PATCH] D33252: [ELF] Adds non-MIPS specific name for DT_MIPS_RLD_MAP

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 22:03:27 PDT 2017


The name should probably be discussed on generic-abi at googlegroups.com.

Given that it is in DT_LOPROC,DT_HIPROC range, I don't think we can use
the number as a generic one.

Cheers,
Rafael

Jake Ehrlich via Phabricator via llvm-commits
<llvm-commits at lists.llvm.org> writes:

> jakehehrlich created this revision.
> Herald added a subscriber: arichardson.
>
> https://reviews.llvm.org/D33251 adds support for DT_MIPS_RLD_MAP on non-MIPS platforms. So a non-MIPS specific .dynamic entry name would be nice. This change simply makes DT_DEBUG_INDIRECT an alias for DT_MIPS_RLD_MAP.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D33252
>
> Files:
>   include/llvm/Support/ELF.h
>
>
> Index: include/llvm/Support/ELF.h
> ===================================================================
> --- include/llvm/Support/ELF.h
> +++ include/llvm/Support/ELF.h
> @@ -1227,6 +1227,8 @@
>    DT_MIPS_RLD_MAP_REL = 0x70000035,  // Relative offset of run time loader
>                                       // map, used for debugging.
>  
> +  DT_DEBUG_INDIRECT = DT_MIPS_RLD_MAP, // Has the same value as DT_MIPS_RLD_MAP
> +
>    // Sun machine-independent extensions.
>    DT_AUXILIARY = 0x7FFFFFFD, // Shared object to load before self
>    DT_FILTER = 0x7FFFFFFF     // Shared object to get values from
>
>
> Index: include/llvm/Support/ELF.h
> ===================================================================
> --- include/llvm/Support/ELF.h
> +++ include/llvm/Support/ELF.h
> @@ -1227,6 +1227,8 @@
>    DT_MIPS_RLD_MAP_REL = 0x70000035,  // Relative offset of run time loader
>                                       // map, used for debugging.
>  
> +  DT_DEBUG_INDIRECT = DT_MIPS_RLD_MAP, // Has the same value as DT_MIPS_RLD_MAP
> +
>    // Sun machine-independent extensions.
>    DT_AUXILIARY = 0x7FFFFFFD, // Shared object to load before self
>    DT_FILTER = 0x7FFFFFFF     // Shared object to get values from
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list