public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: "oliver munz @ s p e a g" <munz@speag.ch>
To: "Andrew Lunn" <andrew@lunn.ch>, <ecos-devel@sources.redhat.com>
Subject: Re: why use the SA1110-USB-driver a static /dev/usbs... definition ???
Date: Mon, 27 Jun 2005 14:34:00 -0000	[thread overview]
Message-ID: <009501c57b25$461ba370$5e188481@cadpad> (raw)
In-Reply-To: <20050627134055.GG11071@lunn.ch>

Hi Andrew

You are right. I use an "arm-elf-gcc (GCC) 3.4.4"... I will try Your patch, 
when the driver is doing something.

If I understand the use of "static" in the USB-driver, then its only a 
matter of being not visible outside of the USB-driver. If the symbol will be 
in the library is controlled by the cdl-headers and compiler optimation is 
not usefull...

Thanks
Oli




----- Original Message ----- 
From: "Andrew Lunn" <andrew@lunn.ch>
To: "Andrew Lunn" <andrew@lunn.ch>
Cc: "oliver munz @ s p e a g" <munz@speag.ch>; 
<ecos-devel@sources.redhat.com>
Sent: Monday, June 27, 2005 3:40 PM
Subject: Re: why use the SA1110-USB-driver a static /dev/usbs... definition 
???


>> What version of gcc are you using? Something newish?
>
> My guess would be something like 3.4 or higher.
>
> http://www.gnu.org/software/gcc/gcc-3.4/changes.html
>
> I says that "Unreferenced static variables and functions are removed"
>
> This fits your problem description.
>
> Please could you try the attached patch.
>
>        Thanks
>                Andrew
>
> 

      reply	other threads:[~2005-06-27 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27 12:46 oliver munz @ s p e a g
2005-06-27 13:02 ` Andrew Lunn
2005-06-27 13:41   ` Andrew Lunn
2005-06-27 14:34     ` oliver munz @ s p e a g [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='009501c57b25$461ba370$5e188481@cadpad' \
    --to=munz@speag.ch \
    --cc=andrew@lunn.ch \
    --cc=ecos-devel@sources.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).