This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: ALIGNOF fails on cygwin


Alan Modra wrote:
On Sun, Jul 01, 2007 at 09:01:17PM +0100, Nathan Sidwell wrote:
Christian Joensson wrote:
alignof_text != 64
FAIL: ALIGNOF
does cygwin have some restriction on section alignment?

BFD doesn't currently implement setting of PE IMAGE_SCN_ALIGN* section flags, so the relocatable object files we create always have default section alignment.

I guess this is the way to fix the failure -- Christian, does this xfail trigger for you?


nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2007-07-02  Nathan Sidwell  <nathan@codesourcery.com>

	* ld-scripts/alignof.exp: XFAIL on pecoff.

Index: ld-scripts/alignof.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/alignof.exp,v
retrieving revision 1.1
diff -c -3 -p -r1.1 alignof.exp
*** ld-scripts/alignof.exp	18 Jun 2007 12:38:22 -0000	1.1
--- ld-scripts/alignof.exp	2 Jul 2007 11:05:03 -0000
*************** if {![info exists nm_output(alignof_text
*** 40,45 ****
--- 40,50 ----
      return
  }
  
+ if [is_pecoff_format] {
+   global target_triplet
+   setup_xfail $target_triplet
+ }
+ 
  if {$nm_output(alignof_text) != 64} {
      send_log "alignof_text != 64\n"
      verbose "alignof_text != 64"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]