Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Koundinya.K" <kk@ddeorg.soft.net>
To: Hiroyuki Machida <machida@sm.sony.co.jp>
Cc: binutils@sourceware.cygnus.com, linux@cthulhu.engr.sgi.com,
	debian-mips@lists.debian.org
Subject: Re: MIPS gas problem
Date: Thu, 20 Apr 2000 17:37:56 +0530	[thread overview]
Message-ID: <200004201207.RAA07021@madras.ddeorg.soft.net> (raw)
In-Reply-To: Your message of "Thu, 20 Apr 2000 11:13:20 +0900." <20000420111320Z.machida@sm.sony.co.jp>


machida@sm.sony.co.jp said:
-> Hi
-> I found the problem  "__attribute__ ((aligned(xx))" doesn't work
-> properly on MIPS/Linux. Please try to execute the attached test.  I
-> think this problem can be reproduced on any ELF/MIPS box except
-> EMBEDED system which has OS name "elf". 

-> I tracked down and finaly found gas/config/t-mips.c:s_change_sec(sec)
-> sets  always ".rodata" section-alignment to 2**4. This should be set
-> to the maximum rodata object's alignment value.

I am seeing something different (gcc 2.95.2 and binutils from snapshot 
000213) on my mips based machine (mips-dde-sysv4.2MP)

[~] gcc -c  rotest.c -o rotest.o
rotest.c:8: warning: alignment of `global1' is greater than maximum object 
file alignment. Using 8.
rotest.c:9: warning: alignment of `global2' is greater than maximum object 
file alignment. Using 8.
rotest.c:11: warning: alignment of `local1' is greater than maximum object 
file alignment. Using 8.
rotest.c:12: warning: alignment of `local2' is greater than maximum object 
file alignment. Using 8.


koundinya

  parent reply	other threads:[~2000-04-20 12:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-20  2:13 MIPS gas problem Hiroyuki Machida
2000-04-20 10:16 ` Florian Lohoff
2000-04-20 12:07 ` Koundinya.K [this message]
     [not found]   ` <20000420164812.17210.qmail@daffy.airs.com>
2000-04-21  1:52     ` Hiroyuki Machida
2000-04-24  5:06       ` Koundinya.K
2000-04-21  3:30     ` Hiroyuki Machida
     [not found]       ` <20000421154859.3820.qmail@daffy.airs.com>
2000-04-24  3:16         ` Hiroyuki Machida
2000-04-24  3:16           ` Hiroyuki Machida

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=200004201207.RAA07021@madras.ddeorg.soft.net \
    --to=kk@ddeorg.soft.net \
    --cc=binutils@sourceware.cygnus.com \
    --cc=debian-mips@lists.debian.org \
    --cc=linux@cthulhu.engr.sgi.com \
    --cc=machida@sm.sony.co.jp \
    /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