public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Embarrassing ppc64 -pie fix
@ 2003-07-10 15:35 Jakub Jelinek
  2003-07-10 17:07 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2003-07-10 15:35 UTC (permalink / raw)
  To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers

Hi!

I was testing the patch with .data section and just later on changed it
to .data.rel.ro.local. The difference is that .data has default section
flags while .data.rel.ro.local does not have it...

2003-07-10  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of
	.data.rel.ro.local to "aw".

--- libc/sysdeps/powerpc/powerpc64/elf/start.S.jj	2003-07-10 11:27:20.000000000 -0400
+++ libc/sysdeps/powerpc/powerpc64/elf/start.S	2003-07-10 11:31:29.000000000 -0400
@@ -22,7 +22,7 @@
 
  /* These are the various addresses we require.  */
 #ifdef PIC
-	.section ".data.rel.ro.local"
+	.section ".data.rel.ro.local","aw"
 #else
 	.section ".rodata"
 #endif

	Jakub

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

* Re: [PATCH] Embarrassing ppc64 -pie fix
  2003-07-10 15:35 [PATCH] Embarrassing ppc64 -pie fix Jakub Jelinek
@ 2003-07-10 17:07 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-07-10 17:07 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Roland McGrath, Glibc hackers

Jakub Jelinek wrote:

> 2003-07-10  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of
> 	.data.rel.ro.local to "aw".

Applied.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

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

end of thread, other threads:[~2003-07-10 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10 15:35 [PATCH] Embarrassing ppc64 -pie fix Jakub Jelinek
2003-07-10 17:07 ` Ulrich Drepper

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