This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Mark SJLJ EH label as local


This patch causes an internal label generated by the EH unwinding support 
that uses SJLJ to be marked as local so that backends can optimize GOT 
accesses for it.

On arm-netbsdelf this cuts the number of R_ARM_RELATIVE relocs in 
libstdc++.so from 684 to 288 (With a corresponding cut in the number of 
GOT entries).  On libjava.so it eliminates 1348 entries.

Bootstrapped and reg-tested on arm-netbsdelf.

2003-11-14  Richard Earnshaw  <rearnsha@arm.com>

	* except.c (sjlj_emit_function_enter): Mark internal label as LOCAL.


Attachment: eh-locallab.patch
Description: eh-locallab.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]