public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] cheri: Fix elf/tst-dlmodcount test
@ 2022-10-26 15:11 Szabolcs Nagy
  0 siblings, 0 replies; 3+ messages in thread
From: Szabolcs Nagy @ 2022-10-26 15:11 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1e49dc13a634c16fa8be142a7eb208c7c18cf4a8

commit 1e49dc13a634c16fa8be142a7eb208c7c18cf4a8
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Apr 14 18:34:26 2022 +0100

    cheri: Fix elf/tst-dlmodcount test
    
    switch statement does not work for intptr_t, use a large int type
    that's guaranteed to work.

Diff:
---
 elf/tst-dlmodcount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elf/tst-dlmodcount.c b/elf/tst-dlmodcount.c
index 8a96803d85..ba9fb171f3 100644
--- a/elf/tst-dlmodcount.c
+++ b/elf/tst-dlmodcount.c
@@ -30,7 +30,7 @@ static int
 callback (struct dl_phdr_info *info, size_t size, void *ptr)
 {
   static int last_adds = 0, last_subs = 0;
-  intptr_t cmd = (intptr_t) ptr;
+  unsigned long cmd = (intptr_t) ptr;
 
   printf ("  size = %Zu\n", size);
   if (size < (offsetof (struct dl_phdr_info, dlpi_subs)

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

* [glibc/arm/morello/main] cheri: Fix elf/tst-dlmodcount test
@ 2022-10-27 13:50 Szabolcs Nagy
  0 siblings, 0 replies; 3+ messages in thread
From: Szabolcs Nagy @ 2022-10-27 13:50 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3a69d7f241ab9f738479e039bd6eecf433868375

commit 3a69d7f241ab9f738479e039bd6eecf433868375
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Apr 14 18:34:26 2022 +0100

    cheri: Fix elf/tst-dlmodcount test
    
    switch statement does not work for intptr_t, use a large int type
    that's guaranteed to work.

Diff:
---
 elf/tst-dlmodcount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elf/tst-dlmodcount.c b/elf/tst-dlmodcount.c
index 8a96803d85..ba9fb171f3 100644
--- a/elf/tst-dlmodcount.c
+++ b/elf/tst-dlmodcount.c
@@ -30,7 +30,7 @@ static int
 callback (struct dl_phdr_info *info, size_t size, void *ptr)
 {
   static int last_adds = 0, last_subs = 0;
-  intptr_t cmd = (intptr_t) ptr;
+  unsigned long cmd = (intptr_t) ptr;
 
   printf ("  size = %Zu\n", size);
   if (size < (offsetof (struct dl_phdr_info, dlpi_subs)

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

* [glibc/arm/morello/main] cheri: Fix elf/tst-dlmodcount test
@ 2022-08-05 19:30 Szabolcs Nagy
  0 siblings, 0 replies; 3+ messages in thread
From: Szabolcs Nagy @ 2022-08-05 19:30 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1cb2ecf162dc13dae2d83f4fa5c0bb77abf29f17

commit 1cb2ecf162dc13dae2d83f4fa5c0bb77abf29f17
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Apr 14 18:34:26 2022 +0100

    cheri: Fix elf/tst-dlmodcount test
    
    switch statement does not work for intptr_t, use a large int type
    that's guaranteed to work.

Diff:
---
 elf/tst-dlmodcount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elf/tst-dlmodcount.c b/elf/tst-dlmodcount.c
index 8a96803d85..ba9fb171f3 100644
--- a/elf/tst-dlmodcount.c
+++ b/elf/tst-dlmodcount.c
@@ -30,7 +30,7 @@ static int
 callback (struct dl_phdr_info *info, size_t size, void *ptr)
 {
   static int last_adds = 0, last_subs = 0;
-  intptr_t cmd = (intptr_t) ptr;
+  unsigned long cmd = (intptr_t) ptr;
 
   printf ("  size = %Zu\n", size);
   if (size < (offsetof (struct dl_phdr_info, dlpi_subs)


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

end of thread, other threads:[~2022-10-27 13:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 15:11 [glibc/arm/morello/main] cheri: Fix elf/tst-dlmodcount test Szabolcs Nagy
  -- strict thread matches above, loose matches on Subject: below --
2022-10-27 13:50 Szabolcs Nagy
2022-08-05 19:30 Szabolcs Nagy

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