[PATCH 3/7] elf: Split dl-printf.c from dl-misc.c

H.J. Lu hjl.tools@gmail.com
Fri Jan 14 14:25:39 GMT 2022


On Fri, Jan 14, 2022 at 4:42 AM Florian Weimer via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> This allows to use different compiler flags for the diagnostics
> code.
> ---
>  elf/Makefile    |   2 +-
>  elf/dl-misc.c   | 281 +---------------------------------------------
>  elf/dl-printf.c | 292 ++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 297 insertions(+), 278 deletions(-)
>  create mode 100644 elf/dl-printf.c
>
> diff --git a/elf/Makefile b/elf/Makefile
> index b86d116be9..0c4be43deb 100644
> --- a/elf/Makefile
> +++ b/elf/Makefile
> @@ -31,7 +31,7 @@ routines      = $(all-dl-routines) dl-support dl-iteratephdr \
>  # The core dynamic linking functions are in libc for the static and
>  # profiled libraries.
>  dl-routines    = $(addprefix dl-,load lookup object reloc deps \
> -                                 runtime init fini debug misc \
> +                                 runtime init fini debug misc printf \
>                                   version profile tls origin scope \
>                                   execstack open close trampoline \
>                                   exception sort-maps lookup-direct \

Should we put one item per-line now?


-- 
H.J.


More information about the Libc-alpha mailing list