Re: Enquiry
Thanks for the response Mukti. I think the options could be: |-mlong-calls -mno-ep and ||-mno-prolog-function. Could please tell me how to sepcify these options in makefile? Because I use gmake (in Cygwin shell) Thanks, -Vijay | mukti jain wrote: Can you experiment with optionmization options and -m850 and -m850e? have a look at this too if you are looking for quick fix. http://sourceware.org/ml/binutils/2005-08/msg00214.html Thanks, Mukti On Tue, Jun 2, 2009 at 11:18 PM, mukti jain <mailto:mukt...@gmail.com>> wrote: On Tue, Jun 2, 2009 at 7:22 PM, Vijay Holimath mailto:vi...@nii.ac.jp>> wrote: Dear Sir, I am using gcc compiler for v850e cpu. When I use the arrtribute: __attribute__ ((interrupt_handler)) or __attribute__ ((interrupt); for interrupt function, say for example void swnmi() __attribute__ ((interrupt_handler)); void swnmi() { ... .. } main() { .. .. } I am getting following error messages when I compile: main.o (.text+0xea): In function 'swnmi': undefined reference to '__ep' main.o (.text+0xee): In function 'swnmi': undefined reference to '__ep' collect2: Id returned 1 exit status I will be grateful to you if you could help me to get rid of these error messages. Probably I have to link some libraries? No, __ep is a linker variable. man page says.. (http://ftp.gnu.org/pub/pub/old-gnu/Manuals/gas-2.9.1/html_chapter/as_24.html) This can either be set up automatically by the linker, or specifically set by using the -defsym __ep= command line option]. Thanks, Mukti Many thanks, -Vijay -- Vijay Holimath, Ph.D National Institute of Informatics 2-1-2 Hitotsubashi Chiyoda-ku Tokyo 101-8430, Japan Tel: +81-3-4212-2662 |Fax:+81-3-3556-1916 Mobile: +81-80-3542-1560 e-mail: vi...@nii.ac.jp <mailto:vi...@nii.ac.jp> http://www.linkedin.com/in/vijayholimath Skype name: vijay.holimath
Help Required on HP-UX 11.0 & 11.11
Dear Sir / Madam I'm Vijay from McAfee.We are working on HP-UX 11.11& HP-UX 11.0 presently .We are getting an error while we work on HP-UX 11.11. System Configurations : * HP -UX 11.11 & 11.0 * Patched with GOLDQPK11i_11.11.depot * gcc 3.4.2 & gcc 3.4.3 * Gettext 0.14.1 * Libiconv 1.9.2 Our application (ebs) is giving this error when we run it on HP-UX . #ebs /usr/lib/dld.sl: Can't open shared library: libc.2 /usr/lib/dld.sl: No such file or directory /sbin/init.d/ebssdkd[9]: 5094 Abort(coredump) Please let us know where we are going wrong .An early response would be appreciated. Thanks Vijay Kumar Senior Software QA Engineer McAfee Inc Bangalore India Phone :91-80-25009415 Cell :91-09448353194
Enquiry
Dear Sir, I am using gcc compiler for v850e cpu. When I use the arrtribute: __attribute__ ((interrupt_handler)) or __attribute__ ((interrupt); for interrupt function, say for example void swnmi() __attribute__ ((interrupt_handler)); void swnmi() { ... .. } main() { .. .. } I am getting following error messages when I compile: main.o (.text+0xea): In function 'swnmi': undefined reference to '__ep' main.o (.text+0xee): In function 'swnmi': undefined reference to '__ep' collect2: Id returned 1 exit status I will be grateful to you if you could help me to get rid of these error messages. Probably I have to link some libraries? Many thanks, -Vijay Vijay Holimath, Ph.D National Institute of Informatics 2-1-2 Hitotsubashi Chiyoda-ku Tokyo 101-8430, Japan Tel: +81-3-4212-2662 |Fax:+81-3-3556-1916 Mobile: +81-80-3542-1560 e-mail: vi...@nii.ac.jp http://www.linkedin.com/in/vijayholimath Skype name: vijay.holimath
Enquiry
Dear Sir, I am using gcc compiler for v850e cpu. When I use the arrtribute: __attribute__ ((interrupt_handler)) or __attribute__ ((interrupt); for interrupt function, say for example void swnmi() __attribute__ ((interrupt_handler)); void swnmi() { ... .. } main() { .. .. } I am getting following error messages when I compile: main.o (.text+0xea): In function 'swnmi': undefined reference to '__ep' main.o (.text+0xee): In function 'swnmi': undefined reference to '__ep' collect2: Id returned 1 exit status I will be grateful to you if you could help me to get rid of these error messages. Probably I have to link some libraries? Many thanks, -Vijay -- Vijay Holimath, Ph.D National Institute of Informatics 2-1-2 Hitotsubashi Chiyoda-ku Tokyo 101-8430, Japan Tel: +81-3-4212-2662 |Fax:+81-3-3556-1916 Mobile: +81-80-3542-1560 e-mail: vi...@nii.ac.jp http://www.linkedin.com/in/vijayholimath Skype name: vijay.holimath
Doubt : Help
Hi! In .md file, while writing Function-unit specifications, we have to define an attribute called "simultaneity". I am still confused to get the correct meaning it. Can anyone plz elaborate on it? I have found the following definition from GCC manual. "simultaneity specifies the maximum number of insns that can be executing in each instance of the function unit simultaneously or zero if the unit is pipelined and has no limit." -- Regards, --- |Sachin Vijaykumar Sonawane|Hostel-12, R.No.-A107, |[EMAIL PROTECTED] | |M.Tech.-CSE-IITB, |Mobile-9819506594, |[EMAIL PROTECTED] | |Roll.No.-03305039,|www.cse.iitb.ac.in/sachinvs|[EMAIL PROTECTED]| --- ___. ___ __ ____ __ .__ __. / |/ \ / || | | | | | | \ | | | (` / ^ \ | ,'| |__| | | | | \| | \ \ / /_\ \ | | | __ | | | | . ` | .) |/ _ \ | `.| | | | | | | |\ | |___//__/ \__\ \__||__| |__| |__| |__| \__|
GCC4.0.0 - Query
Hi, I am currently working on GCC Instruction Scheduling pass. The previous versions of GCC, from GCC-3.3 onwards, had the provision to insert NOP-rtl appropriately during Instruction Scheduling pass(haifa.c : schedule_block). This is required for machine-architectures which do not support hardware-stall and requires compiler to insert NOP. However, GCC4.0.0 does not contain this code to insert NOP rtl. Is there any technical reason behind this? Can anyone please clarify about this matter? -- Regards, Sachin S.
Testing the performance of Instruction Scheduler..
Hi, How can we measure the performance benefits of GCC instruction scheduler? Are there any testcases to measure it? -- Sachin