Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: schwab@suse.de (Andreas Schwab)
Cc: gdb-patches@sourceware.org
Subject: Re: Signed vs. unsigned adresses in solib-svr4
Date: Wed, 09 May 2007 17:55:00 -0000	[thread overview]
Message-ID: <200705091755.l49HtVnV032361@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <jehcs45lfn.fsf@sykes.suse.de> from "Andreas Schwab" at Mar 29, 2007 01:38:36 PM

> 2007-03-29  Andreas Schwab  <schwab@suse.de>
> 
> 	* solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
> 	l_ld_size, l_next_size, l_prev_size, l_name_size.
> 
> 	* solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
> 	to extract addresses from link map.
> 	(LM_DYNAMIC_FROM_LINK_MAP): Likewise.
> 	(LM_NEXT): Likewise.
> 	(LM_NAME): Likewise.
> 	(IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
> 	(elf_locate_base): Likewise.
> 	(open_symbol_file_object): Likewise.
> 	(svr4_fetch_objfile_link_map): Likewise.
> 	(SOLIB_EXTRACT_ADDRESS): Remove unused macro.
> 	(HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
> 	l_ld_size.
>         (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
> 	(svr4_lp64_fetch_link_map_offsets): Likewise.
> 
> 	* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
> 	removed members.  Set l_ld_offset to -1 if not present.

Looks like this patch broke building mipsnbsd-tdep.c
(mipsnbsd_ilp32_fetch_link_map_offsets,
mipsnbsd_lp64_fetch_link_map_offsets).

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  parent reply	other threads:[~2007-05-09 17:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27 19:16 Andreas Schwab
2007-03-27 19:21 ` Daniel Jacobowitz
2007-03-27 20:20   ` Andreas Schwab
2007-03-27 20:36     ` Daniel Jacobowitz
2007-03-29 11:38       ` Andreas Schwab
2007-03-29 17:56         ` Daniel Jacobowitz
2007-04-10  6:57           ` Kevin Buettner
2007-03-31  9:10         ` Mark Kettenis
2007-05-09 17:55         ` Ulrich Weigand [this message]
2007-05-09 18:38           ` Andreas Schwab
2007-05-09 19:46             ` Ulrich Weigand

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=200705091755.l49HtVnV032361@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=schwab@suse.de \
    /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