This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't install libio.h or _G_config.h

On 02/05/2018 03:29 PM, Zack Weinberg wrote:
On Mon, Feb 5, 2018 at 9:18 AM, Joseph Myers <> wrote:
Is this a patch that you would expect not to result in any changes to
installed stripped shared libraries

No, however there are only two fundamental changes.  Line numbers
change in vfprintf.c assertions, which is easy enough to ignore when
reading disassembly diffs.

It's possible to put -DNDEBUG into CFLAGS to eliminate these differences (well, most of them).

More troublesome,  ancillary programs and
libraries that call getc or putc will now reference getc@GLIBC_2.0 /
putc@GLIBC_2.0 instead of _IO_getc@GLIBC_2.0 / _IO_putc@GLIBC_2.0.
This causes a bunch of sections, including .text, to shift their
starting address slightly (I think because .dynsym is shorter), which
makes `objdump -d` output not easily diffable, but I *think* code
generation is not affected.

Maybe it's possible to add something to include/stdio.h to redirect the references, so that the results are the same, and revert that in a subsequent commit?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]