jkmcnk / sx-gcc

The GNU Compiler Collection port to NEC SX CPU architecture.
GNU General Public License v2.0
0 stars 2 forks source link

per-function sections do not work #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
using -ffunction-sections (putting each function in a separate
.text.<function_name> section) does not work, as function constant pools
are output to the generic .text section, which makes addressing them from
the function impossible.

make gcc output constant pools to the same section as the function itself.

-ffunction-sections -fdata-sections working is required for building target
libstdc++-v3.

Original issue reported on code.google.com by jmoc...@gmail.com on 20 Feb 2009 at 10:11

GoogleCodeExporter commented 8 years ago
they do with r253.

Original comment by jmoc...@gmail.com on 5 Mar 2009 at 12:30

GoogleCodeExporter commented 8 years ago
Issue 115 has been merged into this issue.

Original comment by jmoc...@gmail.com on 5 Mar 2009 at 2:13