public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] ld/x86-64: adjust pr14207 test expectations
@ 2015-01-08 12:41 Jan Beulich
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2015-01-08 12:41 UTC (permalink / raw)
  To: binutils; +Cc: H.J. Lu

[-- Attachment #1: Type: text/plain, Size: 1941 bytes --]

The original test output expectations cause it to fail when configure
determines enable_initfini_array=no (which was observed on a cross
build on an old 32-bit host, pointing out that taking into account host
properties in such a case is bogus anyway).

ld/testsuite/
2015-01-08  Jan Beulich <jbeulich@suse.com>

	* ld-x86-64/pr14207.d: Adjust expecations to cover the
	enable_initfini_array=no case.

--- 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d	2014-02-20 15:36:37.000000000 +0100
+++ 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d	2015-01-08 12:52:56.000000000 +0100
@@ -11,14 +11,14 @@ There are 4 program headers, starting at
 Program Headers:
   Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
   LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x0001e0 0x0001e0 R   0x200000
-  LOAD           0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b0 0x000cf8 RW  0x200000
-  DYNAMIC        0x000b90 0x0000000000200b90 0x0000000000200b90 0x0001c0 0x0001c0 RW  0x8
-  GNU_RELRO      0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b8 0x0004b8 R   0x1
+  LOAD           0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x000c.8 RW  0x200000
+  DYNAMIC        0x000b.0 0x0000000000200b.0 0x0000000000200b.0 0x0001.0 0x0001.0 RW  0x8
+  GNU_RELRO      0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.8 0x0004.8 R   0x1
 
  Section to Segment mapping:
   Segment Sections...
-   00     .hash .dynsym .dynstr 
-   01     .init_array .fini_array .jcr .data.rel.ro .dynamic .got .bss 
-   02     .dynamic 
-   03     .init_array .fini_array .jcr .data.rel.ro .dynamic .got 
+   00     \.hash \.dynsym \.dynstr 
+   01     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got .bss 
+   02     \.dynamic 
+   03     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got 
 #pass




[-- Attachment #2: binutils-master-x86_64-ld-pr14207-test.patch --]
[-- Type: text/plain, Size: 1982 bytes --]

ld/x86-64: adjust pr14207 test expectations

The original test output expectations cause it to fail when configure
determines enable_initfini_array=no (which was observed on a cross
build on an old 32-bit host, pointing out that taking into account host
properties in such a case is bogus anyway).

ld/testsuite/
2015-01-08  Jan Beulich <jbeulich@suse.com>

	* ld-x86-64/pr14207.d: Adjust expecations to cover the
	enable_initfini_array=no case.

--- 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d	2014-02-20 15:36:37.000000000 +0100
+++ 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d	2015-01-08 12:52:56.000000000 +0100
@@ -11,14 +11,14 @@ There are 4 program headers, starting at
 Program Headers:
   Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
   LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x0001e0 0x0001e0 R   0x200000
-  LOAD           0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b0 0x000cf8 RW  0x200000
-  DYNAMIC        0x000b90 0x0000000000200b90 0x0000000000200b90 0x0001c0 0x0001c0 RW  0x8
-  GNU_RELRO      0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b8 0x0004b8 R   0x1
+  LOAD           0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x000c.8 RW  0x200000
+  DYNAMIC        0x000b.0 0x0000000000200b.0 0x0000000000200b.0 0x0001.0 0x0001.0 RW  0x8
+  GNU_RELRO      0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.8 0x0004.8 R   0x1
 
  Section to Segment mapping:
   Segment Sections...
-   00     .hash .dynsym .dynstr 
-   01     .init_array .fini_array .jcr .data.rel.ro .dynamic .got .bss 
-   02     .dynamic 
-   03     .init_array .fini_array .jcr .data.rel.ro .dynamic .got 
+   00     \.hash \.dynsym \.dynstr 
+   01     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got .bss 
+   02     \.dynamic 
+   03     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got 
 #pass

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ld/x86-64: adjust pr14207 test expectations
       [not found] <54AE885302000078000529F1@mail.emea.novell.com>
@ 2015-01-08 12:46 ` H.J. Lu
  0 siblings, 0 replies; 3+ messages in thread
From: H.J. Lu @ 2015-01-08 12:46 UTC (permalink / raw)
  To: Jan Beulich, Binutils

On Thu, Jan 8, 2015 at 4:38 AM, Jan Beulich <JBeulich@suse.com> wrote:
> The original test output expectations cause it to fail when configure
> determines enable_initfini_array=no (which was observed on a cross
> build on an old 32-bit host, pointing out that taking into account host
> properties in such a case is bogus anyway).
>
> ld/testsuite/
> 2015-01-08  Jan Beulich <jbeulich@suse.com>
>
>         * ld-x86-64/pr14207.d: Adjust expecations to cover the
>         enable_initfini_array=no case.
>
> --- 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d 2014-02-20 15:36:37.000000000 +0100
> +++ 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d 2015-01-08 12:52:56.000000000 +0100
> @@ -11,14 +11,14 @@ There are 4 program headers, starting at
>  Program Headers:
>    Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
>    LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x0001e0 0x0001e0 R   0x200000
> -  LOAD           0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b0 0x000cf8 RW  0x200000
> -  DYNAMIC        0x000b90 0x0000000000200b90 0x0000000000200b90 0x0001c0 0x0001c0 RW  0x8
> -  GNU_RELRO      0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b8 0x0004b8 R   0x1
> +  LOAD           0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x000c.8 RW  0x200000
> +  DYNAMIC        0x000b.0 0x0000000000200b.0 0x0000000000200b.0 0x0001.0 0x0001.0 RW  0x8
> +  GNU_RELRO      0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.8 0x0004.8 R   0x1
>
>   Section to Segment mapping:
>    Segment Sections...
> -   00     .hash .dynsym .dynstr
> -   01     .init_array .fini_array .jcr .data.rel.ro .dynamic .got .bss
> -   02     .dynamic
> -   03     .init_array .fini_array .jcr .data.rel.ro .dynamic .got
> +   00     \.hash \.dynsym \.dynstr
> +   01     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got .bss
> +   02     \.dynamic
> +   03     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got
>  #pass
>
>

It is OK.

-- 
H.J.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ld/x86-64: adjust pr14207 test expectations
@ 2015-01-08 12:35 Jan Beulich
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2015-01-08 12:35 UTC (permalink / raw)
  To: binutils; +Cc: H.J. Lu

[-- Attachment #1: Type: text/plain, Size: 1785 bytes --]

The original test output expectations cause it to fail when configure
determines enable_initfini_array=no (which was observed on a cross
build on an old 32-bit host, pointing out that taking into account host
properties in such a case is bogus anyway).

--- 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d	2014-02-20 15:36:37.000000000 +0100
+++ 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d	2015-01-08 12:52:56.000000000 +0100
@@ -11,14 +11,14 @@ There are 4 program headers, starting at
 Program Headers:
   Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
   LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x0001e0 0x0001e0 R   0x200000
-  LOAD           0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b0 0x000cf8 RW  0x200000
-  DYNAMIC        0x000b90 0x0000000000200b90 0x0000000000200b90 0x0001c0 0x0001c0 RW  0x8
-  GNU_RELRO      0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b8 0x0004b8 R   0x1
+  LOAD           0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x000c.8 RW  0x200000
+  DYNAMIC        0x000b.0 0x0000000000200b.0 0x0000000000200b.0 0x0001.0 0x0001.0 RW  0x8
+  GNU_RELRO      0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.8 0x0004.8 R   0x1
 
  Section to Segment mapping:
   Segment Sections...
-   00     .hash .dynsym .dynstr 
-   01     .init_array .fini_array .jcr .data.rel.ro .dynamic .got .bss 
-   02     .dynamic 
-   03     .init_array .fini_array .jcr .data.rel.ro .dynamic .got 
+   00     \.hash \.dynsym \.dynstr 
+   01     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got .bss 
+   02     \.dynamic 
+   03     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got 
 #pass



[-- Attachment #2: binutils-master-x86_64-ld-pr14207-test.patch --]
[-- Type: text/plain, Size: 1828 bytes --]

ld/x86-64: adjust pr14207 test expectations

The original test output expectations cause it to fail when configure
determines enable_initfini_array=no (which was observed on a cross
build on an old 32-bit host, pointing out that taking into account host
properties in such a case is bogus anyway).

--- 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d	2014-02-20 15:36:37.000000000 +0100
+++ 2015-01-08/ld/testsuite/ld-x86-64/pr14207.d	2015-01-08 12:52:56.000000000 +0100
@@ -11,14 +11,14 @@ There are 4 program headers, starting at
 Program Headers:
   Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
   LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x0001e0 0x0001e0 R   0x200000
-  LOAD           0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b0 0x000cf8 RW  0x200000
-  DYNAMIC        0x000b90 0x0000000000200b90 0x0000000000200b90 0x0001c0 0x0001c0 RW  0x8
-  GNU_RELRO      0x000b48 0x0000000000200b48 0x0000000000200b48 0x0004b8 0x0004b8 R   0x1
+  LOAD           0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x000c.8 RW  0x200000
+  DYNAMIC        0x000b.0 0x0000000000200b.0 0x0000000000200b.0 0x0001.0 0x0001.0 RW  0x8
+  GNU_RELRO      0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.8 0x0004.8 R   0x1
 
  Section to Segment mapping:
   Segment Sections...
-   00     .hash .dynsym .dynstr 
-   01     .init_array .fini_array .jcr .data.rel.ro .dynamic .got .bss 
-   02     .dynamic 
-   03     .init_array .fini_array .jcr .data.rel.ro .dynamic .got 
+   00     \.hash \.dynsym \.dynstr 
+   01     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got .bss 
+   02     \.dynamic 
+   03     \.(init_array|ctors) \.(fini_array|dtors) \.jcr \.data\.rel\.ro \.dynamic \.got 
 #pass

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-08 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 12:41 [PATCH] ld/x86-64: adjust pr14207 test expectations Jan Beulich
     [not found] <54AE885302000078000529F1@mail.emea.novell.com>
2015-01-08 12:46 ` H.J. Lu
  -- strict thread matches above, loose matches on Subject: below --
2015-01-08 12:35 Jan Beulich

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).