Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Metzger, Markus T" <markus.t.metzger@intel.com>
To: Tom Tromey <tromey@redhat.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: RE: [PATCH 2/2] Implement operator new
Date: Fri, 06 Jul 2012 09:28:00 -0000	[thread overview]
Message-ID: <A78C989F6D9628469189715575E55B2307AB5CD5@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <87mx3erstj.fsf@fleche.redhat.com>


[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]

> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Sent: Thursday, July 05, 2012 8:01 PM
> To: Metzger, Markus T

[...]

> >> +  sym = lookup_symbol ("__aeabi_vec_ctor_cookie_nodtor",
> >> +		       NULL, VAR_DOMAIN, NULL);
> >> +  if (sym != NULL)
> >> +    {
> >> +      /* ARM EABI has an extra slot.  */
> >> +      *include_size = 1;
> >> +      multiplier = 2;
> >> +    }
> >> +  else
> >> +    *include_size = 0;
> 
> Markus> Shouldn't we be able to query the ABI from the ELF?
> 
> I don't know how.

Searching for "arm elf", I found this document: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf.
Not sure if it's the latest version. Page 16 describes the ELF header for EABI compliant files.

Regards,
Markus.

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 7228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 350 bytes --]

Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer, Christian Lamprechter
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052

      reply	other threads:[~2012-07-06  9:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03 20:57 Tom Tromey
2012-07-04  8:56 ` Metzger, Markus T
2012-07-05 18:01   ` Tom Tromey
2012-07-06  9:28     ` Metzger, Markus T [this message]

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=A78C989F6D9628469189715575E55B2307AB5CD5@IRSMSX102.ger.corp.intel.com \
    --to=markus.t.metzger@intel.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@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