Re: [Patch, PR 60158] Generate .fixup sections for .data.rel.ro.local entries.

2014-05-08 Thread David Edelsohn
: Alan Modra [mailto:amo...@gmail.com] >> Sent: Saturday, April 26, 2014 11:52 AM >> To: Dharmakan Rohit-B30502 >> Cc: gcc-patches@gcc.gnu.org; dje@gmail.com; Wienskoski Edmar-RA8797 >> Subject: Re: [Patch, PR 60158] Generate .fixup sections for >> .data.rel.ro.local en

RE: [Patch, PR 60158] Generate .fixup sections for .data.rel.ro.local entries.

2014-05-08 Thread rohitarul...@freescale.com
> -Original Message- > From: Alan Modra [mailto:amo...@gmail.com] > Sent: Saturday, April 26, 2014 11:52 AM > To: Dharmakan Rohit-B30502 > Cc: gcc-patches@gcc.gnu.org; dje@gmail.com; Wienskoski Edmar-RA8797 > Subject: Re: [Patch, PR 60158] Generate .

Re: [Patch, PR 60158] Generate .fixup sections for .data.rel.ro.local entries.

2014-04-25 Thread Alan Modra
On Fri, Apr 25, 2014 at 02:57:38PM +, rohitarul...@freescale.com wrote: > Source file: gcc-4.8.2/gcc/varasm.c > @@ -7120,7 +7120,7 @@ >if (CONSTANT_POOL_ADDRESS_P (symbol)) > { > desc = SYMBOL_REF_CONSTANT (symbol); > output_constant_pool_1 (desc, 1);

[Patch, PR 60158] Generate .fixup sections for .data.rel.ro.local entries.

2014-04-25 Thread rohitarul...@freescale.com
Hello All, This is related to the following bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158 Test case: Refer below Target: e500v2 Command line options: -Os -fdata-sections -fpic -mrelocatable -mno-spe Notes: GCC v4.7.3 puts the address of "abc" into the GOT directly GCC v