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, darwin] PR35165 part 1; obj-c++ local label fix.


There is an issue with local ObjC symbols when these have been mangled in obj-c++
this affects obj-c++ on darwin 8 and 9.
the problem was radar 5202926 and I've (unashamedly) followed the general form of the apple local fix..
... but with a significant difference in that the fix is now applied in gcc/config/darwin.c


Since the fix requires action in the back-end, if it were applied in objc-act.c (as per the Apple Local version) this would force us to add a stub to objc-stubs ... and fortran and java to include objc- stubs.o

cheers,
Iain

see testresults:
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg02632.html
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg02631.html

changes:
* gcc/config/darwin.c add function darwin_label_is_anonymous_local_objc_name (const char *name)
* gcc/config/darwin.h expand ASM_OUTPUT_LABELREF to check for mangled objc locals.


Attachment: 146648-lab-diff.txt
Description: Text document




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