OSDN Git Service

* varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Nov 2002 07:56:54 +0000 (07:56 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Nov 2002 07:56:54 +0000 (07:56 +0000)
commit98a1d4392b2c6b63e5ceab588dd9876f053c6ac1
tree93129dfbe6218445158cf46b67c5590976b31681
parented6044da464d6dd03a689528ba72082dbb10309f
* varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
both operands contain local relocations.
(categorize_decl_for_section): Don't use mergeable sections if
initializer has any relocations.

* gcc.dg/20021029-1.c: New test.
* gcc.dg/20021029-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59097 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20021029-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/20021029-2.c [new file with mode: 0644]
gcc/varasm.c