public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@wasabisystems.com>
To: Raphael Zulliger <zulliger@indel.ch>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Add additional code to function (c/c++) while compiling
Date: Thu, 15 Apr 2004 15:15:00 -0000	[thread overview]
Message-ID: <m3fzb5e0mv.fsf@gossamer.airs.com> (raw)
In-Reply-To: <412216C6.2020408@indel.ch>

Raphael Zulliger <zulliger@indel.ch> writes:

> i would like to add a very simple stack-protection (for our own-brewed
> os) to the code compiled with gcc 3.x. therefore i should be able to
> add about 5 lines of PPC assembler to each function body... first i
> hoped this should be quite easy - but it seams to be harder than
> expected. at least for me.

You might try taking a look at how -fstack-check is implemented.

Ian

      reply	other threads:[~2004-04-15 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 14:29 Raphael Zulliger
2004-04-15 15:15 ` Ian Lance Taylor [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=m3fzb5e0mv.fsf@gossamer.airs.com \
    --to=ian@wasabisystems.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=zulliger@indel.ch \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).