From: "H.J. Lu" <hjl.tools@gmail.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list
Date: Thu, 13 May 2010 15:47:00 -0000 [thread overview]
Message-ID: <AANLkTin4ZlIvdh7BXyfsuBj9oBmCJpHEYwhxukRqaVYu@mail.gmail.com> (raw)
In-Reply-To: <20100513131840.GA31032@host0.dyn.jankratochvil.net>
On Thu, May 13, 2010 at 6:18 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> Hi,
>
> gdb currently has needlessly huge .dynsym and thus even huge the (on-demand
> loaded) LOAD segment. With the attached patch it gets smaller:
>
> -rwxr-xr-x 1 4524488 gdb-7.1-19.fc13.x86_64/usr/bin/gdb
> -rwxr-xr-x 1 4266728 gdb-7.1-19dynamiclist.fc13.x86_64/usr/bin/gdb
> -rw-r--r-- 1 2364656 gdb-7.1-19.fc13.x86_64.rpm
> -rw-r--r-- 1 2274300 gdb-7.1-19dynamiclist.fc13.x86_64.rpm
>
> I am not sure with the gdbserver/Makefile.in new CDEPS there. I have not
> found it defined anywhere while it is used as the gdbserver target dependency.
>
> I hope on the build hosts where -rdynamic was supported even
> -Wl,--dynamic-list must be supported.
>
> ps_get_thread_area is not always defined while the proc-service.list file
> lists it. GNU ld does not seem to be concerned by undefined symbols.
>
> No regressions on {x86_64,x86_64-m32,i686}-fedora12-linux-gnu.
>
>
FWIW, --dynamic-list was added in Sept., 2006 and a bug was fixed in Oct., 2006.
--
H.J.
next prev parent reply other threads:[~2010-05-13 13:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-13 13:27 Jan Kratochvil
2010-05-13 15:47 ` H.J. Lu [this message]
2010-05-16 21:08 ` Jan Kratochvil
2010-05-27 19:58 ` Tom Tromey
2010-05-28 23:11 ` Jan Kratochvil
2010-06-05 2:48 ` Doug Evans
2010-06-05 12:45 ` Jan Kratochvil
2010-06-08 15:23 ` Doug Evans
2010-06-08 16:08 ` Jan Kratochvil
2010-06-08 16:12 ` Doug Evans
2010-06-08 17:37 ` Jan Kratochvil
2012-01-12 19:28 ` [patch] -Wl,--dynamic-list: Test also PYTHON_LIBS, not just PYTHON_CFLAGS [Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list] Jan Kratochvil
2010-06-13 19:58 ` [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list Andreas Schwab
2010-06-13 20:17 ` Andreas Schwab
2010-06-15 17:31 ` Tom Tromey
2010-06-15 19:09 ` Jan Kratochvil
2010-06-15 20:36 ` Jan Kratochvil
2010-06-21 18:26 ` Tom Tromey
2010-06-23 10:13 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTin4ZlIvdh7BXyfsuBj9oBmCJpHEYwhxukRqaVYu@mail.gmail.com \
--to=hjl.tools@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox