Dear Joakim Tjernlund, In message <of4dcfbd28.58e81a84-onc12577ba.0047150b-c12577ba.0047d...@transmode.se> you wrote: > > > What happens when one uses this patch in combination with a "standard" > > (i. e. older, unpatched) GCC? > > Nothing, gcc will produce -fPIC relocs and the code will/should just work.
OK, so your change means effectively a no-op (except for the moderate size increase in start.S) to most of us? You mentioned -fpic was smaller and faster; do you have any numbers for that (especailly for the faster part) ? > _GLOBAL_OFFSET_TABLE_ is a predefined symbol that the linker defines to > be in the middle of the -fpic GOT table. It marks the end of the GOT table > as far as we are concerned(u-boot does not generate so many relocs that > the > linker needs to use the space above _GLOBAL_OFFSET_TABLE_) > > There is no predefined symbol that marks the start of fpic relocs so > one is added(_GOT_TABLE_) by me to the linker script. OK - can you please include these explanations into the commit message? Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de You! What PLANET is this! -- McCoy, "The City on the Edge of Forever", stardate 3134.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot