public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl at lucon dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/14813] The wrong init order Date: Thu, 01 Apr 2004 20:00:00 -0000 [thread overview] Message-ID: <20040401200045.8260.qmail@sources.redhat.com> (raw) In-Reply-To: <20040401195835.14813.hjl@lucon.org> ------- Additional Comments From hjl at lucon dot org 2004-04-01 20:00 ------- Created an attachment (id=6025) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6025&action=view) A testcase # make /usr/gcc-3.4/bin/gcc -O -g -c -o bar.o bar.c /usr/gcc-3.4/bin/gcc -static bar.o -o bar ./bar preinit array 0 preinit array 1 preinit array 2 init array 0 init array 1 init array 2 init fini array 2 fini array 1 fini array 0 fini The right one should be [hjl@gnu-4 init]$ make CC=gcc gcc -O -g -c -o bar.o bar.c /tmp/ccyDlcv7.s: Assembler messages: /tmp/ccyDlcv7.s:184: Warning: ignoring incorrect section type for .preinit_array/tmp/ccyDlcv7.s:292: Warning: ignoring incorrect section type for .init_array /tmp/ccyDlcv7.s:400: Warning: ignoring incorrect section type for .fini_array gcc -static bar.o -o bar ./bar preinit array 0 preinit array 1 preinit array 2 init init array 0 init array 1 init array 2 fini array 2 fini array 1 fini array 0 fini -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14813
next prev parent reply other threads:[~2004-04-01 20:00 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-04-01 19:58 [Bug target/14813] New: " hjl at lucon dot org 2004-04-01 20:00 ` hjl at lucon dot org [this message] 2004-04-01 20:03 ` [Bug target/14813] [3.4.0 Regression] " hjl at lucon dot org 2004-04-01 20:05 ` [Bug target/14813] [3.4/3.5 " pinskia at gcc dot gnu dot org 2004-04-01 21:05 ` hjl at lucon dot org 2004-04-06 9:42 ` jakub at gcc dot gnu dot org 2004-04-06 18:09 ` hjl at lucon dot org 2004-04-13 0:03 ` hjl at lucon dot org 2004-04-13 18:35 ` hjl at lucon dot org 2004-04-13 18:36 ` pinskia at gcc dot gnu dot org 2004-04-21 23:19 ` wilson at specifixinc dot com 2004-04-21 23:42 ` cvs-commit at gcc dot gnu dot org 2004-04-22 0:06 ` pinskia at gcc dot gnu dot org
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=20040401200045.8260.qmail@sources.redhat.com \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).