Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have a file foo.c that contains just: SysIn SysIT OP PU PU int main () { return 0; } Sie SYS , and call

image text in transcribed

I have a file foo.c that contains just: SysIn SysIT OP PU PU int main () { return 0; } Sie SYS , and call readelf - When I compile it to an object file (gcc -c foo.c)foo.o, the output of readelf is 77 lines long. When I compile this to an executable (gcc foo.o), and call readelf -a a.out, the output of readelf is 257 lines long. Why? relocatable objects. B. gcc by default adds a lot of debug info when compiling to an executable. C. This is because of the LD_PRELOAD environment variable. D. foo.o has been linked with some system libraries to start the program. A. The ELF format force 21 that executable objects be bigger th, 2 21-DPU 6221-DPU 021-DPU -W21-DPU Answer A. Answer B. Answer C. Answer D

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

More Books

Students also viewed these Databases questions

Question

Which month has the best sales performance in 2014 and 2015?

Answered: 1 week ago

Question

What was the sales amount in July 2016?

Answered: 1 week ago