bfd.info 640 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399
  1. This is bfd.info, produced by makeinfo version 6.7 from bfd.texi.
  2. This file documents the BFD library.
  3. Copyright (C) 1991-2019 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "GNU General Public License" and "Funding Free
  8. Software", the Front-Cover texts being (a) (see below), and with the
  9. Back-Cover Texts being (b) (see below). A copy of the license is
  10. included in the section entitled "GNU Free Documentation License".
  11. (a) The FSF's Front-Cover Text is:
  12. A GNU Manual
  13. (b) The FSF's Back-Cover Text is:
  14. You have freedom to copy and modify this GNU Manual, like GNU
  15. software. Copies published by the Free Software Foundation raise funds
  16. for GNU development.
  17. INFO-DIR-SECTION Software development
  18. START-INFO-DIR-ENTRY
  19. * Bfd: (bfd). The Binary File Descriptor library.
  20. END-INFO-DIR-ENTRY
  21. 
  22. File: bfd.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir)
  23. This file documents the binary file descriptor library libbfd.
  24. * Menu:
  25. * Overview:: Overview of BFD
  26. * BFD front end:: BFD front end
  27. * BFD back ends:: BFD back ends
  28. * GNU Free Documentation License:: GNU Free Documentation License
  29. * BFD Index:: BFD Index
  30. 
  31. File: bfd.info, Node: Overview, Next: BFD front end, Prev: Top, Up: Top
  32. 1 Introduction
  33. **************
  34. BFD is a package which allows applications to use the same routines to
  35. operate on object files whatever the object file format. A new object
  36. file format can be supported simply by creating a new BFD back end and
  37. adding it to the library.
  38. BFD is split into two parts: the front end, and the back ends (one
  39. for each object file format).
  40. * The front end of BFD provides the interface to the user. It
  41. manages memory and various canonical data structures. The front
  42. end also decides which back end to use and when to call back end
  43. routines.
  44. * The back ends provide BFD its view of the real world. Each back
  45. end provides a set of calls which the BFD front end can use to
  46. maintain its canonical form. The back ends also may keep around
  47. information for their own use, for greater efficiency.
  48. * Menu:
  49. * History:: History
  50. * How It Works:: How It Works
  51. * What BFD Version 2 Can Do:: What BFD Version 2 Can Do
  52. 
  53. File: bfd.info, Node: History, Next: How It Works, Prev: Overview, Up: Overview
  54. 1.1 History
  55. ===========
  56. One spur behind BFD was the desire, on the part of the GNU 960 team at
  57. Intel Oregon, for interoperability of applications on their COFF and
  58. b.out file formats. Cygnus was providing GNU support for the team, and
  59. was contracted to provide the required functionality.
  60. The name came from a conversation David Wallace was having with
  61. Richard Stallman about the library: RMS said that it would be quite
  62. hard--David said "BFD". Stallman was right, but the name stuck.
  63. At the same time, Ready Systems wanted much the same thing, but for
  64. different object file formats: IEEE-695, Oasys, Srecords, a.out and 68k
  65. coff.
  66. BFD was first implemented by members of Cygnus Support; Steve
  67. Chamberlain ('sac@cygnus.com'), John Gilmore ('gnu@cygnus.com'), K.
  68. Richard Pixley ('rich@cygnus.com') and David Henkel-Wallace
  69. ('gumby@cygnus.com').
  70. 
  71. File: bfd.info, Node: How It Works, Next: What BFD Version 2 Can Do, Prev: History, Up: Overview
  72. 1.2 How To Use BFD
  73. ==================
  74. To use the library, include 'bfd.h' and link with 'libbfd.a'.
  75. BFD provides a common interface to the parts of an object file for a
  76. calling application.
  77. When an application successfully opens a target file (object,
  78. archive, or whatever), a pointer to an internal structure is returned.
  79. This pointer points to a structure called 'bfd', described in 'bfd.h'.
  80. Our convention is to call this pointer a BFD, and instances of it within
  81. code 'abfd'. All operations on the target object file are applied as
  82. methods to the BFD. The mapping is defined within 'bfd.h' in a set of
  83. macros, all beginning with 'bfd_' to reduce namespace pollution.
  84. For example, this sequence does what you would probably expect:
  85. return the number of sections in an object file attached to a BFD
  86. 'abfd'.
  87. #include "bfd.h"
  88. unsigned int number_of_sections (abfd)
  89. bfd *abfd;
  90. {
  91. return bfd_count_sections (abfd);
  92. }
  93. The abstraction used within BFD is that an object file has:
  94. * a header,
  95. * a number of sections containing raw data (*note Sections::),
  96. * a set of relocations (*note Relocations::), and
  97. * some symbol information (*note Symbols::).
  98. Also, BFDs opened for archives have the additional attribute of an index
  99. and contain subordinate BFDs. This approach is fine for a.out and coff,
  100. but loses efficiency when applied to formats such as S-records and
  101. IEEE-695.
  102. 
  103. File: bfd.info, Node: What BFD Version 2 Can Do, Prev: How It Works, Up: Overview
  104. 1.3 What BFD Version 2 Can Do
  105. =============================
  106. When an object file is opened, BFD subroutines automatically determine
  107. the format of the input object file. They then build a descriptor in
  108. memory with pointers to routines that will be used to access elements of
  109. the object file's data structures.
  110. As different information from the object files is required, BFD reads
  111. from different sections of the file and processes them. For example, a
  112. very common operation for the linker is processing symbol tables. Each
  113. BFD back end provides a routine for converting between the object file's
  114. representation of symbols and an internal canonical format. When the
  115. linker asks for the symbol table of an object file, it calls through a
  116. memory pointer to the routine from the relevant BFD back end which reads
  117. and converts the table into a canonical form. The linker then operates
  118. upon the canonical form. When the link is finished and the linker
  119. writes the output file's symbol table, another BFD back end routine is
  120. called to take the newly created symbol table and convert it into the
  121. chosen output format.
  122. * Menu:
  123. * BFD information loss:: Information Loss
  124. * Canonical format:: The BFD canonical object-file format
  125. 
  126. File: bfd.info, Node: BFD information loss, Next: Canonical format, Up: What BFD Version 2 Can Do
  127. 1.3.1 Information Loss
  128. ----------------------
  129. _Information can be lost during output._ The output formats supported
  130. by BFD do not provide identical facilities, and information which can be
  131. described in one form has nowhere to go in another format. One example
  132. of this is alignment information in 'b.out'. There is nowhere in an
  133. 'a.out' format file to store alignment information on the contained
  134. data, so when a file is linked from 'b.out' and an 'a.out' image is
  135. produced, alignment information will not propagate to the output file.
  136. (The linker will still use the alignment information internally, so the
  137. link is performed correctly).
  138. Another example is COFF section names. COFF files may contain an
  139. unlimited number of sections, each one with a textual section name. If
  140. the target of the link is a format which does not have many sections
  141. (e.g., 'a.out') or has sections without names (e.g., the Oasys format),
  142. the link cannot be done simply. You can circumvent this problem by
  143. describing the desired input-to-output section mapping with the linker
  144. command language.
  145. _Information can be lost during canonicalization._ The BFD internal
  146. canonical form of the external formats is not exhaustive; there are
  147. structures in input formats for which there is no direct representation
  148. internally. This means that the BFD back ends cannot maintain all
  149. possible data richness through the transformation between external to
  150. internal and back to external formats.
  151. This limitation is only a problem when an application reads one
  152. format and writes another. Each BFD back end is responsible for
  153. maintaining as much data as possible, and the internal BFD canonical
  154. form has structures which are opaque to the BFD core, and exported only
  155. to the back ends. When a file is read in one format, the canonical form
  156. is generated for BFD and the application. At the same time, the back
  157. end saves away any information which may otherwise be lost. If the data
  158. is then written back in the same format, the back end routine will be
  159. able to use the canonical form provided by the BFD core as well as the
  160. information it prepared earlier. Since there is a great deal of
  161. commonality between back ends, there is no information lost when linking
  162. or copying big endian COFF to little endian COFF, or 'a.out' to 'b.out'.
  163. When a mixture of formats is linked, the information is only lost from
  164. the files whose format differs from the destination.
  165. 
  166. File: bfd.info, Node: Canonical format, Prev: BFD information loss, Up: What BFD Version 2 Can Do
  167. 1.3.2 The BFD canonical object-file format
  168. ------------------------------------------
  169. The greatest potential for loss of information occurs when there is the
  170. least overlap between the information provided by the source format,
  171. that stored by the canonical format, and that needed by the destination
  172. format. A brief description of the canonical form may help you
  173. understand which kinds of data you can count on preserving across
  174. conversions.
  175. _files_
  176. Information stored on a per-file basis includes target machine
  177. architecture, particular implementation format type, a demand
  178. pageable bit, and a write protected bit. Information like Unix
  179. magic numbers is not stored here--only the magic numbers' meaning,
  180. so a 'ZMAGIC' file would have both the demand pageable bit and the
  181. write protected text bit set. The byte order of the target is
  182. stored on a per-file basis, so that big- and little-endian object
  183. files may be used with one another.
  184. _sections_
  185. Each section in the input file contains the name of the section,
  186. the section's original address in the object file, size and
  187. alignment information, various flags, and pointers into other BFD
  188. data structures.
  189. _symbols_
  190. Each symbol contains a pointer to the information for the object
  191. file which originally defined it, its name, its value, and various
  192. flag bits. When a BFD back end reads in a symbol table, it
  193. relocates all symbols to make them relative to the base of the
  194. section where they were defined. Doing this ensures that each
  195. symbol points to its containing section. Each symbol also has a
  196. varying amount of hidden private data for the BFD back end. Since
  197. the symbol points to the original file, the private data format for
  198. that symbol is accessible. 'ld' can operate on a collection of
  199. symbols of wildly different formats without problems.
  200. Normal global and simple local symbols are maintained on output, so
  201. an output file (no matter its format) will retain symbols pointing
  202. to functions and to global, static, and common variables. Some
  203. symbol information is not worth retaining; in 'a.out', type
  204. information is stored in the symbol table as long symbol names.
  205. This information would be useless to most COFF debuggers; the
  206. linker has command-line switches to allow users to throw it away.
  207. There is one word of type information within the symbol, so if the
  208. format supports symbol type information within symbols (for
  209. example, COFF, Oasys) and the type is simple enough to fit within
  210. one word (nearly everything but aggregates), the information will
  211. be preserved.
  212. _relocation level_
  213. Each canonical BFD relocation record contains a pointer to the
  214. symbol to relocate to, the offset of the data to relocate, the
  215. section the data is in, and a pointer to a relocation type
  216. descriptor. Relocation is performed by passing messages through
  217. the relocation type descriptor and the symbol pointer. Therefore,
  218. relocations can be performed on output data using a relocation
  219. method that is only available in one of the input formats. For
  220. instance, Oasys provides a byte relocation format. A relocation
  221. record requesting this relocation type would point indirectly to a
  222. routine to perform this, so the relocation may be performed on a
  223. byte being written to a 68k COFF file, even though 68k COFF has no
  224. such relocation type.
  225. _line numbers_
  226. Object formats can contain, for debugging purposes, some form of
  227. mapping between symbols, source line numbers, and addresses in the
  228. output file. These addresses have to be relocated along with the
  229. symbol information. Each symbol with an associated list of line
  230. number records points to the first record of the list. The head of
  231. a line number list consists of a pointer to the symbol, which
  232. allows finding out the address of the function whose line number is
  233. being described. The rest of the list is made up of pairs: offsets
  234. into the section and line numbers. Any format which can simply
  235. derive this information can pass it successfully between formats.
  236. 
  237. File: bfd.info, Node: BFD front end, Next: BFD back ends, Prev: Overview, Up: Top
  238. 2 BFD Front End
  239. ***************
  240. * Menu:
  241. * typedef bfd::
  242. * Error reporting::
  243. * Miscellaneous::
  244. * Memory Usage::
  245. * Initialization::
  246. * Sections::
  247. * Symbols::
  248. * Archives::
  249. * Formats::
  250. * Relocations::
  251. * Core Files::
  252. * Targets::
  253. * Architectures::
  254. * Opening and Closing::
  255. * Internal::
  256. * File Caching::
  257. * Linker Functions::
  258. * Hash Tables::
  259. 
  260. File: bfd.info, Node: typedef bfd, Next: Error reporting, Prev: BFD front end, Up: BFD front end
  261. 2.1 'typedef bfd'
  262. =================
  263. A BFD has type 'bfd'; objects of this type are the cornerstone of any
  264. application using BFD. Using BFD consists of making references though
  265. the BFD and to data in the BFD.
  266. Here is the structure that defines the type 'bfd'. It contains the
  267. major data about the file and pointers to the rest of the data.
  268. enum bfd_direction
  269. {
  270. no_direction = 0,
  271. read_direction = 1,
  272. write_direction = 2,
  273. both_direction = 3
  274. };
  275. enum bfd_plugin_format
  276. {
  277. bfd_plugin_unknown = 0,
  278. bfd_plugin_yes = 1,
  279. bfd_plugin_no = 2
  280. };
  281. struct bfd_build_id
  282. {
  283. bfd_size_type size;
  284. bfd_byte data[1];
  285. };
  286. struct bfd
  287. {
  288. /* The filename the application opened the BFD with. */
  289. const char *filename;
  290. /* A pointer to the target jump table. */
  291. const struct bfd_target *xvec;
  292. /* The IOSTREAM, and corresponding IO vector that provide access
  293. to the file backing the BFD. */
  294. void *iostream;
  295. const struct bfd_iovec *iovec;
  296. /* The caching routines use these to maintain a
  297. least-recently-used list of BFDs. */
  298. struct bfd *lru_prev, *lru_next;
  299. /* Track current file position (or current buffer offset for
  300. in-memory BFDs). When a file is closed by the caching routines,
  301. BFD retains state information on the file here. */
  302. ufile_ptr where;
  303. /* File modified time, if mtime_set is TRUE. */
  304. long mtime;
  305. /* A unique identifier of the BFD */
  306. unsigned int id;
  307. /* The format which belongs to the BFD. (object, core, etc.) */
  308. ENUM_BITFIELD (bfd_format) format : 3;
  309. /* The direction with which the BFD was opened. */
  310. ENUM_BITFIELD (bfd_direction) direction : 2;
  311. /* Format_specific flags. */
  312. flagword flags : 20;
  313. /* Values that may appear in the flags field of a BFD. These also
  314. appear in the object_flags field of the bfd_target structure, where
  315. they indicate the set of flags used by that backend (not all flags
  316. are meaningful for all object file formats) (FIXME: at the moment,
  317. the object_flags values have mostly just been copied from backend
  318. to another, and are not necessarily correct). */
  319. #define BFD_NO_FLAGS 0x0
  320. /* BFD contains relocation entries. */
  321. #define HAS_RELOC 0x1
  322. /* BFD is directly executable. */
  323. #define EXEC_P 0x2
  324. /* BFD has line number information (basically used for F_LNNO in a
  325. COFF header). */
  326. #define HAS_LINENO 0x4
  327. /* BFD has debugging information. */
  328. #define HAS_DEBUG 0x08
  329. /* BFD has symbols. */
  330. #define HAS_SYMS 0x10
  331. /* BFD has local symbols (basically used for F_LSYMS in a COFF
  332. header). */
  333. #define HAS_LOCALS 0x20
  334. /* BFD is a dynamic object. */
  335. #define DYNAMIC 0x40
  336. /* Text section is write protected (if D_PAGED is not set, this is
  337. like an a.out NMAGIC file) (the linker sets this by default, but
  338. clears it for -r or -N). */
  339. #define WP_TEXT 0x80
  340. /* BFD is dynamically paged (this is like an a.out ZMAGIC file) (the
  341. linker sets this by default, but clears it for -r or -n or -N). */
  342. #define D_PAGED 0x100
  343. /* BFD is relaxable (this means that bfd_relax_section may be able to
  344. do something) (sometimes bfd_relax_section can do something even if
  345. this is not set). */
  346. #define BFD_IS_RELAXABLE 0x200
  347. /* This may be set before writing out a BFD to request using a
  348. traditional format. For example, this is used to request that when
  349. writing out an a.out object the symbols not be hashed to eliminate
  350. duplicates. */
  351. #define BFD_TRADITIONAL_FORMAT 0x400
  352. /* This flag indicates that the BFD contents are actually cached
  353. in memory. If this is set, iostream points to a bfd_in_memory
  354. struct. */
  355. #define BFD_IN_MEMORY 0x800
  356. /* This BFD has been created by the linker and doesn't correspond
  357. to any input file. */
  358. #define BFD_LINKER_CREATED 0x1000
  359. /* This may be set before writing out a BFD to request that it
  360. be written using values for UIDs, GIDs, timestamps, etc. that
  361. will be consistent from run to run. */
  362. #define BFD_DETERMINISTIC_OUTPUT 0x2000
  363. /* Compress sections in this BFD. */
  364. #define BFD_COMPRESS 0x4000
  365. /* Decompress sections in this BFD. */
  366. #define BFD_DECOMPRESS 0x8000
  367. /* BFD is a dummy, for plugins. */
  368. #define BFD_PLUGIN 0x10000
  369. /* Compress sections in this BFD with SHF_COMPRESSED from gABI. */
  370. #define BFD_COMPRESS_GABI 0x20000
  371. /* Convert ELF common symbol type to STT_COMMON or STT_OBJECT in this
  372. BFD. */
  373. #define BFD_CONVERT_ELF_COMMON 0x40000
  374. /* Use the ELF STT_COMMON type in this BFD. */
  375. #define BFD_USE_ELF_STT_COMMON 0x80000
  376. /* Flags bits to be saved in bfd_preserve_save. */
  377. #define BFD_FLAGS_SAVED \
  378. (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
  379. | BFD_PLUGIN | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON \
  380. | BFD_USE_ELF_STT_COMMON)
  381. /* Flags bits which are for BFD use only. */
  382. #define BFD_FLAGS_FOR_BFD_USE_MASK \
  383. (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
  384. | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
  385. | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
  386. /* Is the file descriptor being cached? That is, can it be closed as
  387. needed, and re-opened when accessed later? */
  388. unsigned int cacheable : 1;
  389. /* Marks whether there was a default target specified when the
  390. BFD was opened. This is used to select which matching algorithm
  391. to use to choose the back end. */
  392. unsigned int target_defaulted : 1;
  393. /* ... and here: (``once'' means at least once). */
  394. unsigned int opened_once : 1;
  395. /* Set if we have a locally maintained mtime value, rather than
  396. getting it from the file each time. */
  397. unsigned int mtime_set : 1;
  398. /* Flag set if symbols from this BFD should not be exported. */
  399. unsigned int no_export : 1;
  400. /* Remember when output has begun, to stop strange things
  401. from happening. */
  402. unsigned int output_has_begun : 1;
  403. /* Have archive map. */
  404. unsigned int has_armap : 1;
  405. /* Set if this is a thin archive. */
  406. unsigned int is_thin_archive : 1;
  407. /* Set if only required symbols should be added in the link hash table for
  408. this object. Used by VMS linkers. */
  409. unsigned int selective_search : 1;
  410. /* Set if this is the linker output BFD. */
  411. unsigned int is_linker_output : 1;
  412. /* Set if this is the linker input BFD. */
  413. unsigned int is_linker_input : 1;
  414. /* If this is an input for a compiler plug-in library. */
  415. ENUM_BITFIELD (bfd_plugin_format) plugin_format : 2;
  416. /* Set if this is a plugin output file. */
  417. unsigned int lto_output : 1;
  418. /* Set to dummy BFD created when claimed by a compiler plug-in
  419. library. */
  420. bfd *plugin_dummy_bfd;
  421. /* Currently my_archive is tested before adding origin to
  422. anything. I believe that this can become always an add of
  423. origin, with origin set to 0 for non archive files. */
  424. ufile_ptr origin;
  425. /* The origin in the archive of the proxy entry. This will
  426. normally be the same as origin, except for thin archives,
  427. when it will contain the current offset of the proxy in the
  428. thin archive rather than the offset of the bfd in its actual
  429. container. */
  430. ufile_ptr proxy_origin;
  431. /* A hash table for section names. */
  432. struct bfd_hash_table section_htab;
  433. /* Pointer to linked list of sections. */
  434. struct bfd_section *sections;
  435. /* The last section on the section list. */
  436. struct bfd_section *section_last;
  437. /* The number of sections. */
  438. unsigned int section_count;
  439. /* A field used by _bfd_generic_link_add_archive_symbols. This will
  440. be used only for archive elements. */
  441. int archive_pass;
  442. /* Stuff only useful for object files:
  443. The start address. */
  444. bfd_vma start_address;
  445. /* Symbol table for output BFD (with symcount entries).
  446. Also used by the linker to cache input BFD symbols. */
  447. struct bfd_symbol **outsymbols;
  448. /* Used for input and output. */
  449. unsigned int symcount;
  450. /* Used for slurped dynamic symbol tables. */
  451. unsigned int dynsymcount;
  452. /* Pointer to structure which contains architecture information. */
  453. const struct bfd_arch_info *arch_info;
  454. /* Stuff only useful for archives. */
  455. void *arelt_data;
  456. struct bfd *my_archive; /* The containing archive BFD. */
  457. struct bfd *archive_next; /* The next BFD in the archive. */
  458. struct bfd *archive_head; /* The first BFD in the archive. */
  459. struct bfd *nested_archives; /* List of nested archive in a flattened
  460. thin archive. */
  461. union {
  462. /* For input BFDs, a chain of BFDs involved in a link. */
  463. struct bfd *next;
  464. /* For output BFD, the linker hash table. */
  465. struct bfd_link_hash_table *hash;
  466. } link;
  467. /* Used by the back end to hold private data. */
  468. union
  469. {
  470. struct aout_data_struct *aout_data;
  471. struct artdata *aout_ar_data;
  472. struct coff_tdata *coff_obj_data;
  473. struct pe_tdata *pe_obj_data;
  474. struct xcoff_tdata *xcoff_obj_data;
  475. struct ecoff_tdata *ecoff_obj_data;
  476. struct srec_data_struct *srec_data;
  477. struct verilog_data_struct *verilog_data;
  478. struct ihex_data_struct *ihex_data;
  479. struct tekhex_data_struct *tekhex_data;
  480. struct elf_obj_tdata *elf_obj_data;
  481. struct mmo_data_struct *mmo_data;
  482. struct sun_core_struct *sun_core_data;
  483. struct sco5_core_struct *sco5_core_data;
  484. struct trad_core_struct *trad_core_data;
  485. struct som_data_struct *som_data;
  486. struct hpux_core_struct *hpux_core_data;
  487. struct hppabsd_core_struct *hppabsd_core_data;
  488. struct sgi_core_struct *sgi_core_data;
  489. struct lynx_core_struct *lynx_core_data;
  490. struct osf_core_struct *osf_core_data;
  491. struct cisco_core_struct *cisco_core_data;
  492. struct versados_data_struct *versados_data;
  493. struct netbsd_core_struct *netbsd_core_data;
  494. struct mach_o_data_struct *mach_o_data;
  495. struct mach_o_fat_data_struct *mach_o_fat_data;
  496. struct plugin_data_struct *plugin_data;
  497. struct bfd_pef_data_struct *pef_data;
  498. struct bfd_pef_xlib_data_struct *pef_xlib_data;
  499. struct bfd_sym_data_struct *sym_data;
  500. void *any;
  501. }
  502. tdata;
  503. /* Used by the application to hold private data. */
  504. void *usrdata;
  505. /* Where all the allocated stuff under this BFD goes. This is a
  506. struct objalloc *, but we use void * to avoid requiring the inclusion
  507. of objalloc.h. */
  508. void *memory;
  509. /* For input BFDs, the build ID, if the object has one. */
  510. const struct bfd_build_id *build_id;
  511. };
  512. /* See note beside bfd_set_section_userdata. */
  513. static inline bfd_boolean
  514. bfd_set_cacheable (bfd * abfd, bfd_boolean val)
  515. {
  516. abfd->cacheable = val;
  517. return TRUE;
  518. }
  519. 
  520. File: bfd.info, Node: Error reporting, Next: Miscellaneous, Prev: typedef bfd, Up: BFD front end
  521. 2.2 Error reporting
  522. ===================
  523. Most BFD functions return nonzero on success (check their individual
  524. documentation for precise semantics). On an error, they call
  525. 'bfd_set_error' to set an error condition that callers can check by
  526. calling 'bfd_get_error'. If that returns 'bfd_error_system_call', then
  527. check 'errno'.
  528. The easiest way to report a BFD error to the user is to use
  529. 'bfd_perror'.
  530. 2.2.1 Type 'bfd_error_type'
  531. ---------------------------
  532. The values returned by 'bfd_get_error' are defined by the enumerated
  533. type 'bfd_error_type'.
  534. typedef enum bfd_error
  535. {
  536. bfd_error_no_error = 0,
  537. bfd_error_system_call,
  538. bfd_error_invalid_target,
  539. bfd_error_wrong_format,
  540. bfd_error_wrong_object_format,
  541. bfd_error_invalid_operation,
  542. bfd_error_no_memory,
  543. bfd_error_no_symbols,
  544. bfd_error_no_armap,
  545. bfd_error_no_more_archived_files,
  546. bfd_error_malformed_archive,
  547. bfd_error_missing_dso,
  548. bfd_error_file_not_recognized,
  549. bfd_error_file_ambiguously_recognized,
  550. bfd_error_no_contents,
  551. bfd_error_nonrepresentable_section,
  552. bfd_error_no_debug_section,
  553. bfd_error_bad_value,
  554. bfd_error_file_truncated,
  555. bfd_error_file_too_big,
  556. bfd_error_on_input,
  557. bfd_error_invalid_error_code
  558. }
  559. bfd_error_type;
  560. 2.2.1.1 'bfd_get_error'
  561. .......................
  562. *Synopsis*
  563. bfd_error_type bfd_get_error (void);
  564. *Description*
  565. Return the current BFD error condition.
  566. 2.2.1.2 'bfd_set_error'
  567. .......................
  568. *Synopsis*
  569. void bfd_set_error (bfd_error_type error_tag);
  570. *Description*
  571. Set the BFD error condition to be ERROR_TAG.
  572. ERROR_TAG must not be bfd_error_on_input. Use bfd_set_input_error
  573. for input errors instead.
  574. 2.2.1.3 'bfd_set_input_error'
  575. .............................
  576. *Synopsis*
  577. void bfd_set_input_error (bfd *input, bfd_error_type error_tag);
  578. *Description*
  579. Set the BFD error condition to be bfd_error_on_input. INPUT is the
  580. input bfd where the error occurred, and ERROR_TAG the bfd_error_type
  581. error.
  582. 2.2.1.4 'bfd_errmsg'
  583. ....................
  584. *Synopsis*
  585. const char *bfd_errmsg (bfd_error_type error_tag);
  586. *Description*
  587. Return a string describing the error ERROR_TAG, or the system error if
  588. ERROR_TAG is 'bfd_error_system_call'.
  589. 2.2.1.5 'bfd_perror'
  590. ....................
  591. *Synopsis*
  592. void bfd_perror (const char *message);
  593. *Description*
  594. Print to the standard error stream a string describing the last BFD
  595. error that occurred, or the last system error if the last BFD error was
  596. a system call failure. If MESSAGE is non-NULL and non-empty, the error
  597. string printed is preceded by MESSAGE, a colon, and a space. It is
  598. followed by a newline.
  599. 2.2.2 BFD error handler
  600. -----------------------
  601. Some BFD functions want to print messages describing the problem. They
  602. call a BFD error handler function. This function may be overridden by
  603. the program.
  604. The BFD error handler acts like vprintf.
  605. typedef void (*bfd_error_handler_type) (const char *, va_list);
  606. 2.2.2.1 '_bfd_error_handler'
  607. ............................
  608. *Synopsis*
  609. void _bfd_error_handler (const char *fmt, ...) ATTRIBUTE_PRINTF_1;
  610. *Description*
  611. This is the default routine to handle BFD error messages. Like fprintf
  612. (stderr, ...), but also handles some extra format specifiers.
  613. %pA section name from section. For group components, prints group
  614. name too. %pB file name from bfd. For archive components, prints
  615. archive too.
  616. Beware: Only supports a maximum of 9 format arguments.
  617. 2.2.2.2 'bfd_set_error_handler'
  618. ...............................
  619. *Synopsis*
  620. bfd_error_handler_type bfd_set_error_handler (bfd_error_handler_type);
  621. *Description*
  622. Set the BFD error handler function. Returns the previous function.
  623. 2.2.2.3 'bfd_set_error_program_name'
  624. ....................................
  625. *Synopsis*
  626. void bfd_set_error_program_name (const char *);
  627. *Description*
  628. Set the program name to use when printing a BFD error. This is printed
  629. before the error message followed by a colon and space. The string must
  630. not be changed after it is passed to this function.
  631. 2.2.3 BFD assert handler
  632. ------------------------
  633. If BFD finds an internal inconsistency, the bfd assert handler is called
  634. with information on the BFD version, BFD source file and line. If this
  635. happens, most programs linked against BFD are expected to want to exit
  636. with an error, or mark the current BFD operation as failed, so it is
  637. recommended to override the default handler, which just calls
  638. _bfd_error_handler and continues.
  639. typedef void (*bfd_assert_handler_type) (const char *bfd_formatmsg,
  640. const char *bfd_version,
  641. const char *bfd_file,
  642. int bfd_line);
  643. 2.2.3.1 'bfd_set_assert_handler'
  644. ................................
  645. *Synopsis*
  646. bfd_assert_handler_type bfd_set_assert_handler (bfd_assert_handler_type);
  647. *Description*
  648. Set the BFD assert handler function. Returns the previous function.
  649. 
  650. File: bfd.info, Node: Miscellaneous, Next: Memory Usage, Prev: Error reporting, Up: BFD front end
  651. 2.3 Miscellaneous
  652. =================
  653. 2.3.1 Miscellaneous functions
  654. -----------------------------
  655. 2.3.1.1 'bfd_get_reloc_upper_bound'
  656. ...................................
  657. *Synopsis*
  658. long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect);
  659. *Description*
  660. Return the number of bytes required to store the relocation information
  661. associated with section SECT attached to bfd ABFD. If an error occurs,
  662. return -1.
  663. 2.3.1.2 'bfd_canonicalize_reloc'
  664. ................................
  665. *Synopsis*
  666. long bfd_canonicalize_reloc
  667. (bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
  668. *Description*
  669. Call the back end associated with the open BFD ABFD and translate the
  670. external form of the relocation information attached to SEC into the
  671. internal canonical form. Place the table into memory at LOC, which has
  672. been preallocated, usually by a call to 'bfd_get_reloc_upper_bound'.
  673. Returns the number of relocs, or -1 on error.
  674. The SYMS table is also needed for horrible internal magic reasons.
  675. 2.3.1.3 'bfd_set_reloc'
  676. .......................
  677. *Synopsis*
  678. void bfd_set_reloc
  679. (bfd *abfd, asection *sec, arelent **rel, unsigned int count);
  680. *Description*
  681. Set the relocation pointer and count within section SEC to the values
  682. REL and COUNT. The argument ABFD is ignored.
  683. #define bfd_set_reloc(abfd, asect, location, count) \
  684. BFD_SEND (abfd, _bfd_set_reloc, (abfd, asect, location, count))
  685. 2.3.1.4 'bfd_set_file_flags'
  686. ............................
  687. *Synopsis*
  688. bfd_boolean bfd_set_file_flags (bfd *abfd, flagword flags);
  689. *Description*
  690. Set the flag word in the BFD ABFD to the value FLAGS.
  691. Possible errors are:
  692. * 'bfd_error_wrong_format' - The target bfd was not of object format.
  693. * 'bfd_error_invalid_operation' - The target bfd was open for
  694. reading.
  695. * 'bfd_error_invalid_operation' - The flag word contained a bit which
  696. was not applicable to the type of file. E.g., an attempt was made
  697. to set the 'D_PAGED' bit on a BFD format which does not support
  698. demand paging.
  699. 2.3.1.5 'bfd_get_arch_size'
  700. ...........................
  701. *Synopsis*
  702. int bfd_get_arch_size (bfd *abfd);
  703. *Description*
  704. Returns the normalized architecture address size, in bits, as determined
  705. by the object file's format. By normalized, we mean either 32 or 64.
  706. For ELF, this information is included in the header. Use
  707. bfd_arch_bits_per_address for number of bits in the architecture
  708. address.
  709. *Returns*
  710. Returns the arch size in bits if known, '-1' otherwise.
  711. 2.3.1.6 'bfd_get_sign_extend_vma'
  712. .................................
  713. *Synopsis*
  714. int bfd_get_sign_extend_vma (bfd *abfd);
  715. *Description*
  716. Indicates if the target architecture "naturally" sign extends an
  717. address. Some architectures implicitly sign extend address values when
  718. they are converted to types larger than the size of an address. For
  719. instance, bfd_get_start_address() will return an address sign extended
  720. to fill a bfd_vma when this is the case.
  721. *Returns*
  722. Returns '1' if the target architecture is known to sign extend
  723. addresses, '0' if the target architecture is known to not sign extend
  724. addresses, and '-1' otherwise.
  725. 2.3.1.7 'bfd_set_start_address'
  726. ...............................
  727. *Synopsis*
  728. bfd_boolean bfd_set_start_address (bfd *abfd, bfd_vma vma);
  729. *Description*
  730. Make VMA the entry point of output BFD ABFD.
  731. *Returns*
  732. Returns 'TRUE' on success, 'FALSE' otherwise.
  733. 2.3.1.8 'bfd_get_gp_size'
  734. .........................
  735. *Synopsis*
  736. unsigned int bfd_get_gp_size (bfd *abfd);
  737. *Description*
  738. Return the maximum size of objects to be optimized using the GP register
  739. under MIPS ECOFF. This is typically set by the '-G' argument to the
  740. compiler, assembler or linker.
  741. 2.3.1.9 'bfd_set_gp_size'
  742. .........................
  743. *Synopsis*
  744. void bfd_set_gp_size (bfd *abfd, unsigned int i);
  745. *Description*
  746. Set the maximum size of objects to be optimized using the GP register
  747. under ECOFF or MIPS ELF. This is typically set by the '-G' argument to
  748. the compiler, assembler or linker.
  749. 2.3.1.10 'bfd_scan_vma'
  750. .......................
  751. *Synopsis*
  752. bfd_vma bfd_scan_vma (const char *string, const char **end, int base);
  753. *Description*
  754. Convert, like 'strtoul', a numerical expression STRING into a 'bfd_vma'
  755. integer, and return that integer. (Though without as many bells and
  756. whistles as 'strtoul'.) The expression is assumed to be unsigned (i.e.,
  757. positive). If given a BASE, it is used as the base for conversion. A
  758. base of 0 causes the function to interpret the string in hex if a
  759. leading "0x" or "0X" is found, otherwise in octal if a leading zero is
  760. found, otherwise in decimal.
  761. If the value would overflow, the maximum 'bfd_vma' value is returned.
  762. 2.3.1.11 'bfd_copy_private_header_data'
  763. .......................................
  764. *Synopsis*
  765. bfd_boolean bfd_copy_private_header_data (bfd *ibfd, bfd *obfd);
  766. *Description*
  767. Copy private BFD header information from the BFD IBFD to the the BFD
  768. OBFD. This copies information that may require sections to exist, but
  769. does not require symbol tables. Return 'true' on success, 'false' on
  770. error. Possible error returns are:
  771. * 'bfd_error_no_memory' - Not enough memory exists to create private
  772. data for OBFD.
  773. #define bfd_copy_private_header_data(ibfd, obfd) \
  774. BFD_SEND (obfd, _bfd_copy_private_header_data, \
  775. (ibfd, obfd))
  776. 2.3.1.12 'bfd_copy_private_bfd_data'
  777. ....................................
  778. *Synopsis*
  779. bfd_boolean bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd);
  780. *Description*
  781. Copy private BFD information from the BFD IBFD to the the BFD OBFD.
  782. Return 'TRUE' on success, 'FALSE' on error. Possible error returns are:
  783. * 'bfd_error_no_memory' - Not enough memory exists to create private
  784. data for OBFD.
  785. #define bfd_copy_private_bfd_data(ibfd, obfd) \
  786. BFD_SEND (obfd, _bfd_copy_private_bfd_data, \
  787. (ibfd, obfd))
  788. 2.3.1.13 'bfd_set_private_flags'
  789. ................................
  790. *Synopsis*
  791. bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
  792. *Description*
  793. Set private BFD flag information in the BFD ABFD. Return 'TRUE' on
  794. success, 'FALSE' on error. Possible error returns are:
  795. * 'bfd_error_no_memory' - Not enough memory exists to create private
  796. data for OBFD.
  797. #define bfd_set_private_flags(abfd, flags) \
  798. BFD_SEND (abfd, _bfd_set_private_flags, (abfd, flags))
  799. 2.3.1.14 'Other functions'
  800. ..........................
  801. *Description*
  802. The following functions exist but have not yet been documented.
  803. #define bfd_sizeof_headers(abfd, info) \
  804. BFD_SEND (abfd, _bfd_sizeof_headers, (abfd, info))
  805. #define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
  806. BFD_SEND (abfd, _bfd_find_nearest_line, \
  807. (abfd, syms, sec, off, file, func, line, NULL))
  808. #define bfd_find_nearest_line_discriminator(abfd, sec, syms, off, file, func, \
  809. line, disc) \
  810. BFD_SEND (abfd, _bfd_find_nearest_line, \
  811. (abfd, syms, sec, off, file, func, line, disc))
  812. #define bfd_find_line(abfd, syms, sym, file, line) \
  813. BFD_SEND (abfd, _bfd_find_line, \
  814. (abfd, syms, sym, file, line))
  815. #define bfd_find_inliner_info(abfd, file, func, line) \
  816. BFD_SEND (abfd, _bfd_find_inliner_info, \
  817. (abfd, file, func, line))
  818. #define bfd_debug_info_start(abfd) \
  819. BFD_SEND (abfd, _bfd_debug_info_start, (abfd))
  820. #define bfd_debug_info_end(abfd) \
  821. BFD_SEND (abfd, _bfd_debug_info_end, (abfd))
  822. #define bfd_debug_info_accumulate(abfd, section) \
  823. BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section))
  824. #define bfd_stat_arch_elt(abfd, stat) \
  825. BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
  826. #define bfd_update_armap_timestamp(abfd) \
  827. BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd))
  828. #define bfd_set_arch_mach(abfd, arch, mach)\
  829. BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach))
  830. #define bfd_relax_section(abfd, section, link_info, again) \
  831. BFD_SEND (abfd, _bfd_relax_section, (abfd, section, link_info, again))
  832. #define bfd_gc_sections(abfd, link_info) \
  833. BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info))
  834. #define bfd_lookup_section_flags(link_info, flag_info, section) \
  835. BFD_SEND (abfd, _bfd_lookup_section_flags, (link_info, flag_info, section))
  836. #define bfd_merge_sections(abfd, link_info) \
  837. BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info))
  838. #define bfd_is_group_section(abfd, sec) \
  839. BFD_SEND (abfd, _bfd_is_group_section, (abfd, sec))
  840. #define bfd_discard_group(abfd, sec) \
  841. BFD_SEND (abfd, _bfd_discard_group, (abfd, sec))
  842. #define bfd_link_hash_table_create(abfd) \
  843. BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd))
  844. #define bfd_link_add_symbols(abfd, info) \
  845. BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
  846. #define bfd_link_just_syms(abfd, sec, info) \
  847. BFD_SEND (abfd, _bfd_link_just_syms, (sec, info))
  848. #define bfd_final_link(abfd, info) \
  849. BFD_SEND (abfd, _bfd_final_link, (abfd, info))
  850. #define bfd_free_cached_info(abfd) \
  851. BFD_SEND (abfd, _bfd_free_cached_info, (abfd))
  852. #define bfd_get_dynamic_symtab_upper_bound(abfd) \
  853. BFD_SEND (abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd))
  854. #define bfd_print_private_bfd_data(abfd, file)\
  855. BFD_SEND (abfd, _bfd_print_private_bfd_data, (abfd, file))
  856. #define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
  857. BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
  858. #define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \
  859. BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, \
  860. dyncount, dynsyms, ret))
  861. #define bfd_get_dynamic_reloc_upper_bound(abfd) \
  862. BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))
  863. #define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \
  864. BFD_SEND (abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms))
  865. extern bfd_byte *bfd_get_relocated_section_contents
  866. (bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *,
  867. bfd_boolean, asymbol **);
  868. 2.3.1.15 'bfd_alt_mach_code'
  869. ............................
  870. *Synopsis*
  871. bfd_boolean bfd_alt_mach_code (bfd *abfd, int alternative);
  872. *Description*
  873. When more than one machine code number is available for the same machine
  874. type, this function can be used to switch between the preferred one
  875. (alternative == 0) and any others. Currently, only ELF supports this
  876. feature, with up to two alternate machine codes.
  877. 2.3.1.16 'bfd_emul_get_maxpagesize'
  878. ...................................
  879. *Synopsis*
  880. bfd_vma bfd_emul_get_maxpagesize (const char *);
  881. *Description*
  882. Returns the maximum page size, in bytes, as determined by emulation.
  883. *Returns*
  884. Returns the maximum page size in bytes for ELF, 0 otherwise.
  885. 2.3.1.17 'bfd_emul_set_maxpagesize'
  886. ...................................
  887. *Synopsis*
  888. void bfd_emul_set_maxpagesize (const char *, bfd_vma);
  889. *Description*
  890. For ELF, set the maximum page size for the emulation. It is a no-op for
  891. other formats.
  892. 2.3.1.18 'bfd_emul_get_commonpagesize'
  893. ......................................
  894. *Synopsis*
  895. bfd_vma bfd_emul_get_commonpagesize (const char *, bfd_boolean);
  896. *Description*
  897. Returns the common page size, in bytes, as determined by emulation.
  898. *Returns*
  899. Returns the common page size in bytes for ELF, 0 otherwise.
  900. 2.3.1.19 'bfd_emul_set_commonpagesize'
  901. ......................................
  902. *Synopsis*
  903. void bfd_emul_set_commonpagesize (const char *, bfd_vma);
  904. *Description*
  905. For ELF, set the common page size for the emulation. It is a no-op for
  906. other formats.
  907. 2.3.1.20 'bfd_demangle'
  908. .......................
  909. *Synopsis*
  910. char *bfd_demangle (bfd *, const char *, int);
  911. *Description*
  912. Wrapper around cplus_demangle. Strips leading underscores and other
  913. such chars that would otherwise confuse the demangler. If passed a g++
  914. v3 ABI mangled name, returns a buffer allocated with malloc holding the
  915. demangled name. Returns NULL otherwise and on memory alloc failure.
  916. 2.3.1.21 'bfd_update_compression_header'
  917. ........................................
  918. *Synopsis*
  919. void bfd_update_compression_header
  920. (bfd *abfd, bfd_byte *contents, asection *sec);
  921. *Description*
  922. Set the compression header at CONTENTS of SEC in ABFD and update
  923. elf_section_flags for compression.
  924. 2.3.1.22 'bfd_check_compression_header'
  925. .......................................
  926. *Synopsis*
  927. bfd_boolean bfd_check_compression_header
  928. (bfd *abfd, bfd_byte *contents, asection *sec,
  929. bfd_size_type *uncompressed_size,
  930. unsigned int *uncompressed_alignment_power);
  931. *Description*
  932. Check the compression header at CONTENTS of SEC in ABFD and store the
  933. uncompressed size in UNCOMPRESSED_SIZE and the uncompressed data
  934. alignment in UNCOMPRESSED_ALIGNMENT_POWER if the compression header is
  935. valid.
  936. *Returns*
  937. Return TRUE if the compression header is valid.
  938. 2.3.1.23 'bfd_get_compression_header_size'
  939. ..........................................
  940. *Synopsis*
  941. int bfd_get_compression_header_size (bfd *abfd, asection *sec);
  942. *Description*
  943. Return the size of the compression header of SEC in ABFD.
  944. *Returns*
  945. Return the size of the compression header in bytes.
  946. 2.3.1.24 'bfd_convert_section_size'
  947. ...................................
  948. *Synopsis*
  949. bfd_size_type bfd_convert_section_size
  950. (bfd *ibfd, asection *isec, bfd *obfd, bfd_size_type size);
  951. *Description*
  952. Convert the size SIZE of the section ISEC in input BFD IBFD to the
  953. section size in output BFD OBFD.
  954. 2.3.1.25 'bfd_convert_section_contents'
  955. .......................................
  956. *Synopsis*
  957. bfd_boolean bfd_convert_section_contents
  958. (bfd *ibfd, asection *isec, bfd *obfd,
  959. bfd_byte **ptr, bfd_size_type *ptr_size);
  960. *Description*
  961. Convert the contents, stored in *PTR, of the section ISEC in input BFD
  962. IBFD to output BFD OBFD if needed. The original buffer pointed to by
  963. *PTR may be freed and *PTR is returned with memory malloc'd by this
  964. function, and the new size written to PTR_SIZE.
  965. 2.3.1.26 'struct bfd_iovec'
  966. ...........................
  967. *Description*
  968. The 'struct bfd_iovec' contains the internal file I/O class. Each 'BFD'
  969. has an instance of this class and all file I/O is routed through it (it
  970. is assumed that the instance implements all methods listed below).
  971. struct bfd_iovec
  972. {
  973. /* To avoid problems with macros, a "b" rather than "f"
  974. prefix is prepended to each method name. */
  975. /* Attempt to read/write NBYTES on ABFD's IOSTREAM storing/fetching
  976. bytes starting at PTR. Return the number of bytes actually
  977. transfered (a read past end-of-file returns less than NBYTES),
  978. or -1 (setting bfd_error) if an error occurs. */
  979. file_ptr (*bread) (struct bfd *abfd, void *ptr, file_ptr nbytes);
  980. file_ptr (*bwrite) (struct bfd *abfd, const void *ptr,
  981. file_ptr nbytes);
  982. /* Return the current IOSTREAM file offset, or -1 (setting bfd_error
  983. if an error occurs. */
  984. file_ptr (*btell) (struct bfd *abfd);
  985. /* For the following, on successful completion a value of 0 is returned.
  986. Otherwise, a value of -1 is returned (and bfd_error is set). */
  987. int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
  988. int (*bclose) (struct bfd *abfd);
  989. int (*bflush) (struct bfd *abfd);
  990. int (*bstat) (struct bfd *abfd, struct stat *sb);
  991. /* Mmap a part of the files. ADDR, LEN, PROT, FLAGS and OFFSET are the usual
  992. mmap parameter, except that LEN and OFFSET do not need to be page
  993. aligned. Returns (void *)-1 on failure, mmapped address on success.
  994. Also write in MAP_ADDR the address of the page aligned buffer and in
  995. MAP_LEN the size mapped (a page multiple). Use unmap with MAP_ADDR and
  996. MAP_LEN to unmap. */
  997. void *(*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,
  998. int prot, int flags, file_ptr offset,
  999. void **map_addr, bfd_size_type *map_len);
  1000. };
  1001. extern const struct bfd_iovec _bfd_memory_iovec;
  1002. 2.3.1.27 'bfd_get_mtime'
  1003. ........................
  1004. *Synopsis*
  1005. long bfd_get_mtime (bfd *abfd);
  1006. *Description*
  1007. Return the file modification time (as read from the file system, or from
  1008. the archive header for archive members).
  1009. 2.3.1.28 'bfd_get_size'
  1010. .......................
  1011. *Synopsis*
  1012. ufile_ptr bfd_get_size (bfd *abfd);
  1013. *Description*
  1014. Return the file size (as read from file system) for the file associated
  1015. with BFD ABFD.
  1016. The initial motivation for, and use of, this routine is not so we can
  1017. get the exact size of the object the BFD applies to, since that might
  1018. not be generally possible (archive members for example). It would be
  1019. ideal if someone could eventually modify it so that such results were
  1020. guaranteed.
  1021. Instead, we want to ask questions like "is this NNN byte sized object
  1022. I'm about to try read from file offset YYY reasonable?" As as example
  1023. of where we might do this, some object formats use string tables for
  1024. which the first 'sizeof (long)' bytes of the table contain the size of
  1025. the table itself, including the size bytes. If an application tries to
  1026. read what it thinks is one of these string tables, without some way to
  1027. validate the size, and for some reason the size is wrong (byte swapping
  1028. error, wrong location for the string table, etc.), the only clue is
  1029. likely to be a read error when it tries to read the table, or a "virtual
  1030. memory exhausted" error when it tries to allocate 15 bazillon bytes of
  1031. space for the 15 bazillon byte table it is about to read. This function
  1032. at least allows us to answer the question, "is the size reasonable?".
  1033. 2.3.1.29 'bfd_get_file_size'
  1034. ............................
  1035. *Synopsis*
  1036. ufile_ptr bfd_get_file_size (bfd *abfd);
  1037. *Description*
  1038. Return the file size (as read from file system) for the file associated
  1039. with BFD ABFD. It supports both normal files and archive elements.
  1040. 2.3.1.30 'bfd_mmap'
  1041. ...................
  1042. *Synopsis*
  1043. void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
  1044. int prot, int flags, file_ptr offset,
  1045. void **map_addr, bfd_size_type *map_len);
  1046. *Description*
  1047. Return mmap()ed region of the file, if possible and implemented. LEN
  1048. and OFFSET do not need to be page aligned. The page aligned address and
  1049. length are written to MAP_ADDR and MAP_LEN.
  1050. 
  1051. File: bfd.info, Node: Memory Usage, Next: Initialization, Prev: Miscellaneous, Up: BFD front end
  1052. 2.4 Memory Usage
  1053. ================
  1054. BFD keeps all of its internal structures in obstacks. There is one
  1055. obstack per open BFD file, into which the current state is stored. When
  1056. a BFD is closed, the obstack is deleted, and so everything which has
  1057. been allocated by BFD for the closing file is thrown away.
  1058. BFD does not free anything created by an application, but pointers
  1059. into 'bfd' structures become invalid on a 'bfd_close'; for example,
  1060. after a 'bfd_close' the vector passed to 'bfd_canonicalize_symtab' is
  1061. still around, since it has been allocated by the application, but the
  1062. data that it pointed to are lost.
  1063. The general rule is to not close a BFD until all operations dependent
  1064. upon data from the BFD have been completed, or all the data from within
  1065. the file has been copied. To help with the management of memory, there
  1066. is a function ('bfd_alloc_size') which returns the number of bytes in
  1067. obstacks associated with the supplied BFD. This could be used to select
  1068. the greediest open BFD, close it to reclaim the memory, perform some
  1069. operation and reopen the BFD again, to get a fresh copy of the data
  1070. structures.
  1071. 
  1072. File: bfd.info, Node: Initialization, Next: Sections, Prev: Memory Usage, Up: BFD front end
  1073. 2.5 Initialization
  1074. ==================
  1075. 2.5.1 Initialization functions
  1076. ------------------------------
  1077. These are the functions that handle initializing a BFD.
  1078. 2.5.1.1 'bfd_init'
  1079. ..................
  1080. *Synopsis*
  1081. unsigned int bfd_init (void);
  1082. *Description*
  1083. This routine must be called before any other BFD function to initialize
  1084. magical internal data structures. Returns a magic number, which may be
  1085. used to check that the bfd library is configured as expected by users.
  1086. /* Value returned by bfd_init. */
  1087. #define BFD_INIT_MAGIC (sizeof (struct bfd_section))
  1088. 
  1089. File: bfd.info, Node: Sections, Next: Symbols, Prev: Initialization, Up: BFD front end
  1090. 2.6 Sections
  1091. ============
  1092. The raw data contained within a BFD is maintained through the section
  1093. abstraction. A single BFD may have any number of sections. It keeps
  1094. hold of them by pointing to the first; each one points to the next in
  1095. the list.
  1096. Sections are supported in BFD in 'section.c'.
  1097. * Menu:
  1098. * Section Input::
  1099. * Section Output::
  1100. * typedef asection::
  1101. * section prototypes::
  1102. 
  1103. File: bfd.info, Node: Section Input, Next: Section Output, Prev: Sections, Up: Sections
  1104. 2.6.1 Section input
  1105. -------------------
  1106. When a BFD is opened for reading, the section structures are created and
  1107. attached to the BFD.
  1108. Each section has a name which describes the section in the outside
  1109. world--for example, 'a.out' would contain at least three sections,
  1110. called '.text', '.data' and '.bss'.
  1111. Names need not be unique; for example a COFF file may have several
  1112. sections named '.data'.
  1113. Sometimes a BFD will contain more than the "natural" number of
  1114. sections. A back end may attach other sections containing constructor
  1115. data, or an application may add a section (using 'bfd_make_section') to
  1116. the sections attached to an already open BFD. For example, the linker
  1117. creates an extra section 'COMMON' for each input file's BFD to hold
  1118. information about common storage.
  1119. The raw data is not necessarily read in when the section descriptor
  1120. is created. Some targets may leave the data in place until a
  1121. 'bfd_get_section_contents' call is made. Other back ends may read in
  1122. all the data at once. For example, an S-record file has to be read once
  1123. to determine the size of the data.
  1124. 
  1125. File: bfd.info, Node: Section Output, Next: typedef asection, Prev: Section Input, Up: Sections
  1126. 2.6.2 Section output
  1127. --------------------
  1128. To write a new object style BFD, the various sections to be written have
  1129. to be created. They are attached to the BFD in the same way as input
  1130. sections; data is written to the sections using
  1131. 'bfd_set_section_contents'.
  1132. Any program that creates or combines sections (e.g., the assembler
  1133. and linker) must use the 'asection' fields 'output_section' and
  1134. 'output_offset' to indicate the file sections to which each section must
  1135. be written. (If the section is being created from scratch,
  1136. 'output_section' should probably point to the section itself and
  1137. 'output_offset' should probably be zero.)
  1138. The data to be written comes from input sections attached (via
  1139. 'output_section' pointers) to the output sections. The output section
  1140. structure can be considered a filter for the input section: the output
  1141. section determines the vma of the output data and the name, but the
  1142. input section determines the offset into the output section of the data
  1143. to be written.
  1144. E.g., to create a section "O", starting at 0x100, 0x123 long,
  1145. containing two subsections, "A" at offset 0x0 (i.e., at vma 0x100) and
  1146. "B" at offset 0x20 (i.e., at vma 0x120) the 'asection' structures would
  1147. look like:
  1148. section name "A"
  1149. output_offset 0x00
  1150. size 0x20
  1151. output_section -----------> section name "O"
  1152. | vma 0x100
  1153. section name "B" | size 0x123
  1154. output_offset 0x20 |
  1155. size 0x103 |
  1156. output_section --------|
  1157. 2.6.3 Link orders
  1158. -----------------
  1159. The data within a section is stored in a "link_order". These are much
  1160. like the fixups in 'gas'. The link_order abstraction allows a section
  1161. to grow and shrink within itself.
  1162. A link_order knows how big it is, and which is the next link_order
  1163. and where the raw data for it is; it also points to a list of
  1164. relocations which apply to it.
  1165. The link_order is used by the linker to perform relaxing on final
  1166. code. The compiler creates code which is as big as necessary to make it
  1167. work without relaxing, and the user can select whether to relax.
  1168. Sometimes relaxing takes a lot of time. The linker runs around the
  1169. relocations to see if any are attached to data which can be shrunk, if
  1170. so it does it on a link_order by link_order basis.
  1171. 
  1172. File: bfd.info, Node: typedef asection, Next: section prototypes, Prev: Section Output, Up: Sections
  1173. 2.6.4 typedef asection
  1174. ----------------------
  1175. Here is the section structure:
  1176. typedef struct bfd_section
  1177. {
  1178. /* The name of the section; the name isn't a copy, the pointer is
  1179. the same as that passed to bfd_make_section. */
  1180. const char *name;
  1181. /* A unique sequence number. */
  1182. unsigned int id;
  1183. /* Which section in the bfd; 0..n-1 as sections are created in a bfd. */
  1184. unsigned int index;
  1185. /* The next section in the list belonging to the BFD, or NULL. */
  1186. struct bfd_section *next;
  1187. /* The previous section in the list belonging to the BFD, or NULL. */
  1188. struct bfd_section *prev;
  1189. /* The field flags contains attributes of the section. Some
  1190. flags are read in from the object file, and some are
  1191. synthesized from other information. */
  1192. flagword flags;
  1193. #define SEC_NO_FLAGS 0x0
  1194. /* Tells the OS to allocate space for this section when loading.
  1195. This is clear for a section containing debug information only. */
  1196. #define SEC_ALLOC 0x1
  1197. /* Tells the OS to load the section from the file when loading.
  1198. This is clear for a .bss section. */
  1199. #define SEC_LOAD 0x2
  1200. /* The section contains data still to be relocated, so there is
  1201. some relocation information too. */
  1202. #define SEC_RELOC 0x4
  1203. /* A signal to the OS that the section contains read only data. */
  1204. #define SEC_READONLY 0x8
  1205. /* The section contains code only. */
  1206. #define SEC_CODE 0x10
  1207. /* The section contains data only. */
  1208. #define SEC_DATA 0x20
  1209. /* The section will reside in ROM. */
  1210. #define SEC_ROM 0x40
  1211. /* The section contains constructor information. This section
  1212. type is used by the linker to create lists of constructors and
  1213. destructors used by g++. When a back end sees a symbol
  1214. which should be used in a constructor list, it creates a new
  1215. section for the type of name (e.g., __CTOR_LIST__), attaches
  1216. the symbol to it, and builds a relocation. To build the lists
  1217. of constructors, all the linker has to do is catenate all the
  1218. sections called __CTOR_LIST__ and relocate the data
  1219. contained within - exactly the operations it would peform on
  1220. standard data. */
  1221. #define SEC_CONSTRUCTOR 0x80
  1222. /* The section has contents - a data section could be
  1223. SEC_ALLOC | SEC_HAS_CONTENTS; a debug section could be
  1224. SEC_HAS_CONTENTS */
  1225. #define SEC_HAS_CONTENTS 0x100
  1226. /* An instruction to the linker to not output the section
  1227. even if it has information which would normally be written. */
  1228. #define SEC_NEVER_LOAD 0x200
  1229. /* The section contains thread local data. */
  1230. #define SEC_THREAD_LOCAL 0x400
  1231. /* The section's size is fixed. Generic linker code will not
  1232. recalculate it and it is up to whoever has set this flag to
  1233. get the size right. */
  1234. #define SEC_FIXED_SIZE 0x800
  1235. /* The section contains common symbols (symbols may be defined
  1236. multiple times, the value of a symbol is the amount of
  1237. space it requires, and the largest symbol value is the one
  1238. used). Most targets have exactly one of these (which we
  1239. translate to bfd_com_section_ptr), but ECOFF has two. */
  1240. #define SEC_IS_COMMON 0x1000
  1241. /* The section contains only debugging information. For
  1242. example, this is set for ELF .debug and .stab sections.
  1243. strip tests this flag to see if a section can be
  1244. discarded. */
  1245. #define SEC_DEBUGGING 0x2000
  1246. /* The contents of this section are held in memory pointed to
  1247. by the contents field. This is checked by bfd_get_section_contents,
  1248. and the data is retrieved from memory if appropriate. */
  1249. #define SEC_IN_MEMORY 0x4000
  1250. /* The contents of this section are to be excluded by the
  1251. linker for executable and shared objects unless those
  1252. objects are to be further relocated. */
  1253. #define SEC_EXCLUDE 0x8000
  1254. /* The contents of this section are to be sorted based on the sum of
  1255. the symbol and addend values specified by the associated relocation
  1256. entries. Entries without associated relocation entries will be
  1257. appended to the end of the section in an unspecified order. */
  1258. #define SEC_SORT_ENTRIES 0x10000
  1259. /* When linking, duplicate sections of the same name should be
  1260. discarded, rather than being combined into a single section as
  1261. is usually done. This is similar to how common symbols are
  1262. handled. See SEC_LINK_DUPLICATES below. */
  1263. #define SEC_LINK_ONCE 0x20000
  1264. /* If SEC_LINK_ONCE is set, this bitfield describes how the linker
  1265. should handle duplicate sections. */
  1266. #define SEC_LINK_DUPLICATES 0xc0000
  1267. /* This value for SEC_LINK_DUPLICATES means that duplicate
  1268. sections with the same name should simply be discarded. */
  1269. #define SEC_LINK_DUPLICATES_DISCARD 0x0
  1270. /* This value for SEC_LINK_DUPLICATES means that the linker
  1271. should warn if there are any duplicate sections, although
  1272. it should still only link one copy. */
  1273. #define SEC_LINK_DUPLICATES_ONE_ONLY 0x40000
  1274. /* This value for SEC_LINK_DUPLICATES means that the linker
  1275. should warn if any duplicate sections are a different size. */
  1276. #define SEC_LINK_DUPLICATES_SAME_SIZE 0x80000
  1277. /* This value for SEC_LINK_DUPLICATES means that the linker
  1278. should warn if any duplicate sections contain different
  1279. contents. */
  1280. #define SEC_LINK_DUPLICATES_SAME_CONTENTS \
  1281. (SEC_LINK_DUPLICATES_ONE_ONLY | SEC_LINK_DUPLICATES_SAME_SIZE)
  1282. /* This section was created by the linker as part of dynamic
  1283. relocation or other arcane processing. It is skipped when
  1284. going through the first-pass output, trusting that someone
  1285. else up the line will take care of it later. */
  1286. #define SEC_LINKER_CREATED 0x100000
  1287. /* This section should not be subject to garbage collection.
  1288. Also set to inform the linker that this section should not be
  1289. listed in the link map as discarded. */
  1290. #define SEC_KEEP 0x200000
  1291. /* This section contains "short" data, and should be placed
  1292. "near" the GP. */
  1293. #define SEC_SMALL_DATA 0x400000
  1294. /* Attempt to merge identical entities in the section.
  1295. Entity size is given in the entsize field. */
  1296. #define SEC_MERGE 0x800000
  1297. /* If given with SEC_MERGE, entities to merge are zero terminated
  1298. strings where entsize specifies character size instead of fixed
  1299. size entries. */
  1300. #define SEC_STRINGS 0x1000000
  1301. /* This section contains data about section groups. */
  1302. #define SEC_GROUP 0x2000000
  1303. /* The section is a COFF shared library section. This flag is
  1304. only for the linker. If this type of section appears in
  1305. the input file, the linker must copy it to the output file
  1306. without changing the vma or size. FIXME: Although this
  1307. was originally intended to be general, it really is COFF
  1308. specific (and the flag was renamed to indicate this). It
  1309. might be cleaner to have some more general mechanism to
  1310. allow the back end to control what the linker does with
  1311. sections. */
  1312. #define SEC_COFF_SHARED_LIBRARY 0x4000000
  1313. /* This input section should be copied to output in reverse order
  1314. as an array of pointers. This is for ELF linker internal use
  1315. only. */
  1316. #define SEC_ELF_REVERSE_COPY 0x4000000
  1317. /* This section contains data which may be shared with other
  1318. executables or shared objects. This is for COFF only. */
  1319. #define SEC_COFF_SHARED 0x8000000
  1320. /* This section should be compressed. This is for ELF linker
  1321. internal use only. */
  1322. #define SEC_ELF_COMPRESS 0x8000000
  1323. /* When a section with this flag is being linked, then if the size of
  1324. the input section is less than a page, it should not cross a page
  1325. boundary. If the size of the input section is one page or more,
  1326. it should be aligned on a page boundary. This is for TI
  1327. TMS320C54X only. */
  1328. #define SEC_TIC54X_BLOCK 0x10000000
  1329. /* This section should be renamed. This is for ELF linker
  1330. internal use only. */
  1331. #define SEC_ELF_RENAME 0x10000000
  1332. /* Conditionally link this section; do not link if there are no
  1333. references found to any symbol in the section. This is for TI
  1334. TMS320C54X only. */
  1335. #define SEC_TIC54X_CLINK 0x20000000
  1336. /* This section contains vliw code. This is for Toshiba MeP only. */
  1337. #define SEC_MEP_VLIW 0x20000000
  1338. /* Indicate that section has the no read flag set. This happens
  1339. when memory read flag isn't set. */
  1340. #define SEC_COFF_NOREAD 0x40000000
  1341. /* Indicate that section has the purecode flag set. */
  1342. #define SEC_ELF_PURECODE 0x80000000
  1343. /* End of section flags. */
  1344. /* Some internal packed boolean fields. */
  1345. /* See the vma field. */
  1346. unsigned int user_set_vma : 1;
  1347. /* A mark flag used by some of the linker backends. */
  1348. unsigned int linker_mark : 1;
  1349. /* Another mark flag used by some of the linker backends. Set for
  1350. output sections that have an input section. */
  1351. unsigned int linker_has_input : 1;
  1352. /* Mark flag used by some linker backends for garbage collection. */
  1353. unsigned int gc_mark : 1;
  1354. /* Section compression status. */
  1355. unsigned int compress_status : 2;
  1356. #define COMPRESS_SECTION_NONE 0
  1357. #define COMPRESS_SECTION_DONE 1
  1358. #define DECOMPRESS_SECTION_SIZED 2
  1359. /* The following flags are used by the ELF linker. */
  1360. /* Mark sections which have been allocated to segments. */
  1361. unsigned int segment_mark : 1;
  1362. /* Type of sec_info information. */
  1363. unsigned int sec_info_type:3;
  1364. #define SEC_INFO_TYPE_NONE 0
  1365. #define SEC_INFO_TYPE_STABS 1
  1366. #define SEC_INFO_TYPE_MERGE 2
  1367. #define SEC_INFO_TYPE_EH_FRAME 3
  1368. #define SEC_INFO_TYPE_JUST_SYMS 4
  1369. #define SEC_INFO_TYPE_TARGET 5
  1370. #define SEC_INFO_TYPE_EH_FRAME_ENTRY 6
  1371. /* Nonzero if this section uses RELA relocations, rather than REL. */
  1372. unsigned int use_rela_p:1;
  1373. /* Bits used by various backends. The generic code doesn't touch
  1374. these fields. */
  1375. unsigned int sec_flg0:1;
  1376. unsigned int sec_flg1:1;
  1377. unsigned int sec_flg2:1;
  1378. unsigned int sec_flg3:1;
  1379. unsigned int sec_flg4:1;
  1380. unsigned int sec_flg5:1;
  1381. /* End of internal packed boolean fields. */
  1382. /* The virtual memory address of the section - where it will be
  1383. at run time. The symbols are relocated against this. The
  1384. user_set_vma flag is maintained by bfd; if it's not set, the
  1385. backend can assign addresses (for example, in a.out, where
  1386. the default address for .data is dependent on the specific
  1387. target and various flags). */
  1388. bfd_vma vma;
  1389. /* The load address of the section - where it would be in a
  1390. rom image; really only used for writing section header
  1391. information. */
  1392. bfd_vma lma;
  1393. /* The size of the section in *octets*, as it will be output.
  1394. Contains a value even if the section has no contents (e.g., the
  1395. size of .bss). */
  1396. bfd_size_type size;
  1397. /* For input sections, the original size on disk of the section, in
  1398. octets. This field should be set for any section whose size is
  1399. changed by linker relaxation. It is required for sections where
  1400. the linker relaxation scheme doesn't cache altered section and
  1401. reloc contents (stabs, eh_frame, SEC_MERGE, some coff relaxing
  1402. targets), and thus the original size needs to be kept to read the
  1403. section multiple times. For output sections, rawsize holds the
  1404. section size calculated on a previous linker relaxation pass. */
  1405. bfd_size_type rawsize;
  1406. /* The compressed size of the section in octets. */
  1407. bfd_size_type compressed_size;
  1408. /* Relaxation table. */
  1409. struct relax_table *relax;
  1410. /* Count of used relaxation table entries. */
  1411. int relax_count;
  1412. /* If this section is going to be output, then this value is the
  1413. offset in *bytes* into the output section of the first byte in the
  1414. input section (byte ==> smallest addressable unit on the
  1415. target). In most cases, if this was going to start at the
  1416. 100th octet (8-bit quantity) in the output section, this value
  1417. would be 100. However, if the target byte size is 16 bits
  1418. (bfd_octets_per_byte is "2"), this value would be 50. */
  1419. bfd_vma output_offset;
  1420. /* The output section through which to map on output. */
  1421. struct bfd_section *output_section;
  1422. /* The alignment requirement of the section, as an exponent of 2 -
  1423. e.g., 3 aligns to 2^3 (or 8). */
  1424. unsigned int alignment_power;
  1425. /* If an input section, a pointer to a vector of relocation
  1426. records for the data in this section. */
  1427. struct reloc_cache_entry *relocation;
  1428. /* If an output section, a pointer to a vector of pointers to
  1429. relocation records for the data in this section. */
  1430. struct reloc_cache_entry **orelocation;
  1431. /* The number of relocation records in one of the above. */
  1432. unsigned reloc_count;
  1433. /* Information below is back end specific - and not always used
  1434. or updated. */
  1435. /* File position of section data. */
  1436. file_ptr filepos;
  1437. /* File position of relocation info. */
  1438. file_ptr rel_filepos;
  1439. /* File position of line data. */
  1440. file_ptr line_filepos;
  1441. /* Pointer to data for applications. */
  1442. void *userdata;
  1443. /* If the SEC_IN_MEMORY flag is set, this points to the actual
  1444. contents. */
  1445. unsigned char *contents;
  1446. /* Attached line number information. */
  1447. alent *lineno;
  1448. /* Number of line number records. */
  1449. unsigned int lineno_count;
  1450. /* Entity size for merging purposes. */
  1451. unsigned int entsize;
  1452. /* Points to the kept section if this section is a link-once section,
  1453. and is discarded. */
  1454. struct bfd_section *kept_section;
  1455. /* When a section is being output, this value changes as more
  1456. linenumbers are written out. */
  1457. file_ptr moving_line_filepos;
  1458. /* What the section number is in the target world. */
  1459. int target_index;
  1460. void *used_by_bfd;
  1461. /* If this is a constructor section then here is a list of the
  1462. relocations created to relocate items within it. */
  1463. struct relent_chain *constructor_chain;
  1464. /* The BFD which owns the section. */
  1465. bfd *owner;
  1466. /* A symbol which points at this section only. */
  1467. struct bfd_symbol *symbol;
  1468. struct bfd_symbol **symbol_ptr_ptr;
  1469. /* Early in the link process, map_head and map_tail are used to build
  1470. a list of input sections attached to an output section. Later,
  1471. output sections use these fields for a list of bfd_link_order
  1472. structs. */
  1473. union {
  1474. struct bfd_link_order *link_order;
  1475. struct bfd_section *s;
  1476. } map_head, map_tail;
  1477. } asection;
  1478. /* Relax table contains information about instructions which can
  1479. be removed by relaxation -- replacing a long address with a
  1480. short address. */
  1481. struct relax_table {
  1482. /* Address where bytes may be deleted. */
  1483. bfd_vma addr;
  1484. /* Number of bytes to be deleted. */
  1485. int size;
  1486. };
  1487. /* Note: the following are provided as inline functions rather than macros
  1488. because not all callers use the return value. A macro implementation
  1489. would use a comma expression, eg: "((ptr)->foo = val, TRUE)" and some
  1490. compilers will complain about comma expressions that have no effect. */
  1491. static inline bfd_boolean
  1492. bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr,
  1493. void * val)
  1494. {
  1495. ptr->userdata = val;
  1496. return TRUE;
  1497. }
  1498. static inline bfd_boolean
  1499. bfd_set_section_vma (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, bfd_vma val)
  1500. {
  1501. ptr->vma = ptr->lma = val;
  1502. ptr->user_set_vma = TRUE;
  1503. return TRUE;
  1504. }
  1505. static inline bfd_boolean
  1506. bfd_set_section_alignment (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr,
  1507. unsigned int val)
  1508. {
  1509. ptr->alignment_power = val;
  1510. return TRUE;
  1511. }
  1512. /* These sections are global, and are managed by BFD. The application
  1513. and target back end are not permitted to change the values in
  1514. these sections. */
  1515. extern asection _bfd_std_section[4];
  1516. #define BFD_ABS_SECTION_NAME "*ABS*"
  1517. #define BFD_UND_SECTION_NAME "*UND*"
  1518. #define BFD_COM_SECTION_NAME "*COM*"
  1519. #define BFD_IND_SECTION_NAME "*IND*"
  1520. /* Pointer to the common section. */
  1521. #define bfd_com_section_ptr (&_bfd_std_section[0])
  1522. /* Pointer to the undefined section. */
  1523. #define bfd_und_section_ptr (&_bfd_std_section[1])
  1524. /* Pointer to the absolute section. */
  1525. #define bfd_abs_section_ptr (&_bfd_std_section[2])
  1526. /* Pointer to the indirect section. */
  1527. #define bfd_ind_section_ptr (&_bfd_std_section[3])
  1528. #define bfd_is_und_section(sec) ((sec) == bfd_und_section_ptr)
  1529. #define bfd_is_abs_section(sec) ((sec) == bfd_abs_section_ptr)
  1530. #define bfd_is_ind_section(sec) ((sec) == bfd_ind_section_ptr)
  1531. #define bfd_is_const_section(SEC) \
  1532. ( ((SEC) == bfd_abs_section_ptr) \
  1533. || ((SEC) == bfd_und_section_ptr) \
  1534. || ((SEC) == bfd_com_section_ptr) \
  1535. || ((SEC) == bfd_ind_section_ptr))
  1536. /* Macros to handle insertion and deletion of a bfd's sections. These
  1537. only handle the list pointers, ie. do not adjust section_count,
  1538. target_index etc. */
  1539. #define bfd_section_list_remove(ABFD, S) \
  1540. do \
  1541. { \
  1542. asection *_s = S; \
  1543. asection *_next = _s->next; \
  1544. asection *_prev = _s->prev; \
  1545. if (_prev) \
  1546. _prev->next = _next; \
  1547. else \
  1548. (ABFD)->sections = _next; \
  1549. if (_next) \
  1550. _next->prev = _prev; \
  1551. else \
  1552. (ABFD)->section_last = _prev; \
  1553. } \
  1554. while (0)
  1555. #define bfd_section_list_append(ABFD, S) \
  1556. do \
  1557. { \
  1558. asection *_s = S; \
  1559. bfd *_abfd = ABFD; \
  1560. _s->next = NULL; \
  1561. if (_abfd->section_last) \
  1562. { \
  1563. _s->prev = _abfd->section_last; \
  1564. _abfd->section_last->next = _s; \
  1565. } \
  1566. else \
  1567. { \
  1568. _s->prev = NULL; \
  1569. _abfd->sections = _s; \
  1570. } \
  1571. _abfd->section_last = _s; \
  1572. } \
  1573. while (0)
  1574. #define bfd_section_list_prepend(ABFD, S) \
  1575. do \
  1576. { \
  1577. asection *_s = S; \
  1578. bfd *_abfd = ABFD; \
  1579. _s->prev = NULL; \
  1580. if (_abfd->sections) \
  1581. { \
  1582. _s->next = _abfd->sections; \
  1583. _abfd->sections->prev = _s; \
  1584. } \
  1585. else \
  1586. { \
  1587. _s->next = NULL; \
  1588. _abfd->section_last = _s; \
  1589. } \
  1590. _abfd->sections = _s; \
  1591. } \
  1592. while (0)
  1593. #define bfd_section_list_insert_after(ABFD, A, S) \
  1594. do \
  1595. { \
  1596. asection *_a = A; \
  1597. asection *_s = S; \
  1598. asection *_next = _a->next; \
  1599. _s->next = _next; \
  1600. _s->prev = _a; \
  1601. _a->next = _s; \
  1602. if (_next) \
  1603. _next->prev = _s; \
  1604. else \
  1605. (ABFD)->section_last = _s; \
  1606. } \
  1607. while (0)
  1608. #define bfd_section_list_insert_before(ABFD, B, S) \
  1609. do \
  1610. { \
  1611. asection *_b = B; \
  1612. asection *_s = S; \
  1613. asection *_prev = _b->prev; \
  1614. _s->prev = _prev; \
  1615. _s->next = _b; \
  1616. _b->prev = _s; \
  1617. if (_prev) \
  1618. _prev->next = _s; \
  1619. else \
  1620. (ABFD)->sections = _s; \
  1621. } \
  1622. while (0)
  1623. #define bfd_section_removed_from_list(ABFD, S) \
  1624. ((S)->next == NULL ? (ABFD)->section_last != (S) : (S)->next->prev != (S))
  1625. #define BFD_FAKE_SECTION(SEC, SYM, NAME, IDX, FLAGS) \
  1626. /* name, id, index, next, prev, flags, user_set_vma, */ \
  1627. { NAME, IDX, 0, NULL, NULL, FLAGS, 0, \
  1628. \
  1629. /* linker_mark, linker_has_input, gc_mark, decompress_status, */ \
  1630. 0, 0, 1, 0, \
  1631. \
  1632. /* segment_mark, sec_info_type, use_rela_p, */ \
  1633. 0, 0, 0, \
  1634. \
  1635. /* sec_flg0, sec_flg1, sec_flg2, sec_flg3, sec_flg4, sec_flg5, */ \
  1636. 0, 0, 0, 0, 0, 0, \
  1637. \
  1638. /* vma, lma, size, rawsize, compressed_size, relax, relax_count, */ \
  1639. 0, 0, 0, 0, 0, 0, 0, \
  1640. \
  1641. /* output_offset, output_section, alignment_power, */ \
  1642. 0, &SEC, 0, \
  1643. \
  1644. /* relocation, orelocation, reloc_count, filepos, rel_filepos, */ \
  1645. NULL, NULL, 0, 0, 0, \
  1646. \
  1647. /* line_filepos, userdata, contents, lineno, lineno_count, */ \
  1648. 0, NULL, NULL, NULL, 0, \
  1649. \
  1650. /* entsize, kept_section, moving_line_filepos, */ \
  1651. 0, NULL, 0, \
  1652. \
  1653. /* target_index, used_by_bfd, constructor_chain, owner, */ \
  1654. 0, NULL, NULL, NULL, \
  1655. \
  1656. /* symbol, symbol_ptr_ptr, */ \
  1657. (struct bfd_symbol *) SYM, &SEC.symbol, \
  1658. \
  1659. /* map_head, map_tail */ \
  1660. { NULL }, { NULL } \
  1661. }
  1662. /* We use a macro to initialize the static asymbol structures because
  1663. traditional C does not permit us to initialize a union member while
  1664. gcc warns if we don't initialize it.
  1665. the_bfd, name, value, attr, section [, udata] */
  1666. #ifdef __STDC__
  1667. #define GLOBAL_SYM_INIT(NAME, SECTION) \
  1668. { 0, NAME, 0, BSF_SECTION_SYM, SECTION, { 0 }}
  1669. #else
  1670. #define GLOBAL_SYM_INIT(NAME, SECTION) \
  1671. { 0, NAME, 0, BSF_SECTION_SYM, SECTION }
  1672. #endif
  1673. 
  1674. File: bfd.info, Node: section prototypes, Prev: typedef asection, Up: Sections
  1675. 2.6.5 Section prototypes
  1676. ------------------------
  1677. These are the functions exported by the section handling part of BFD.
  1678. 2.6.5.1 'bfd_section_list_clear'
  1679. ................................
  1680. *Synopsis*
  1681. void bfd_section_list_clear (bfd *);
  1682. *Description*
  1683. Clears the section list, and also resets the section count and hash
  1684. table entries.
  1685. 2.6.5.2 'bfd_get_section_by_name'
  1686. .................................
  1687. *Synopsis*
  1688. asection *bfd_get_section_by_name (bfd *abfd, const char *name);
  1689. *Description*
  1690. Return the most recently created section attached to ABFD named NAME.
  1691. Return NULL if no such section exists.
  1692. 2.6.5.3 'bfd_get_next_section_by_name'
  1693. ......................................
  1694. *Synopsis*
  1695. asection *bfd_get_next_section_by_name (bfd *ibfd, asection *sec);
  1696. *Description*
  1697. Given SEC is a section returned by 'bfd_get_section_by_name', return the
  1698. next most recently created section attached to the same BFD with the
  1699. same name, or if no such section exists in the same BFD and IBFD is
  1700. non-NULL, the next section with the same name in any input BFD following
  1701. IBFD. Return NULL on finding no section.
  1702. 2.6.5.4 'bfd_get_linker_section'
  1703. ................................
  1704. *Synopsis*
  1705. asection *bfd_get_linker_section (bfd *abfd, const char *name);
  1706. *Description*
  1707. Return the linker created section attached to ABFD named NAME. Return
  1708. NULL if no such section exists.
  1709. 2.6.5.5 'bfd_get_section_by_name_if'
  1710. ....................................
  1711. *Synopsis*
  1712. asection *bfd_get_section_by_name_if
  1713. (bfd *abfd,
  1714. const char *name,
  1715. bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
  1716. void *obj);
  1717. *Description*
  1718. Call the provided function FUNC for each section attached to the BFD
  1719. ABFD whose name matches NAME, passing OBJ as an argument. The function
  1720. will be called as if by
  1721. func (abfd, the_section, obj);
  1722. It returns the first section for which FUNC returns true, otherwise
  1723. 'NULL'.
  1724. 2.6.5.6 'bfd_get_unique_section_name'
  1725. .....................................
  1726. *Synopsis*
  1727. char *bfd_get_unique_section_name
  1728. (bfd *abfd, const char *templat, int *count);
  1729. *Description*
  1730. Invent a section name that is unique in ABFD by tacking a dot and a
  1731. digit suffix onto the original TEMPLAT. If COUNT is non-NULL, then it
  1732. specifies the first number tried as a suffix to generate a unique name.
  1733. The value pointed to by COUNT will be incremented in this case.
  1734. 2.6.5.7 'bfd_make_section_old_way'
  1735. ..................................
  1736. *Synopsis*
  1737. asection *bfd_make_section_old_way (bfd *abfd, const char *name);
  1738. *Description*
  1739. Create a new empty section called NAME and attach it to the end of the
  1740. chain of sections for the BFD ABFD. An attempt to create a section with
  1741. a name which is already in use returns its pointer without changing the
  1742. section chain.
  1743. It has the funny name since this is the way it used to be before it
  1744. was rewritten....
  1745. Possible errors are:
  1746. * 'bfd_error_invalid_operation' - If output has already started for
  1747. this BFD.
  1748. * 'bfd_error_no_memory' - If memory allocation fails.
  1749. 2.6.5.8 'bfd_make_section_anyway_with_flags'
  1750. ............................................
  1751. *Synopsis*
  1752. asection *bfd_make_section_anyway_with_flags
  1753. (bfd *abfd, const char *name, flagword flags);
  1754. *Description*
  1755. Create a new empty section called NAME and attach it to the end of the
  1756. chain of sections for ABFD. Create a new section even if there is
  1757. already a section with that name. Also set the attributes of the new
  1758. section to the value FLAGS.
  1759. Return 'NULL' and set 'bfd_error' on error; possible errors are:
  1760. * 'bfd_error_invalid_operation' - If output has already started for
  1761. ABFD.
  1762. * 'bfd_error_no_memory' - If memory allocation fails.
  1763. 2.6.5.9 'bfd_make_section_anyway'
  1764. .................................
  1765. *Synopsis*
  1766. asection *bfd_make_section_anyway (bfd *abfd, const char *name);
  1767. *Description*
  1768. Create a new empty section called NAME and attach it to the end of the
  1769. chain of sections for ABFD. Create a new section even if there is
  1770. already a section with that name.
  1771. Return 'NULL' and set 'bfd_error' on error; possible errors are:
  1772. * 'bfd_error_invalid_operation' - If output has already started for
  1773. ABFD.
  1774. * 'bfd_error_no_memory' - If memory allocation fails.
  1775. 2.6.5.10 'bfd_make_section_with_flags'
  1776. ......................................
  1777. *Synopsis*
  1778. asection *bfd_make_section_with_flags
  1779. (bfd *, const char *name, flagword flags);
  1780. *Description*
  1781. Like 'bfd_make_section_anyway', but return 'NULL' (without calling
  1782. bfd_set_error ()) without changing the section chain if there is already
  1783. a section named NAME. Also set the attributes of the new section to the
  1784. value FLAGS. If there is an error, return 'NULL' and set 'bfd_error'.
  1785. 2.6.5.11 'bfd_make_section'
  1786. ...........................
  1787. *Synopsis*
  1788. asection *bfd_make_section (bfd *, const char *name);
  1789. *Description*
  1790. Like 'bfd_make_section_anyway', but return 'NULL' (without calling
  1791. bfd_set_error ()) without changing the section chain if there is already
  1792. a section named NAME. If there is an error, return 'NULL' and set
  1793. 'bfd_error'.
  1794. 2.6.5.12 'bfd_set_section_flags'
  1795. ................................
  1796. *Synopsis*
  1797. bfd_boolean bfd_set_section_flags
  1798. (bfd *abfd, asection *sec, flagword flags);
  1799. *Description*
  1800. Set the attributes of the section SEC in the BFD ABFD to the value
  1801. FLAGS. Return 'TRUE' on success, 'FALSE' on error. Possible error
  1802. returns are:
  1803. * 'bfd_error_invalid_operation' - The section cannot have one or more
  1804. of the attributes requested. For example, a .bss section in
  1805. 'a.out' may not have the 'SEC_HAS_CONTENTS' field set.
  1806. 2.6.5.13 'bfd_rename_section'
  1807. .............................
  1808. *Synopsis*
  1809. void bfd_rename_section
  1810. (bfd *abfd, asection *sec, const char *newname);
  1811. *Description*
  1812. Rename section SEC in ABFD to NEWNAME.
  1813. 2.6.5.14 'bfd_map_over_sections'
  1814. ................................
  1815. *Synopsis*
  1816. void bfd_map_over_sections
  1817. (bfd *abfd,
  1818. void (*func) (bfd *abfd, asection *sect, void *obj),
  1819. void *obj);
  1820. *Description*
  1821. Call the provided function FUNC for each section attached to the BFD
  1822. ABFD, passing OBJ as an argument. The function will be called as if by
  1823. func (abfd, the_section, obj);
  1824. This is the preferred method for iterating over sections; an
  1825. alternative would be to use a loop:
  1826. asection *p;
  1827. for (p = abfd->sections; p != NULL; p = p->next)
  1828. func (abfd, p, ...)
  1829. 2.6.5.15 'bfd_sections_find_if'
  1830. ...............................
  1831. *Synopsis*
  1832. asection *bfd_sections_find_if
  1833. (bfd *abfd,
  1834. bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
  1835. void *obj);
  1836. *Description*
  1837. Call the provided function OPERATION for each section attached to the
  1838. BFD ABFD, passing OBJ as an argument. The function will be called as if
  1839. by
  1840. operation (abfd, the_section, obj);
  1841. It returns the first section for which OPERATION returns true.
  1842. 2.6.5.16 'bfd_set_section_size'
  1843. ...............................
  1844. *Synopsis*
  1845. bfd_boolean bfd_set_section_size
  1846. (bfd *abfd, asection *sec, bfd_size_type val);
  1847. *Description*
  1848. Set SEC to the size VAL. If the operation is ok, then 'TRUE' is
  1849. returned, else 'FALSE'.
  1850. Possible error returns:
  1851. * 'bfd_error_invalid_operation' - Writing has started to the BFD, so
  1852. setting the size is invalid.
  1853. 2.6.5.17 'bfd_set_section_contents'
  1854. ...................................
  1855. *Synopsis*
  1856. bfd_boolean bfd_set_section_contents
  1857. (bfd *abfd, asection *section, const void *data,
  1858. file_ptr offset, bfd_size_type count);
  1859. *Description*
  1860. Sets the contents of the section SECTION in BFD ABFD to the data
  1861. starting in memory at LOCATION. The data is written to the output
  1862. section starting at offset OFFSET for COUNT octets.
  1863. Normally 'TRUE' is returned, but 'FALSE' is returned if there was an
  1864. error. Possible error returns are:
  1865. * 'bfd_error_no_contents' - The output section does not have the
  1866. 'SEC_HAS_CONTENTS' attribute, so nothing can be written to it.
  1867. * 'bfd_error_bad_value' - The section is unable to contain all of the
  1868. data.
  1869. * 'bfd_error_invalid_operation' - The BFD is not writeable.
  1870. * and some more too.
  1871. This routine is front end to the back end function
  1872. '_bfd_set_section_contents'.
  1873. 2.6.5.18 'bfd_get_section_contents'
  1874. ...................................
  1875. *Synopsis*
  1876. bfd_boolean bfd_get_section_contents
  1877. (bfd *abfd, asection *section, void *location, file_ptr offset,
  1878. bfd_size_type count);
  1879. *Description*
  1880. Read data from SECTION in BFD ABFD into memory starting at LOCATION.
  1881. The data is read at an offset of OFFSET from the start of the input
  1882. section, and is read for COUNT bytes.
  1883. If the contents of a constructor with the 'SEC_CONSTRUCTOR' flag set
  1884. are requested or if the section does not have the 'SEC_HAS_CONTENTS'
  1885. flag set, then the LOCATION is filled with zeroes. If no errors occur,
  1886. 'TRUE' is returned, else 'FALSE'.
  1887. 2.6.5.19 'bfd_malloc_and_get_section'
  1888. .....................................
  1889. *Synopsis*
  1890. bfd_boolean bfd_malloc_and_get_section
  1891. (bfd *abfd, asection *section, bfd_byte **buf);
  1892. *Description*
  1893. Read all data from SECTION in BFD ABFD into a buffer, *BUF, malloc'd by
  1894. this function.
  1895. 2.6.5.20 'bfd_copy_private_section_data'
  1896. ........................................
  1897. *Synopsis*
  1898. bfd_boolean bfd_copy_private_section_data
  1899. (bfd *ibfd, asection *isec, bfd *obfd, asection *osec);
  1900. *Description*
  1901. Copy private section information from ISEC in the BFD IBFD to the
  1902. section OSEC in the BFD OBFD. Return 'TRUE' on success, 'FALSE' on
  1903. error. Possible error returns are:
  1904. * 'bfd_error_no_memory' - Not enough memory exists to create private
  1905. data for OSEC.
  1906. #define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \
  1907. BFD_SEND (obfd, _bfd_copy_private_section_data, \
  1908. (ibfd, isection, obfd, osection))
  1909. 2.6.5.21 'bfd_generic_is_group_section'
  1910. .......................................
  1911. *Synopsis*
  1912. bfd_boolean bfd_generic_is_group_section (bfd *, const asection *sec);
  1913. *Description*
  1914. Returns TRUE if SEC is a member of a group.
  1915. 2.6.5.22 'bfd_generic_discard_group'
  1916. ....................................
  1917. *Synopsis*
  1918. bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group);
  1919. *Description*
  1920. Remove all members of GROUP from the output.
  1921. 
  1922. File: bfd.info, Node: Symbols, Next: Archives, Prev: Sections, Up: BFD front end
  1923. 2.7 Symbols
  1924. ===========
  1925. BFD tries to maintain as much symbol information as it can when it moves
  1926. information from file to file. BFD passes information to applications
  1927. though the 'asymbol' structure. When the application requests the
  1928. symbol table, BFD reads the table in the native form and translates
  1929. parts of it into the internal format. To maintain more than the
  1930. information passed to applications, some targets keep some information
  1931. "behind the scenes" in a structure only the particular back end knows
  1932. about. For example, the coff back end keeps the original symbol table
  1933. structure as well as the canonical structure when a BFD is read in. On
  1934. output, the coff back end can reconstruct the output symbol table so
  1935. that no information is lost, even information unique to coff which BFD
  1936. doesn't know or understand. If a coff symbol table were read, but were
  1937. written through an a.out back end, all the coff specific information
  1938. would be lost. The symbol table of a BFD is not necessarily read in
  1939. until a canonicalize request is made. Then the BFD back end fills in a
  1940. table provided by the application with pointers to the canonical
  1941. information. To output symbols, the application provides BFD with a
  1942. table of pointers to pointers to 'asymbol's. This allows applications
  1943. like the linker to output a symbol as it was read, since the "behind the
  1944. scenes" information will be still available.
  1945. * Menu:
  1946. * Reading Symbols::
  1947. * Writing Symbols::
  1948. * Mini Symbols::
  1949. * typedef asymbol::
  1950. * symbol handling functions::
  1951. 
  1952. File: bfd.info, Node: Reading Symbols, Next: Writing Symbols, Prev: Symbols, Up: Symbols
  1953. 2.7.1 Reading symbols
  1954. ---------------------
  1955. There are two stages to reading a symbol table from a BFD: allocating
  1956. storage, and the actual reading process. This is an excerpt from an
  1957. application which reads the symbol table:
  1958. long storage_needed;
  1959. asymbol **symbol_table;
  1960. long number_of_symbols;
  1961. long i;
  1962. storage_needed = bfd_get_symtab_upper_bound (abfd);
  1963. if (storage_needed < 0)
  1964. FAIL
  1965. if (storage_needed == 0)
  1966. return;
  1967. symbol_table = xmalloc (storage_needed);
  1968. ...
  1969. number_of_symbols =
  1970. bfd_canonicalize_symtab (abfd, symbol_table);
  1971. if (number_of_symbols < 0)
  1972. FAIL
  1973. for (i = 0; i < number_of_symbols; i++)
  1974. process_symbol (symbol_table[i]);
  1975. All storage for the symbols themselves is in an objalloc connected to
  1976. the BFD; it is freed when the BFD is closed.
  1977. 
  1978. File: bfd.info, Node: Writing Symbols, Next: Mini Symbols, Prev: Reading Symbols, Up: Symbols
  1979. 2.7.2 Writing symbols
  1980. ---------------------
  1981. Writing of a symbol table is automatic when a BFD open for writing is
  1982. closed. The application attaches a vector of pointers to pointers to
  1983. symbols to the BFD being written, and fills in the symbol count. The
  1984. close and cleanup code reads through the table provided and performs all
  1985. the necessary operations. The BFD output code must always be provided
  1986. with an "owned" symbol: one which has come from another BFD, or one
  1987. which has been created using 'bfd_make_empty_symbol'. Here is an
  1988. example showing the creation of a symbol table with only one element:
  1989. #include "sysdep.h"
  1990. #include "bfd.h"
  1991. int main (void)
  1992. {
  1993. bfd *abfd;
  1994. asymbol *ptrs[2];
  1995. asymbol *new;
  1996. abfd = bfd_openw ("foo","a.out-sunos-big");
  1997. bfd_set_format (abfd, bfd_object);
  1998. new = bfd_make_empty_symbol (abfd);
  1999. new->name = "dummy_symbol";
  2000. new->section = bfd_make_section_old_way (abfd, ".text");
  2001. new->flags = BSF_GLOBAL;
  2002. new->value = 0x12345;
  2003. ptrs[0] = new;
  2004. ptrs[1] = 0;
  2005. bfd_set_symtab (abfd, ptrs, 1);
  2006. bfd_close (abfd);
  2007. return 0;
  2008. }
  2009. ./makesym
  2010. nm foo
  2011. 00012345 A dummy_symbol
  2012. Many formats cannot represent arbitrary symbol information; for
  2013. instance, the 'a.out' object format does not allow an arbitrary number
  2014. of sections. A symbol pointing to a section which is not one of
  2015. '.text', '.data' or '.bss' cannot be described.
  2016. 
  2017. File: bfd.info, Node: Mini Symbols, Next: typedef asymbol, Prev: Writing Symbols, Up: Symbols
  2018. 2.7.3 Mini Symbols
  2019. ------------------
  2020. Mini symbols provide read-only access to the symbol table. They use
  2021. less memory space, but require more time to access. They can be useful
  2022. for tools like nm or objdump, which may have to handle symbol tables of
  2023. extremely large executables.
  2024. The 'bfd_read_minisymbols' function will read the symbols into memory
  2025. in an internal form. It will return a 'void *' pointer to a block of
  2026. memory, a symbol count, and the size of each symbol. The pointer is
  2027. allocated using 'malloc', and should be freed by the caller when it is
  2028. no longer needed.
  2029. The function 'bfd_minisymbol_to_symbol' will take a pointer to a
  2030. minisymbol, and a pointer to a structure returned by
  2031. 'bfd_make_empty_symbol', and return a 'asymbol' structure. The return
  2032. value may or may not be the same as the value from
  2033. 'bfd_make_empty_symbol' which was passed in.
  2034. 
  2035. File: bfd.info, Node: typedef asymbol, Next: symbol handling functions, Prev: Mini Symbols, Up: Symbols
  2036. 2.7.4 typedef asymbol
  2037. ---------------------
  2038. An 'asymbol' has the form:
  2039. typedef struct bfd_symbol
  2040. {
  2041. /* A pointer to the BFD which owns the symbol. This information
  2042. is necessary so that a back end can work out what additional
  2043. information (invisible to the application writer) is carried
  2044. with the symbol.
  2045. This field is *almost* redundant, since you can use section->owner
  2046. instead, except that some symbols point to the global sections
  2047. bfd_{abs,com,und}_section. This could be fixed by making
  2048. these globals be per-bfd (or per-target-flavor). FIXME. */
  2049. struct bfd *the_bfd; /* Use bfd_asymbol_bfd(sym) to access this field. */
  2050. /* The text of the symbol. The name is left alone, and not copied; the
  2051. application may not alter it. */
  2052. const char *name;
  2053. /* The value of the symbol. This really should be a union of a
  2054. numeric value with a pointer, since some flags indicate that
  2055. a pointer to another symbol is stored here. */
  2056. symvalue value;
  2057. /* Attributes of a symbol. */
  2058. #define BSF_NO_FLAGS 0
  2059. /* The symbol has local scope; static in C. The value
  2060. is the offset into the section of the data. */
  2061. #define BSF_LOCAL (1 << 0)
  2062. /* The symbol has global scope; initialized data in C. The
  2063. value is the offset into the section of the data. */
  2064. #define BSF_GLOBAL (1 << 1)
  2065. /* The symbol has global scope and is exported. The value is
  2066. the offset into the section of the data. */
  2067. #define BSF_EXPORT BSF_GLOBAL /* No real difference. */
  2068. /* A normal C symbol would be one of:
  2069. BSF_LOCAL, BSF_UNDEFINED or BSF_GLOBAL. */
  2070. /* The symbol is a debugging record. The value has an arbitrary
  2071. meaning, unless BSF_DEBUGGING_RELOC is also set. */
  2072. #define BSF_DEBUGGING (1 << 2)
  2073. /* The symbol denotes a function entry point. Used in ELF,
  2074. perhaps others someday. */
  2075. #define BSF_FUNCTION (1 << 3)
  2076. /* Used by the linker. */
  2077. #define BSF_KEEP (1 << 5)
  2078. /* An ELF common symbol. */
  2079. #define BSF_ELF_COMMON (1 << 6)
  2080. /* A weak global symbol, overridable without warnings by
  2081. a regular global symbol of the same name. */
  2082. #define BSF_WEAK (1 << 7)
  2083. /* This symbol was created to point to a section, e.g. ELF's
  2084. STT_SECTION symbols. */
  2085. #define BSF_SECTION_SYM (1 << 8)
  2086. /* The symbol used to be a common symbol, but now it is
  2087. allocated. */
  2088. #define BSF_OLD_COMMON (1 << 9)
  2089. /* In some files the type of a symbol sometimes alters its
  2090. location in an output file - ie in coff a ISFCN symbol
  2091. which is also C_EXT symbol appears where it was
  2092. declared and not at the end of a section. This bit is set
  2093. by the target BFD part to convey this information. */
  2094. #define BSF_NOT_AT_END (1 << 10)
  2095. /* Signal that the symbol is the label of constructor section. */
  2096. #define BSF_CONSTRUCTOR (1 << 11)
  2097. /* Signal that the symbol is a warning symbol. The name is a
  2098. warning. The name of the next symbol is the one to warn about;
  2099. if a reference is made to a symbol with the same name as the next
  2100. symbol, a warning is issued by the linker. */
  2101. #define BSF_WARNING (1 << 12)
  2102. /* Signal that the symbol is indirect. This symbol is an indirect
  2103. pointer to the symbol with the same name as the next symbol. */
  2104. #define BSF_INDIRECT (1 << 13)
  2105. /* BSF_FILE marks symbols that contain a file name. This is used
  2106. for ELF STT_FILE symbols. */
  2107. #define BSF_FILE (1 << 14)
  2108. /* Symbol is from dynamic linking information. */
  2109. #define BSF_DYNAMIC (1 << 15)
  2110. /* The symbol denotes a data object. Used in ELF, and perhaps
  2111. others someday. */
  2112. #define BSF_OBJECT (1 << 16)
  2113. /* This symbol is a debugging symbol. The value is the offset
  2114. into the section of the data. BSF_DEBUGGING should be set
  2115. as well. */
  2116. #define BSF_DEBUGGING_RELOC (1 << 17)
  2117. /* This symbol is thread local. Used in ELF. */
  2118. #define BSF_THREAD_LOCAL (1 << 18)
  2119. /* This symbol represents a complex relocation expression,
  2120. with the expression tree serialized in the symbol name. */
  2121. #define BSF_RELC (1 << 19)
  2122. /* This symbol represents a signed complex relocation expression,
  2123. with the expression tree serialized in the symbol name. */
  2124. #define BSF_SRELC (1 << 20)
  2125. /* This symbol was created by bfd_get_synthetic_symtab. */
  2126. #define BSF_SYNTHETIC (1 << 21)
  2127. /* This symbol is an indirect code object. Unrelated to BSF_INDIRECT.
  2128. The dynamic linker will compute the value of this symbol by
  2129. calling the function that it points to. BSF_FUNCTION must
  2130. also be also set. */
  2131. #define BSF_GNU_INDIRECT_FUNCTION (1 << 22)
  2132. /* This symbol is a globally unique data object. The dynamic linker
  2133. will make sure that in the entire process there is just one symbol
  2134. with this name and type in use. BSF_OBJECT must also be set. */
  2135. #define BSF_GNU_UNIQUE (1 << 23)
  2136. flagword flags;
  2137. /* A pointer to the section to which this symbol is
  2138. relative. This will always be non NULL, there are special
  2139. sections for undefined and absolute symbols. */
  2140. struct bfd_section *section;
  2141. /* Back end special data. */
  2142. union
  2143. {
  2144. void *p;
  2145. bfd_vma i;
  2146. }
  2147. udata;
  2148. }
  2149. asymbol;
  2150. 
  2151. File: bfd.info, Node: symbol handling functions, Prev: typedef asymbol, Up: Symbols
  2152. 2.7.5 Symbol handling functions
  2153. -------------------------------
  2154. 2.7.5.1 'bfd_get_symtab_upper_bound'
  2155. ....................................
  2156. *Description*
  2157. Return the number of bytes required to store a vector of pointers to
  2158. 'asymbols' for all the symbols in the BFD ABFD, including a terminal
  2159. NULL pointer. If there are no symbols in the BFD, then return 0. If an
  2160. error occurs, return -1.
  2161. #define bfd_get_symtab_upper_bound(abfd) \
  2162. BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd))
  2163. 2.7.5.2 'bfd_is_local_label'
  2164. ............................
  2165. *Synopsis*
  2166. bfd_boolean bfd_is_local_label (bfd *abfd, asymbol *sym);
  2167. *Description*
  2168. Return TRUE if the given symbol SYM in the BFD ABFD is a compiler
  2169. generated local label, else return FALSE.
  2170. 2.7.5.3 'bfd_is_local_label_name'
  2171. .................................
  2172. *Synopsis*
  2173. bfd_boolean bfd_is_local_label_name (bfd *abfd, const char *name);
  2174. *Description*
  2175. Return TRUE if a symbol with the name NAME in the BFD ABFD is a compiler
  2176. generated local label, else return FALSE. This just checks whether the
  2177. name has the form of a local label.
  2178. #define bfd_is_local_label_name(abfd, name) \
  2179. BFD_SEND (abfd, _bfd_is_local_label_name, (abfd, name))
  2180. 2.7.5.4 'bfd_is_target_special_symbol'
  2181. ......................................
  2182. *Synopsis*
  2183. bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym);
  2184. *Description*
  2185. Return TRUE iff a symbol SYM in the BFD ABFD is something special to the
  2186. particular target represented by the BFD. Such symbols should normally
  2187. not be mentioned to the user.
  2188. #define bfd_is_target_special_symbol(abfd, sym) \
  2189. BFD_SEND (abfd, _bfd_is_target_special_symbol, (abfd, sym))
  2190. 2.7.5.5 'bfd_canonicalize_symtab'
  2191. .................................
  2192. *Description*
  2193. Read the symbols from the BFD ABFD, and fills in the vector LOCATION
  2194. with pointers to the symbols and a trailing NULL. Return the actual
  2195. number of symbol pointers, not including the NULL.
  2196. #define bfd_canonicalize_symtab(abfd, location) \
  2197. BFD_SEND (abfd, _bfd_canonicalize_symtab, (abfd, location))
  2198. 2.7.5.6 'bfd_set_symtab'
  2199. ........................
  2200. *Synopsis*
  2201. bfd_boolean bfd_set_symtab
  2202. (bfd *abfd, asymbol **location, unsigned int count);
  2203. *Description*
  2204. Arrange that when the output BFD ABFD is closed, the table LOCATION of
  2205. COUNT pointers to symbols will be written.
  2206. 2.7.5.7 'bfd_print_symbol_vandf'
  2207. ................................
  2208. *Synopsis*
  2209. void bfd_print_symbol_vandf (bfd *abfd, void *file, asymbol *symbol);
  2210. *Description*
  2211. Print the value and flags of the SYMBOL supplied to the stream FILE.
  2212. 2.7.5.8 'bfd_make_empty_symbol'
  2213. ...............................
  2214. *Description*
  2215. Create a new 'asymbol' structure for the BFD ABFD and return a pointer
  2216. to it.
  2217. This routine is necessary because each back end has private
  2218. information surrounding the 'asymbol'. Building your own 'asymbol' and
  2219. pointing to it will not create the private information, and will cause
  2220. problems later on.
  2221. #define bfd_make_empty_symbol(abfd) \
  2222. BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd))
  2223. 2.7.5.9 '_bfd_generic_make_empty_symbol'
  2224. ........................................
  2225. *Synopsis*
  2226. asymbol *_bfd_generic_make_empty_symbol (bfd *);
  2227. *Description*
  2228. Create a new 'asymbol' structure for the BFD ABFD and return a pointer
  2229. to it. Used by core file routines, binary back-end and anywhere else
  2230. where no private info is needed.
  2231. 2.7.5.10 'bfd_make_debug_symbol'
  2232. ................................
  2233. *Description*
  2234. Create a new 'asymbol' structure for the BFD ABFD, to be used as a
  2235. debugging symbol. Further details of its use have yet to be worked out.
  2236. #define bfd_make_debug_symbol(abfd,ptr,size) \
  2237. BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
  2238. 2.7.5.11 'bfd_decode_symclass'
  2239. ..............................
  2240. *Description*
  2241. Return a character corresponding to the symbol class of SYMBOL, or '?'
  2242. for an unknown class.
  2243. *Synopsis*
  2244. int bfd_decode_symclass (asymbol *symbol);
  2245. 2.7.5.12 'bfd_is_undefined_symclass'
  2246. ....................................
  2247. *Description*
  2248. Returns non-zero if the class symbol returned by bfd_decode_symclass
  2249. represents an undefined symbol. Returns zero otherwise.
  2250. *Synopsis*
  2251. bfd_boolean bfd_is_undefined_symclass (int symclass);
  2252. 2.7.5.13 'bfd_symbol_info'
  2253. ..........................
  2254. *Description*
  2255. Fill in the basic info about symbol that nm needs. Additional info may
  2256. be added by the back-ends after calling this function.
  2257. *Synopsis*
  2258. void bfd_symbol_info (asymbol *symbol, symbol_info *ret);
  2259. 2.7.5.14 'bfd_copy_private_symbol_data'
  2260. .......................................
  2261. *Synopsis*
  2262. bfd_boolean bfd_copy_private_symbol_data
  2263. (bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym);
  2264. *Description*
  2265. Copy private symbol information from ISYM in the BFD IBFD to the symbol
  2266. OSYM in the BFD OBFD. Return 'TRUE' on success, 'FALSE' on error.
  2267. Possible error returns are:
  2268. * 'bfd_error_no_memory' - Not enough memory exists to create private
  2269. data for OSEC.
  2270. #define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol) \
  2271. BFD_SEND (obfd, _bfd_copy_private_symbol_data, \
  2272. (ibfd, isymbol, obfd, osymbol))
  2273. 
  2274. File: bfd.info, Node: Archives, Next: Formats, Prev: Symbols, Up: BFD front end
  2275. 2.8 Archives
  2276. ============
  2277. *Description*
  2278. An archive (or library) is just another BFD. It has a symbol table,
  2279. although there's not much a user program will do with it.
  2280. The big difference between an archive BFD and an ordinary BFD is that
  2281. the archive doesn't have sections. Instead it has a chain of BFDs that
  2282. are considered its contents. These BFDs can be manipulated like any
  2283. other. The BFDs contained in an archive opened for reading will all be
  2284. opened for reading. You may put either input or output BFDs into an
  2285. archive opened for output; they will be handled correctly when the
  2286. archive is closed.
  2287. Use 'bfd_openr_next_archived_file' to step through the contents of an
  2288. archive opened for input. You don't have to read the entire archive if
  2289. you don't want to! Read it until you find what you want.
  2290. A BFD returned by 'bfd_openr_next_archived_file' can be closed
  2291. manually with 'bfd_close'. If you do not close it, then a second
  2292. iteration through the members of an archive may return the same BFD. If
  2293. you close the archive BFD, then all the member BFDs will automatically
  2294. be closed as well.
  2295. Archive contents of output BFDs are chained through the
  2296. 'archive_next' pointer in a BFD. The first one is findable through the
  2297. 'archive_head' slot of the archive. Set it with 'bfd_set_archive_head'
  2298. (q.v.). A given BFD may be in only one open output archive at a time.
  2299. As expected, the BFD archive code is more general than the archive
  2300. code of any given environment. BFD archives may contain files of
  2301. different formats (e.g., a.out and coff) and even different
  2302. architectures. You may even place archives recursively into archives!
  2303. This can cause unexpected confusion, since some archive formats are
  2304. more expressive than others. For instance, Intel COFF archives can
  2305. preserve long filenames; SunOS a.out archives cannot. If you move a
  2306. file from the first to the second format and back again, the filename
  2307. may be truncated. Likewise, different a.out environments have different
  2308. conventions as to how they truncate filenames, whether they preserve
  2309. directory names in filenames, etc. When interoperating with native
  2310. tools, be sure your files are homogeneous.
  2311. Beware: most of these formats do not react well to the presence of
  2312. spaces in filenames. We do the best we can, but can't always handle
  2313. this case due to restrictions in the format of archives. Many Unix
  2314. utilities are braindead in regards to spaces and such in filenames
  2315. anyway, so this shouldn't be much of a restriction.
  2316. Archives are supported in BFD in 'archive.c'.
  2317. 2.8.1 Archive functions
  2318. -----------------------
  2319. 2.8.1.1 'bfd_get_next_mapent'
  2320. .............................
  2321. *Synopsis*
  2322. symindex bfd_get_next_mapent
  2323. (bfd *abfd, symindex previous, carsym **sym);
  2324. *Description*
  2325. Step through archive ABFD's symbol table (if it has one). Successively
  2326. update SYM with the next symbol's information, returning that symbol's
  2327. (internal) index into the symbol table.
  2328. Supply 'BFD_NO_MORE_SYMBOLS' as the PREVIOUS entry to get the first
  2329. one; returns 'BFD_NO_MORE_SYMBOLS' when you've already got the last one.
  2330. A 'carsym' is a canonical archive symbol. The only user-visible
  2331. element is its name, a null-terminated string.
  2332. 2.8.1.2 'bfd_set_archive_head'
  2333. ..............................
  2334. *Synopsis*
  2335. bfd_boolean bfd_set_archive_head (bfd *output, bfd *new_head);
  2336. *Description*
  2337. Set the head of the chain of BFDs contained in the archive OUTPUT to
  2338. NEW_HEAD.
  2339. 2.8.1.3 'bfd_openr_next_archived_file'
  2340. ......................................
  2341. *Synopsis*
  2342. bfd *bfd_openr_next_archived_file (bfd *archive, bfd *previous);
  2343. *Description*
  2344. Provided a BFD, ARCHIVE, containing an archive and NULL, open an input
  2345. BFD on the first contained element and returns that. Subsequent calls
  2346. should pass the archive and the previous return value to return a
  2347. created BFD to the next contained element. NULL is returned when there
  2348. are no more. Note - if you want to process the bfd returned by this
  2349. call be sure to call bfd_check_format() on it first.
  2350. 
  2351. File: bfd.info, Node: Formats, Next: Relocations, Prev: Archives, Up: BFD front end
  2352. 2.9 File formats
  2353. ================
  2354. A format is a BFD concept of high level file contents type. The formats
  2355. supported by BFD are:
  2356. * 'bfd_object'
  2357. The BFD may contain data, symbols, relocations and debug info.
  2358. * 'bfd_archive'
  2359. The BFD contains other BFDs and an optional index.
  2360. * 'bfd_core'
  2361. The BFD contains the result of an executable core dump.
  2362. 2.9.1 File format functions
  2363. ---------------------------
  2364. 2.9.1.1 'bfd_check_format'
  2365. ..........................
  2366. *Synopsis*
  2367. bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
  2368. *Description*
  2369. Verify if the file attached to the BFD ABFD is compatible with the
  2370. format FORMAT (i.e., one of 'bfd_object', 'bfd_archive' or 'bfd_core').
  2371. If the BFD has been set to a specific target before the call, only
  2372. the named target and format combination is checked. If the target has
  2373. not been set, or has been set to 'default', then all the known target
  2374. backends is interrogated to determine a match. If the default target
  2375. matches, it is used. If not, exactly one target must recognize the
  2376. file, or an error results.
  2377. The function returns 'TRUE' on success, otherwise 'FALSE' with one of
  2378. the following error codes:
  2379. * 'bfd_error_invalid_operation' - if 'format' is not one of
  2380. 'bfd_object', 'bfd_archive' or 'bfd_core'.
  2381. * 'bfd_error_system_call' - if an error occured during a read - even
  2382. some file mismatches can cause bfd_error_system_calls.
  2383. * 'file_not_recognised' - none of the backends recognised the file
  2384. format.
  2385. * 'bfd_error_file_ambiguously_recognized' - more than one backend
  2386. recognised the file format.
  2387. 2.9.1.2 'bfd_check_format_matches'
  2388. ..................................
  2389. *Synopsis*
  2390. bfd_boolean bfd_check_format_matches
  2391. (bfd *abfd, bfd_format format, char ***matching);
  2392. *Description*
  2393. Like 'bfd_check_format', except when it returns FALSE with 'bfd_errno'
  2394. set to 'bfd_error_file_ambiguously_recognized'. In that case, if
  2395. MATCHING is not NULL, it will be filled in with a NULL-terminated list
  2396. of the names of the formats that matched, allocated with 'malloc'. Then
  2397. the user may choose a format and try again.
  2398. When done with the list that MATCHING points to, the caller should
  2399. free it.
  2400. 2.9.1.3 'bfd_set_format'
  2401. ........................
  2402. *Synopsis*
  2403. bfd_boolean bfd_set_format (bfd *abfd, bfd_format format);
  2404. *Description*
  2405. This function sets the file format of the BFD ABFD to the format FORMAT.
  2406. If the target set in the BFD does not support the format requested, the
  2407. format is invalid, or the BFD is not open for writing, then an error
  2408. occurs.
  2409. 2.9.1.4 'bfd_format_string'
  2410. ...........................
  2411. *Synopsis*
  2412. const char *bfd_format_string (bfd_format format);
  2413. *Description*
  2414. Return a pointer to a const string 'invalid', 'object', 'archive',
  2415. 'core', or 'unknown', depending upon the value of FORMAT.
  2416. 
  2417. File: bfd.info, Node: Relocations, Next: Core Files, Prev: Formats, Up: BFD front end
  2418. 2.10 Relocations
  2419. ================
  2420. BFD maintains relocations in much the same way it maintains symbols:
  2421. they are left alone until required, then read in en-masse and translated
  2422. into an internal form. A common routine 'bfd_perform_relocation' acts
  2423. upon the canonical form to do the fixup.
  2424. Relocations are maintained on a per section basis, while symbols are
  2425. maintained on a per BFD basis.
  2426. All that a back end has to do to fit the BFD interface is to create a
  2427. 'struct reloc_cache_entry' for each relocation in a particular section,
  2428. and fill in the right bits of the structures.
  2429. * Menu:
  2430. * typedef arelent::
  2431. * howto manager::
  2432. 
  2433. File: bfd.info, Node: typedef arelent, Next: howto manager, Prev: Relocations, Up: Relocations
  2434. 2.10.1 typedef arelent
  2435. ----------------------
  2436. This is the structure of a relocation entry:
  2437. typedef enum bfd_reloc_status
  2438. {
  2439. /* No errors detected. Note - the value 2 is used so that it
  2440. will not be mistaken for the boolean TRUE or FALSE values. */
  2441. bfd_reloc_ok = 2,
  2442. /* The relocation was performed, but there was an overflow. */
  2443. bfd_reloc_overflow,
  2444. /* The address to relocate was not within the section supplied. */
  2445. bfd_reloc_outofrange,
  2446. /* Used by special functions. */
  2447. bfd_reloc_continue,
  2448. /* Unsupported relocation size requested. */
  2449. bfd_reloc_notsupported,
  2450. /* Unused. */
  2451. bfd_reloc_other,
  2452. /* The symbol to relocate against was undefined. */
  2453. bfd_reloc_undefined,
  2454. /* The relocation was performed, but may not be ok. If this type is
  2455. returned, the error_message argument to bfd_perform_relocation
  2456. will be set. */
  2457. bfd_reloc_dangerous
  2458. }
  2459. bfd_reloc_status_type;
  2460. typedef const struct reloc_howto_struct reloc_howto_type;
  2461. typedef struct reloc_cache_entry
  2462. {
  2463. /* A pointer into the canonical table of pointers. */
  2464. struct bfd_symbol **sym_ptr_ptr;
  2465. /* offset in section. */
  2466. bfd_size_type address;
  2467. /* addend for relocation value. */
  2468. bfd_vma addend;
  2469. /* Pointer to how to perform the required relocation. */
  2470. reloc_howto_type *howto;
  2471. }
  2472. arelent;
  2473. *Description*
  2474. Here is a description of each of the fields within an 'arelent':
  2475. * 'sym_ptr_ptr'
  2476. The symbol table pointer points to a pointer to the symbol associated
  2477. with the relocation request. It is the pointer into the table returned
  2478. by the back end's 'canonicalize_symtab' action. *Note Symbols::. The
  2479. symbol is referenced through a pointer to a pointer so that tools like
  2480. the linker can fix up all the symbols of the same name by modifying only
  2481. one pointer. The relocation routine looks in the symbol and uses the
  2482. base of the section the symbol is attached to and the value of the
  2483. symbol as the initial relocation offset. If the symbol pointer is zero,
  2484. then the section provided is looked up.
  2485. * 'address'
  2486. The 'address' field gives the offset in bytes from the base of the
  2487. section data which owns the relocation record to the first byte of
  2488. relocatable information. The actual data relocated will be relative to
  2489. this point; for example, a relocation type which modifies the bottom two
  2490. bytes of a four byte word would not touch the first byte pointed to in a
  2491. big endian world.
  2492. * 'addend'
  2493. The 'addend' is a value provided by the back end to be added (!) to
  2494. the relocation offset. Its interpretation is dependent upon the howto.
  2495. For example, on the 68k the code:
  2496. char foo[];
  2497. main()
  2498. {
  2499. return foo[0x12345678];
  2500. }
  2501. Could be compiled into:
  2502. linkw fp,#-4
  2503. moveb @#12345678,d0
  2504. extbl d0
  2505. unlk fp
  2506. rts
  2507. This could create a reloc pointing to 'foo', but leave the offset in
  2508. the data, something like:
  2509. RELOCATION RECORDS FOR [.text]:
  2510. offset type value
  2511. 00000006 32 _foo
  2512. 00000000 4e56 fffc ; linkw fp,#-4
  2513. 00000004 1039 1234 5678 ; moveb @#12345678,d0
  2514. 0000000a 49c0 ; extbl d0
  2515. 0000000c 4e5e ; unlk fp
  2516. 0000000e 4e75 ; rts
  2517. Using coff and an 88k, some instructions don't have enough space in
  2518. them to represent the full address range, and pointers have to be loaded
  2519. in two parts. So you'd get something like:
  2520. or.u r13,r0,hi16(_foo+0x12345678)
  2521. ld.b r2,r13,lo16(_foo+0x12345678)
  2522. jmp r1
  2523. This should create two relocs, both pointing to '_foo', and with
  2524. 0x12340000 in their addend field. The data would consist of:
  2525. RELOCATION RECORDS FOR [.text]:
  2526. offset type value
  2527. 00000002 HVRT16 _foo+0x12340000
  2528. 00000006 LVRT16 _foo+0x12340000
  2529. 00000000 5da05678 ; or.u r13,r0,0x5678
  2530. 00000004 1c4d5678 ; ld.b r2,r13,0x5678
  2531. 00000008 f400c001 ; jmp r1
  2532. The relocation routine digs out the value from the data, adds it to
  2533. the addend to get the original offset, and then adds the value of
  2534. '_foo'. Note that all 32 bits have to be kept around somewhere, to cope
  2535. with carry from bit 15 to bit 16.
  2536. One further example is the sparc and the a.out format. The sparc has
  2537. a similar problem to the 88k, in that some instructions don't have room
  2538. for an entire offset, but on the sparc the parts are created in odd
  2539. sized lumps. The designers of the a.out format chose to not use the
  2540. data within the section for storing part of the offset; all the offset
  2541. is kept within the reloc. Anything in the data should be ignored.
  2542. save %sp,-112,%sp
  2543. sethi %hi(_foo+0x12345678),%g2
  2544. ldsb [%g2+%lo(_foo+0x12345678)],%i0
  2545. ret
  2546. restore
  2547. Both relocs contain a pointer to 'foo', and the offsets contain junk.
  2548. RELOCATION RECORDS FOR [.text]:
  2549. offset type value
  2550. 00000004 HI22 _foo+0x12345678
  2551. 00000008 LO10 _foo+0x12345678
  2552. 00000000 9de3bf90 ; save %sp,-112,%sp
  2553. 00000004 05000000 ; sethi %hi(_foo+0),%g2
  2554. 00000008 f048a000 ; ldsb [%g2+%lo(_foo+0)],%i0
  2555. 0000000c 81c7e008 ; ret
  2556. 00000010 81e80000 ; restore
  2557. * 'howto'
  2558. The 'howto' field can be imagined as a relocation instruction. It is
  2559. a pointer to a structure which contains information on what to do with
  2560. all of the other information in the reloc record and data section. A
  2561. back end would normally have a relocation instruction set and turn
  2562. relocations into pointers to the correct structure on input - but it
  2563. would be possible to create each howto field on demand.
  2564. 2.10.1.1 'enum complain_overflow'
  2565. .................................
  2566. Indicates what sort of overflow checking should be done when performing
  2567. a relocation.
  2568. enum complain_overflow
  2569. {
  2570. /* Do not complain on overflow. */
  2571. complain_overflow_dont,
  2572. /* Complain if the value overflows when considered as a signed
  2573. number one bit larger than the field. ie. A bitfield of N bits
  2574. is allowed to represent -2**n to 2**n-1. */
  2575. complain_overflow_bitfield,
  2576. /* Complain if the value overflows when considered as a signed
  2577. number. */
  2578. complain_overflow_signed,
  2579. /* Complain if the value overflows when considered as an
  2580. unsigned number. */
  2581. complain_overflow_unsigned
  2582. };
  2583. 2.10.1.2 'reloc_howto_type'
  2584. ...........................
  2585. The 'reloc_howto_type' is a structure which contains all the information
  2586. that libbfd needs to know to tie up a back end's data.
  2587. struct reloc_howto_struct
  2588. {
  2589. /* The type field has mainly a documentary use - the back end can
  2590. do what it wants with it, though normally the back end's idea of
  2591. an external reloc number is stored in this field. */
  2592. unsigned int type;
  2593. /* The encoded size of the item to be relocated. This is *not* a
  2594. power-of-two measure. Use bfd_get_reloc_size to find the size
  2595. of the item in bytes. */
  2596. unsigned int size:3;
  2597. /* The number of bits in the field to be relocated. This is used
  2598. when doing overflow checking. */
  2599. unsigned int bitsize:7;
  2600. /* The value the final relocation is shifted right by. This drops
  2601. unwanted data from the relocation. */
  2602. unsigned int rightshift:6;
  2603. /* The bit position of the reloc value in the destination.
  2604. The relocated value is left shifted by this amount. */
  2605. unsigned int bitpos:6;
  2606. /* What type of overflow error should be checked for when
  2607. relocating. */
  2608. ENUM_BITFIELD (complain_overflow) complain_on_overflow:2;
  2609. /* The relocation value should be negated before applying. */
  2610. unsigned int negate:1;
  2611. /* The relocation is relative to the item being relocated. */
  2612. unsigned int pc_relative:1;
  2613. /* Some formats record a relocation addend in the section contents
  2614. rather than with the relocation. For ELF formats this is the
  2615. distinction between USE_REL and USE_RELA (though the code checks
  2616. for USE_REL == 1/0). The value of this field is TRUE if the
  2617. addend is recorded with the section contents; when performing a
  2618. partial link (ld -r) the section contents (the data) will be
  2619. modified. The value of this field is FALSE if addends are
  2620. recorded with the relocation (in arelent.addend); when performing
  2621. a partial link the relocation will be modified.
  2622. All relocations for all ELF USE_RELA targets should set this field
  2623. to FALSE (values of TRUE should be looked on with suspicion).
  2624. However, the converse is not true: not all relocations of all ELF
  2625. USE_REL targets set this field to TRUE. Why this is so is peculiar
  2626. to each particular target. For relocs that aren't used in partial
  2627. links (e.g. GOT stuff) it doesn't matter what this is set to. */
  2628. unsigned int partial_inplace:1;
  2629. /* When some formats create PC relative instructions, they leave
  2630. the value of the pc of the place being relocated in the offset
  2631. slot of the instruction, so that a PC relative relocation can
  2632. be made just by adding in an ordinary offset (e.g., sun3 a.out).
  2633. Some formats leave the displacement part of an instruction
  2634. empty (e.g., ELF); this flag signals the fact. */
  2635. unsigned int pcrel_offset:1;
  2636. /* src_mask selects the part of the instruction (or data) to be used
  2637. in the relocation sum. If the target relocations don't have an
  2638. addend in the reloc, eg. ELF USE_REL, src_mask will normally equal
  2639. dst_mask to extract the addend from the section contents. If
  2640. relocations do have an addend in the reloc, eg. ELF USE_RELA, this
  2641. field should normally be zero. Non-zero values for ELF USE_RELA
  2642. targets should be viewed with suspicion as normally the value in
  2643. the dst_mask part of the section contents should be ignored. */
  2644. bfd_vma src_mask;
  2645. /* dst_mask selects which parts of the instruction (or data) are
  2646. replaced with a relocated value. */
  2647. bfd_vma dst_mask;
  2648. /* If this field is non null, then the supplied function is
  2649. called rather than the normal function. This allows really
  2650. strange relocation methods to be accommodated. */
  2651. bfd_reloc_status_type (*special_function)
  2652. (bfd *, arelent *, struct bfd_symbol *, void *, asection *,
  2653. bfd *, char **);
  2654. /* The textual name of the relocation type. */
  2655. char *name;
  2656. };
  2657. 2.10.1.3 'The HOWTO Macro'
  2658. ..........................
  2659. *Description*
  2660. The HOWTO macro fills in a reloc_howto_type (a typedef for const struct
  2661. reloc_howto_struct).
  2662. #define HOWTO(type, right, size, bits, pcrel, left, ovf, func, name, \
  2663. inplace, src_mask, dst_mask, pcrel_off) \
  2664. { (unsigned) type, size < 0 ? -size : size, bits, right, left, ovf, \
  2665. size < 0, pcrel, inplace, pcrel_off, src_mask, dst_mask, func, name }
  2666. *Description*
  2667. This is used to fill in an empty howto entry in an array.
  2668. #define EMPTY_HOWTO(C) \
  2669. HOWTO ((C), 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL, \
  2670. NULL, FALSE, 0, 0, FALSE)
  2671. 2.10.1.4 'bfd_get_reloc_size'
  2672. .............................
  2673. *Synopsis*
  2674. unsigned int bfd_get_reloc_size (reloc_howto_type *);
  2675. *Description*
  2676. For a reloc_howto_type that operates on a fixed number of bytes, this
  2677. returns the number of bytes operated on.
  2678. 2.10.1.5 'arelent_chain'
  2679. ........................
  2680. *Description*
  2681. How relocs are tied together in an 'asection':
  2682. typedef struct relent_chain
  2683. {
  2684. arelent relent;
  2685. struct relent_chain *next;
  2686. }
  2687. arelent_chain;
  2688. 2.10.1.6 'bfd_check_overflow'
  2689. .............................
  2690. *Synopsis*
  2691. bfd_reloc_status_type bfd_check_overflow
  2692. (enum complain_overflow how,
  2693. unsigned int bitsize,
  2694. unsigned int rightshift,
  2695. unsigned int addrsize,
  2696. bfd_vma relocation);
  2697. *Description*
  2698. Perform overflow checking on RELOCATION which has BITSIZE significant
  2699. bits and will be shifted right by RIGHTSHIFT bits, on a machine with
  2700. addresses containing ADDRSIZE significant bits. The result is either of
  2701. 'bfd_reloc_ok' or 'bfd_reloc_overflow'.
  2702. 2.10.1.7 'bfd_reloc_offset_in_range'
  2703. ....................................
  2704. *Synopsis*
  2705. bfd_boolean bfd_reloc_offset_in_range
  2706. (reloc_howto_type *howto,
  2707. bfd *abfd,
  2708. asection *section,
  2709. bfd_size_type offset);
  2710. *Description*
  2711. Returns TRUE if the reloc described by HOWTO can be applied at OFFSET
  2712. octets in SECTION.
  2713. 2.10.1.8 'bfd_perform_relocation'
  2714. .................................
  2715. *Synopsis*
  2716. bfd_reloc_status_type bfd_perform_relocation
  2717. (bfd *abfd,
  2718. arelent *reloc_entry,
  2719. void *data,
  2720. asection *input_section,
  2721. bfd *output_bfd,
  2722. char **error_message);
  2723. *Description*
  2724. If OUTPUT_BFD is supplied to this function, the generated image will be
  2725. relocatable; the relocations are copied to the output file after they
  2726. have been changed to reflect the new state of the world. There are two
  2727. ways of reflecting the results of partial linkage in an output file: by
  2728. modifying the output data in place, and by modifying the relocation
  2729. record. Some native formats (e.g., basic a.out and basic coff) have no
  2730. way of specifying an addend in the relocation type, so the addend has to
  2731. go in the output data. This is no big deal since in these formats the
  2732. output data slot will always be big enough for the addend. Complex
  2733. reloc types with addends were invented to solve just this problem. The
  2734. ERROR_MESSAGE argument is set to an error message if this return
  2735. 'bfd_reloc_dangerous'.
  2736. 2.10.1.9 'bfd_install_relocation'
  2737. .................................
  2738. *Synopsis*
  2739. bfd_reloc_status_type bfd_install_relocation
  2740. (bfd *abfd,
  2741. arelent *reloc_entry,
  2742. void *data, bfd_vma data_start,
  2743. asection *input_section,
  2744. char **error_message);
  2745. *Description*
  2746. This looks remarkably like 'bfd_perform_relocation', except it does not
  2747. expect that the section contents have been filled in. I.e., it's
  2748. suitable for use when creating, rather than applying a relocation.
  2749. For now, this function should be considered reserved for the
  2750. assembler.
  2751. 
  2752. File: bfd.info, Node: howto manager, Prev: typedef arelent, Up: Relocations
  2753. 2.10.2 The howto manager
  2754. ------------------------
  2755. When an application wants to create a relocation, but doesn't know what
  2756. the target machine might call it, it can find out by using this bit of
  2757. code.
  2758. 2.10.2.1 'bfd_reloc_code_type'
  2759. ..............................
  2760. *Description*
  2761. The insides of a reloc code. The idea is that, eventually, there will
  2762. be one enumerator for every type of relocation we ever do. Pass one of
  2763. these values to 'bfd_reloc_type_lookup', and it'll return a howto
  2764. pointer.
  2765. This does mean that the application must determine the correct
  2766. enumerator value; you can't get a howto pointer from a random set of
  2767. attributes.
  2768. Here are the possible values for 'enum bfd_reloc_code_real':
  2769. -- : BFD_RELOC_64
  2770. -- : BFD_RELOC_32
  2771. -- : BFD_RELOC_26
  2772. -- : BFD_RELOC_24
  2773. -- : BFD_RELOC_16
  2774. -- : BFD_RELOC_14
  2775. -- : BFD_RELOC_8
  2776. Basic absolute relocations of N bits.
  2777. -- : BFD_RELOC_64_PCREL
  2778. -- : BFD_RELOC_32_PCREL
  2779. -- : BFD_RELOC_24_PCREL
  2780. -- : BFD_RELOC_16_PCREL
  2781. -- : BFD_RELOC_12_PCREL
  2782. -- : BFD_RELOC_8_PCREL
  2783. PC-relative relocations. Sometimes these are relative to the
  2784. address of the relocation itself; sometimes they are relative to
  2785. the start of the section containing the relocation. It depends on
  2786. the specific target.
  2787. -- : BFD_RELOC_32_SECREL
  2788. Section relative relocations. Some targets need this for DWARF2.
  2789. -- : BFD_RELOC_32_GOT_PCREL
  2790. -- : BFD_RELOC_16_GOT_PCREL
  2791. -- : BFD_RELOC_8_GOT_PCREL
  2792. -- : BFD_RELOC_32_GOTOFF
  2793. -- : BFD_RELOC_16_GOTOFF
  2794. -- : BFD_RELOC_LO16_GOTOFF
  2795. -- : BFD_RELOC_HI16_GOTOFF
  2796. -- : BFD_RELOC_HI16_S_GOTOFF
  2797. -- : BFD_RELOC_8_GOTOFF
  2798. -- : BFD_RELOC_64_PLT_PCREL
  2799. -- : BFD_RELOC_32_PLT_PCREL
  2800. -- : BFD_RELOC_24_PLT_PCREL
  2801. -- : BFD_RELOC_16_PLT_PCREL
  2802. -- : BFD_RELOC_8_PLT_PCREL
  2803. -- : BFD_RELOC_64_PLTOFF
  2804. -- : BFD_RELOC_32_PLTOFF
  2805. -- : BFD_RELOC_16_PLTOFF
  2806. -- : BFD_RELOC_LO16_PLTOFF
  2807. -- : BFD_RELOC_HI16_PLTOFF
  2808. -- : BFD_RELOC_HI16_S_PLTOFF
  2809. -- : BFD_RELOC_8_PLTOFF
  2810. For ELF.
  2811. -- : BFD_RELOC_SIZE32
  2812. -- : BFD_RELOC_SIZE64
  2813. Size relocations.
  2814. -- : BFD_RELOC_68K_GLOB_DAT
  2815. -- : BFD_RELOC_68K_JMP_SLOT
  2816. -- : BFD_RELOC_68K_RELATIVE
  2817. -- : BFD_RELOC_68K_TLS_GD32
  2818. -- : BFD_RELOC_68K_TLS_GD16
  2819. -- : BFD_RELOC_68K_TLS_GD8
  2820. -- : BFD_RELOC_68K_TLS_LDM32
  2821. -- : BFD_RELOC_68K_TLS_LDM16
  2822. -- : BFD_RELOC_68K_TLS_LDM8
  2823. -- : BFD_RELOC_68K_TLS_LDO32
  2824. -- : BFD_RELOC_68K_TLS_LDO16
  2825. -- : BFD_RELOC_68K_TLS_LDO8
  2826. -- : BFD_RELOC_68K_TLS_IE32
  2827. -- : BFD_RELOC_68K_TLS_IE16
  2828. -- : BFD_RELOC_68K_TLS_IE8
  2829. -- : BFD_RELOC_68K_TLS_LE32
  2830. -- : BFD_RELOC_68K_TLS_LE16
  2831. -- : BFD_RELOC_68K_TLS_LE8
  2832. Relocations used by 68K ELF.
  2833. -- : BFD_RELOC_32_BASEREL
  2834. -- : BFD_RELOC_16_BASEREL
  2835. -- : BFD_RELOC_LO16_BASEREL
  2836. -- : BFD_RELOC_HI16_BASEREL
  2837. -- : BFD_RELOC_HI16_S_BASEREL
  2838. -- : BFD_RELOC_8_BASEREL
  2839. -- : BFD_RELOC_RVA
  2840. Linkage-table relative.
  2841. -- : BFD_RELOC_8_FFnn
  2842. Absolute 8-bit relocation, but used to form an address like 0xFFnn.
  2843. -- : BFD_RELOC_32_PCREL_S2
  2844. -- : BFD_RELOC_16_PCREL_S2
  2845. -- : BFD_RELOC_23_PCREL_S2
  2846. These PC-relative relocations are stored as word displacements -
  2847. i.e., byte displacements shifted right two bits. The 30-bit word
  2848. displacement (<<32_PCREL_S2>> - 32 bits, shifted 2) is used on the
  2849. SPARC. (SPARC tools generally refer to this as <<WDISP30>>.) The
  2850. signed 16-bit displacement is used on the MIPS, and the 23-bit
  2851. displacement is used on the Alpha.
  2852. -- : BFD_RELOC_HI22
  2853. -- : BFD_RELOC_LO10
  2854. High 22 bits and low 10 bits of 32-bit value, placed into lower
  2855. bits of the target word. These are used on the SPARC.
  2856. -- : BFD_RELOC_GPREL16
  2857. -- : BFD_RELOC_GPREL32
  2858. For systems that allocate a Global Pointer register, these are
  2859. displacements off that register. These relocation types are
  2860. handled specially, because the value the register will have is
  2861. decided relatively late.
  2862. -- : BFD_RELOC_NONE
  2863. -- : BFD_RELOC_SPARC_WDISP22
  2864. -- : BFD_RELOC_SPARC22
  2865. -- : BFD_RELOC_SPARC13
  2866. -- : BFD_RELOC_SPARC_GOT10
  2867. -- : BFD_RELOC_SPARC_GOT13
  2868. -- : BFD_RELOC_SPARC_GOT22
  2869. -- : BFD_RELOC_SPARC_PC10
  2870. -- : BFD_RELOC_SPARC_PC22
  2871. -- : BFD_RELOC_SPARC_WPLT30
  2872. -- : BFD_RELOC_SPARC_COPY
  2873. -- : BFD_RELOC_SPARC_GLOB_DAT
  2874. -- : BFD_RELOC_SPARC_JMP_SLOT
  2875. -- : BFD_RELOC_SPARC_RELATIVE
  2876. -- : BFD_RELOC_SPARC_UA16
  2877. -- : BFD_RELOC_SPARC_UA32
  2878. -- : BFD_RELOC_SPARC_UA64
  2879. -- : BFD_RELOC_SPARC_GOTDATA_HIX22
  2880. -- : BFD_RELOC_SPARC_GOTDATA_LOX10
  2881. -- : BFD_RELOC_SPARC_GOTDATA_OP_HIX22
  2882. -- : BFD_RELOC_SPARC_GOTDATA_OP_LOX10
  2883. -- : BFD_RELOC_SPARC_GOTDATA_OP
  2884. -- : BFD_RELOC_SPARC_JMP_IREL
  2885. -- : BFD_RELOC_SPARC_IRELATIVE
  2886. SPARC ELF relocations. There is probably some overlap with other
  2887. relocation types already defined.
  2888. -- : BFD_RELOC_SPARC_BASE13
  2889. -- : BFD_RELOC_SPARC_BASE22
  2890. I think these are specific to SPARC a.out (e.g., Sun 4).
  2891. -- : BFD_RELOC_SPARC_64
  2892. -- : BFD_RELOC_SPARC_10
  2893. -- : BFD_RELOC_SPARC_11
  2894. -- : BFD_RELOC_SPARC_OLO10
  2895. -- : BFD_RELOC_SPARC_HH22
  2896. -- : BFD_RELOC_SPARC_HM10
  2897. -- : BFD_RELOC_SPARC_LM22
  2898. -- : BFD_RELOC_SPARC_PC_HH22
  2899. -- : BFD_RELOC_SPARC_PC_HM10
  2900. -- : BFD_RELOC_SPARC_PC_LM22
  2901. -- : BFD_RELOC_SPARC_WDISP16
  2902. -- : BFD_RELOC_SPARC_WDISP19
  2903. -- : BFD_RELOC_SPARC_7
  2904. -- : BFD_RELOC_SPARC_6
  2905. -- : BFD_RELOC_SPARC_5
  2906. -- : BFD_RELOC_SPARC_DISP64
  2907. -- : BFD_RELOC_SPARC_PLT32
  2908. -- : BFD_RELOC_SPARC_PLT64
  2909. -- : BFD_RELOC_SPARC_HIX22
  2910. -- : BFD_RELOC_SPARC_LOX10
  2911. -- : BFD_RELOC_SPARC_H44
  2912. -- : BFD_RELOC_SPARC_M44
  2913. -- : BFD_RELOC_SPARC_L44
  2914. -- : BFD_RELOC_SPARC_REGISTER
  2915. -- : BFD_RELOC_SPARC_H34
  2916. -- : BFD_RELOC_SPARC_SIZE32
  2917. -- : BFD_RELOC_SPARC_SIZE64
  2918. -- : BFD_RELOC_SPARC_WDISP10
  2919. SPARC64 relocations
  2920. -- : BFD_RELOC_SPARC_REV32
  2921. SPARC little endian relocation
  2922. -- : BFD_RELOC_SPARC_TLS_GD_HI22
  2923. -- : BFD_RELOC_SPARC_TLS_GD_LO10
  2924. -- : BFD_RELOC_SPARC_TLS_GD_ADD
  2925. -- : BFD_RELOC_SPARC_TLS_GD_CALL
  2926. -- : BFD_RELOC_SPARC_TLS_LDM_HI22
  2927. -- : BFD_RELOC_SPARC_TLS_LDM_LO10
  2928. -- : BFD_RELOC_SPARC_TLS_LDM_ADD
  2929. -- : BFD_RELOC_SPARC_TLS_LDM_CALL
  2930. -- : BFD_RELOC_SPARC_TLS_LDO_HIX22
  2931. -- : BFD_RELOC_SPARC_TLS_LDO_LOX10
  2932. -- : BFD_RELOC_SPARC_TLS_LDO_ADD
  2933. -- : BFD_RELOC_SPARC_TLS_IE_HI22
  2934. -- : BFD_RELOC_SPARC_TLS_IE_LO10
  2935. -- : BFD_RELOC_SPARC_TLS_IE_LD
  2936. -- : BFD_RELOC_SPARC_TLS_IE_LDX
  2937. -- : BFD_RELOC_SPARC_TLS_IE_ADD
  2938. -- : BFD_RELOC_SPARC_TLS_LE_HIX22
  2939. -- : BFD_RELOC_SPARC_TLS_LE_LOX10
  2940. -- : BFD_RELOC_SPARC_TLS_DTPMOD32
  2941. -- : BFD_RELOC_SPARC_TLS_DTPMOD64
  2942. -- : BFD_RELOC_SPARC_TLS_DTPOFF32
  2943. -- : BFD_RELOC_SPARC_TLS_DTPOFF64
  2944. -- : BFD_RELOC_SPARC_TLS_TPOFF32
  2945. -- : BFD_RELOC_SPARC_TLS_TPOFF64
  2946. SPARC TLS relocations
  2947. -- : BFD_RELOC_SPU_IMM7
  2948. -- : BFD_RELOC_SPU_IMM8
  2949. -- : BFD_RELOC_SPU_IMM10
  2950. -- : BFD_RELOC_SPU_IMM10W
  2951. -- : BFD_RELOC_SPU_IMM16
  2952. -- : BFD_RELOC_SPU_IMM16W
  2953. -- : BFD_RELOC_SPU_IMM18
  2954. -- : BFD_RELOC_SPU_PCREL9a
  2955. -- : BFD_RELOC_SPU_PCREL9b
  2956. -- : BFD_RELOC_SPU_PCREL16
  2957. -- : BFD_RELOC_SPU_LO16
  2958. -- : BFD_RELOC_SPU_HI16
  2959. -- : BFD_RELOC_SPU_PPU32
  2960. -- : BFD_RELOC_SPU_PPU64
  2961. -- : BFD_RELOC_SPU_ADD_PIC
  2962. SPU Relocations.
  2963. -- : BFD_RELOC_ALPHA_GPDISP_HI16
  2964. Alpha ECOFF and ELF relocations. Some of these treat the symbol or
  2965. "addend" in some special way. For GPDISP_HI16 ("gpdisp")
  2966. relocations, the symbol is ignored when writing; when reading, it
  2967. will be the absolute section symbol. The addend is the
  2968. displacement in bytes of the "lda" instruction from the "ldah"
  2969. instruction (which is at the address of this reloc).
  2970. -- : BFD_RELOC_ALPHA_GPDISP_LO16
  2971. For GPDISP_LO16 ("ignore") relocations, the symbol is handled as
  2972. with GPDISP_HI16 relocs. The addend is ignored when writing the
  2973. relocations out, and is filled in with the file's GP value on
  2974. reading, for convenience.
  2975. -- : BFD_RELOC_ALPHA_GPDISP
  2976. The ELF GPDISP relocation is exactly the same as the GPDISP_HI16
  2977. relocation except that there is no accompanying GPDISP_LO16
  2978. relocation.
  2979. -- : BFD_RELOC_ALPHA_LITERAL
  2980. -- : BFD_RELOC_ALPHA_ELF_LITERAL
  2981. -- : BFD_RELOC_ALPHA_LITUSE
  2982. The Alpha LITERAL/LITUSE relocs are produced by a symbol reference;
  2983. the assembler turns it into a LDQ instruction to load the address
  2984. of the symbol, and then fills in a register in the real
  2985. instruction.
  2986. The LITERAL reloc, at the LDQ instruction, refers to the .lita
  2987. section symbol. The addend is ignored when writing, but is filled
  2988. in with the file's GP value on reading, for convenience, as with
  2989. the GPDISP_LO16 reloc.
  2990. The ELF_LITERAL reloc is somewhere between 16_GOTOFF and
  2991. GPDISP_LO16. It should refer to the symbol to be referenced, as
  2992. with 16_GOTOFF, but it generates output not based on the position
  2993. within the .got section, but relative to the GP value chosen for
  2994. the file during the final link stage.
  2995. The LITUSE reloc, on the instruction using the loaded address,
  2996. gives information to the linker that it might be able to use to
  2997. optimize away some literal section references. The symbol is
  2998. ignored (read as the absolute section symbol), and the "addend"
  2999. indicates the type of instruction using the register: 1 - "memory"
  3000. fmt insn 2 - byte-manipulation (byte offset reg) 3 - jsr (target of
  3001. branch)
  3002. -- : BFD_RELOC_ALPHA_HINT
  3003. The HINT relocation indicates a value that should be filled into
  3004. the "hint" field of a jmp/jsr/ret instruction, for possible branch-
  3005. prediction logic which may be provided on some processors.
  3006. -- : BFD_RELOC_ALPHA_LINKAGE
  3007. The LINKAGE relocation outputs a linkage pair in the object file,
  3008. which is filled by the linker.
  3009. -- : BFD_RELOC_ALPHA_CODEADDR
  3010. The CODEADDR relocation outputs a STO_CA in the object file, which
  3011. is filled by the linker.
  3012. -- : BFD_RELOC_ALPHA_GPREL_HI16
  3013. -- : BFD_RELOC_ALPHA_GPREL_LO16
  3014. The GPREL_HI/LO relocations together form a 32-bit offset from the
  3015. GP register.
  3016. -- : BFD_RELOC_ALPHA_BRSGP
  3017. Like BFD_RELOC_23_PCREL_S2, except that the source and target must
  3018. share a common GP, and the target address is adjusted for
  3019. STO_ALPHA_STD_GPLOAD.
  3020. -- : BFD_RELOC_ALPHA_NOP
  3021. The NOP relocation outputs a NOP if the longword displacement
  3022. between two procedure entry points is < 2^21.
  3023. -- : BFD_RELOC_ALPHA_BSR
  3024. The BSR relocation outputs a BSR if the longword displacement
  3025. between two procedure entry points is < 2^21.
  3026. -- : BFD_RELOC_ALPHA_LDA
  3027. The LDA relocation outputs a LDA if the longword displacement
  3028. between two procedure entry points is < 2^16.
  3029. -- : BFD_RELOC_ALPHA_BOH
  3030. The BOH relocation outputs a BSR if the longword displacement
  3031. between two procedure entry points is < 2^21, or else a hint.
  3032. -- : BFD_RELOC_ALPHA_TLSGD
  3033. -- : BFD_RELOC_ALPHA_TLSLDM
  3034. -- : BFD_RELOC_ALPHA_DTPMOD64
  3035. -- : BFD_RELOC_ALPHA_GOTDTPREL16
  3036. -- : BFD_RELOC_ALPHA_DTPREL64
  3037. -- : BFD_RELOC_ALPHA_DTPREL_HI16
  3038. -- : BFD_RELOC_ALPHA_DTPREL_LO16
  3039. -- : BFD_RELOC_ALPHA_DTPREL16
  3040. -- : BFD_RELOC_ALPHA_GOTTPREL16
  3041. -- : BFD_RELOC_ALPHA_TPREL64
  3042. -- : BFD_RELOC_ALPHA_TPREL_HI16
  3043. -- : BFD_RELOC_ALPHA_TPREL_LO16
  3044. -- : BFD_RELOC_ALPHA_TPREL16
  3045. Alpha thread-local storage relocations.
  3046. -- : BFD_RELOC_MIPS_JMP
  3047. -- : BFD_RELOC_MICROMIPS_JMP
  3048. The MIPS jump instruction.
  3049. -- : BFD_RELOC_MIPS16_JMP
  3050. The MIPS16 jump instruction.
  3051. -- : BFD_RELOC_MIPS16_GPREL
  3052. MIPS16 GP relative reloc.
  3053. -- : BFD_RELOC_HI16
  3054. High 16 bits of 32-bit value; simple reloc.
  3055. -- : BFD_RELOC_HI16_S
  3056. High 16 bits of 32-bit value but the low 16 bits will be sign
  3057. extended and added to form the final result. If the low 16 bits
  3058. form a negative number, we need to add one to the high value to
  3059. compensate for the borrow when the low bits are added.
  3060. -- : BFD_RELOC_LO16
  3061. Low 16 bits.
  3062. -- : BFD_RELOC_HI16_PCREL
  3063. High 16 bits of 32-bit pc-relative value
  3064. -- : BFD_RELOC_HI16_S_PCREL
  3065. High 16 bits of 32-bit pc-relative value, adjusted
  3066. -- : BFD_RELOC_LO16_PCREL
  3067. Low 16 bits of pc-relative value
  3068. -- : BFD_RELOC_MIPS16_GOT16
  3069. -- : BFD_RELOC_MIPS16_CALL16
  3070. Equivalent of BFD_RELOC_MIPS_*, but with the MIPS16 layout of
  3071. 16-bit immediate fields
  3072. -- : BFD_RELOC_MIPS16_HI16
  3073. MIPS16 high 16 bits of 32-bit value.
  3074. -- : BFD_RELOC_MIPS16_HI16_S
  3075. MIPS16 high 16 bits of 32-bit value but the low 16 bits will be
  3076. sign extended and added to form the final result. If the low 16
  3077. bits form a negative number, we need to add one to the high value
  3078. to compensate for the borrow when the low bits are added.
  3079. -- : BFD_RELOC_MIPS16_LO16
  3080. MIPS16 low 16 bits.
  3081. -- : BFD_RELOC_MIPS16_TLS_GD
  3082. -- : BFD_RELOC_MIPS16_TLS_LDM
  3083. -- : BFD_RELOC_MIPS16_TLS_DTPREL_HI16
  3084. -- : BFD_RELOC_MIPS16_TLS_DTPREL_LO16
  3085. -- : BFD_RELOC_MIPS16_TLS_GOTTPREL
  3086. -- : BFD_RELOC_MIPS16_TLS_TPREL_HI16
  3087. -- : BFD_RELOC_MIPS16_TLS_TPREL_LO16
  3088. MIPS16 TLS relocations
  3089. -- : BFD_RELOC_MIPS_LITERAL
  3090. -- : BFD_RELOC_MICROMIPS_LITERAL
  3091. Relocation against a MIPS literal section.
  3092. -- : BFD_RELOC_MICROMIPS_7_PCREL_S1
  3093. -- : BFD_RELOC_MICROMIPS_10_PCREL_S1
  3094. -- : BFD_RELOC_MICROMIPS_16_PCREL_S1
  3095. microMIPS PC-relative relocations.
  3096. -- : BFD_RELOC_MIPS16_16_PCREL_S1
  3097. MIPS16 PC-relative relocation.
  3098. -- : BFD_RELOC_MIPS_21_PCREL_S2
  3099. -- : BFD_RELOC_MIPS_26_PCREL_S2
  3100. -- : BFD_RELOC_MIPS_18_PCREL_S3
  3101. -- : BFD_RELOC_MIPS_19_PCREL_S2
  3102. MIPS PC-relative relocations.
  3103. -- : BFD_RELOC_MICROMIPS_GPREL16
  3104. -- : BFD_RELOC_MICROMIPS_HI16
  3105. -- : BFD_RELOC_MICROMIPS_HI16_S
  3106. -- : BFD_RELOC_MICROMIPS_LO16
  3107. microMIPS versions of generic BFD relocs.
  3108. -- : BFD_RELOC_MIPS_GOT16
  3109. -- : BFD_RELOC_MICROMIPS_GOT16
  3110. -- : BFD_RELOC_MIPS_CALL16
  3111. -- : BFD_RELOC_MICROMIPS_CALL16
  3112. -- : BFD_RELOC_MIPS_GOT_HI16
  3113. -- : BFD_RELOC_MICROMIPS_GOT_HI16
  3114. -- : BFD_RELOC_MIPS_GOT_LO16
  3115. -- : BFD_RELOC_MICROMIPS_GOT_LO16
  3116. -- : BFD_RELOC_MIPS_CALL_HI16
  3117. -- : BFD_RELOC_MICROMIPS_CALL_HI16
  3118. -- : BFD_RELOC_MIPS_CALL_LO16
  3119. -- : BFD_RELOC_MICROMIPS_CALL_LO16
  3120. -- : BFD_RELOC_MIPS_SUB
  3121. -- : BFD_RELOC_MICROMIPS_SUB
  3122. -- : BFD_RELOC_MIPS_GOT_PAGE
  3123. -- : BFD_RELOC_MICROMIPS_GOT_PAGE
  3124. -- : BFD_RELOC_MIPS_GOT_OFST
  3125. -- : BFD_RELOC_MICROMIPS_GOT_OFST
  3126. -- : BFD_RELOC_MIPS_GOT_DISP
  3127. -- : BFD_RELOC_MICROMIPS_GOT_DISP
  3128. -- : BFD_RELOC_MIPS_SHIFT5
  3129. -- : BFD_RELOC_MIPS_SHIFT6
  3130. -- : BFD_RELOC_MIPS_INSERT_A
  3131. -- : BFD_RELOC_MIPS_INSERT_B
  3132. -- : BFD_RELOC_MIPS_DELETE
  3133. -- : BFD_RELOC_MIPS_HIGHEST
  3134. -- : BFD_RELOC_MICROMIPS_HIGHEST
  3135. -- : BFD_RELOC_MIPS_HIGHER
  3136. -- : BFD_RELOC_MICROMIPS_HIGHER
  3137. -- : BFD_RELOC_MIPS_SCN_DISP
  3138. -- : BFD_RELOC_MICROMIPS_SCN_DISP
  3139. -- : BFD_RELOC_MIPS_REL16
  3140. -- : BFD_RELOC_MIPS_RELGOT
  3141. -- : BFD_RELOC_MIPS_JALR
  3142. -- : BFD_RELOC_MICROMIPS_JALR
  3143. -- : BFD_RELOC_MIPS_TLS_DTPMOD32
  3144. -- : BFD_RELOC_MIPS_TLS_DTPREL32
  3145. -- : BFD_RELOC_MIPS_TLS_DTPMOD64
  3146. -- : BFD_RELOC_MIPS_TLS_DTPREL64
  3147. -- : BFD_RELOC_MIPS_TLS_GD
  3148. -- : BFD_RELOC_MICROMIPS_TLS_GD
  3149. -- : BFD_RELOC_MIPS_TLS_LDM
  3150. -- : BFD_RELOC_MICROMIPS_TLS_LDM
  3151. -- : BFD_RELOC_MIPS_TLS_DTPREL_HI16
  3152. -- : BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16
  3153. -- : BFD_RELOC_MIPS_TLS_DTPREL_LO16
  3154. -- : BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16
  3155. -- : BFD_RELOC_MIPS_TLS_GOTTPREL
  3156. -- : BFD_RELOC_MICROMIPS_TLS_GOTTPREL
  3157. -- : BFD_RELOC_MIPS_TLS_TPREL32
  3158. -- : BFD_RELOC_MIPS_TLS_TPREL64
  3159. -- : BFD_RELOC_MIPS_TLS_TPREL_HI16
  3160. -- : BFD_RELOC_MICROMIPS_TLS_TPREL_HI16
  3161. -- : BFD_RELOC_MIPS_TLS_TPREL_LO16
  3162. -- : BFD_RELOC_MICROMIPS_TLS_TPREL_LO16
  3163. -- : BFD_RELOC_MIPS_EH
  3164. MIPS ELF relocations.
  3165. -- : BFD_RELOC_MIPS_COPY
  3166. -- : BFD_RELOC_MIPS_JUMP_SLOT
  3167. MIPS ELF relocations (VxWorks and PLT extensions).
  3168. -- : BFD_RELOC_MOXIE_10_PCREL
  3169. Moxie ELF relocations.
  3170. -- : BFD_RELOC_FT32_10
  3171. -- : BFD_RELOC_FT32_20
  3172. -- : BFD_RELOC_FT32_17
  3173. -- : BFD_RELOC_FT32_18
  3174. -- : BFD_RELOC_FT32_RELAX
  3175. -- : BFD_RELOC_FT32_SC0
  3176. -- : BFD_RELOC_FT32_SC1
  3177. -- : BFD_RELOC_FT32_15
  3178. -- : BFD_RELOC_FT32_DIFF32
  3179. FT32 ELF relocations.
  3180. -- : BFD_RELOC_FRV_LABEL16
  3181. -- : BFD_RELOC_FRV_LABEL24
  3182. -- : BFD_RELOC_FRV_LO16
  3183. -- : BFD_RELOC_FRV_HI16
  3184. -- : BFD_RELOC_FRV_GPREL12
  3185. -- : BFD_RELOC_FRV_GPRELU12
  3186. -- : BFD_RELOC_FRV_GPREL32
  3187. -- : BFD_RELOC_FRV_GPRELHI
  3188. -- : BFD_RELOC_FRV_GPRELLO
  3189. -- : BFD_RELOC_FRV_GOT12
  3190. -- : BFD_RELOC_FRV_GOTHI
  3191. -- : BFD_RELOC_FRV_GOTLO
  3192. -- : BFD_RELOC_FRV_FUNCDESC
  3193. -- : BFD_RELOC_FRV_FUNCDESC_GOT12
  3194. -- : BFD_RELOC_FRV_FUNCDESC_GOTHI
  3195. -- : BFD_RELOC_FRV_FUNCDESC_GOTLO
  3196. -- : BFD_RELOC_FRV_FUNCDESC_VALUE
  3197. -- : BFD_RELOC_FRV_FUNCDESC_GOTOFF12
  3198. -- : BFD_RELOC_FRV_FUNCDESC_GOTOFFHI
  3199. -- : BFD_RELOC_FRV_FUNCDESC_GOTOFFLO
  3200. -- : BFD_RELOC_FRV_GOTOFF12
  3201. -- : BFD_RELOC_FRV_GOTOFFHI
  3202. -- : BFD_RELOC_FRV_GOTOFFLO
  3203. -- : BFD_RELOC_FRV_GETTLSOFF
  3204. -- : BFD_RELOC_FRV_TLSDESC_VALUE
  3205. -- : BFD_RELOC_FRV_GOTTLSDESC12
  3206. -- : BFD_RELOC_FRV_GOTTLSDESCHI
  3207. -- : BFD_RELOC_FRV_GOTTLSDESCLO
  3208. -- : BFD_RELOC_FRV_TLSMOFF12
  3209. -- : BFD_RELOC_FRV_TLSMOFFHI
  3210. -- : BFD_RELOC_FRV_TLSMOFFLO
  3211. -- : BFD_RELOC_FRV_GOTTLSOFF12
  3212. -- : BFD_RELOC_FRV_GOTTLSOFFHI
  3213. -- : BFD_RELOC_FRV_GOTTLSOFFLO
  3214. -- : BFD_RELOC_FRV_TLSOFF
  3215. -- : BFD_RELOC_FRV_TLSDESC_RELAX
  3216. -- : BFD_RELOC_FRV_GETTLSOFF_RELAX
  3217. -- : BFD_RELOC_FRV_TLSOFF_RELAX
  3218. -- : BFD_RELOC_FRV_TLSMOFF
  3219. Fujitsu Frv Relocations.
  3220. -- : BFD_RELOC_MN10300_GOTOFF24
  3221. This is a 24bit GOT-relative reloc for the mn10300.
  3222. -- : BFD_RELOC_MN10300_GOT32
  3223. This is a 32bit GOT-relative reloc for the mn10300, offset by two
  3224. bytes in the instruction.
  3225. -- : BFD_RELOC_MN10300_GOT24
  3226. This is a 24bit GOT-relative reloc for the mn10300, offset by two
  3227. bytes in the instruction.
  3228. -- : BFD_RELOC_MN10300_GOT16
  3229. This is a 16bit GOT-relative reloc for the mn10300, offset by two
  3230. bytes in the instruction.
  3231. -- : BFD_RELOC_MN10300_COPY
  3232. Copy symbol at runtime.
  3233. -- : BFD_RELOC_MN10300_GLOB_DAT
  3234. Create GOT entry.
  3235. -- : BFD_RELOC_MN10300_JMP_SLOT
  3236. Create PLT entry.
  3237. -- : BFD_RELOC_MN10300_RELATIVE
  3238. Adjust by program base.
  3239. -- : BFD_RELOC_MN10300_SYM_DIFF
  3240. Together with another reloc targeted at the same location, allows
  3241. for a value that is the difference of two symbols in the same
  3242. section.
  3243. -- : BFD_RELOC_MN10300_ALIGN
  3244. The addend of this reloc is an alignment power that must be
  3245. honoured at the offset's location, regardless of linker relaxation.
  3246. -- : BFD_RELOC_MN10300_TLS_GD
  3247. -- : BFD_RELOC_MN10300_TLS_LD
  3248. -- : BFD_RELOC_MN10300_TLS_LDO
  3249. -- : BFD_RELOC_MN10300_TLS_GOTIE
  3250. -- : BFD_RELOC_MN10300_TLS_IE
  3251. -- : BFD_RELOC_MN10300_TLS_LE
  3252. -- : BFD_RELOC_MN10300_TLS_DTPMOD
  3253. -- : BFD_RELOC_MN10300_TLS_DTPOFF
  3254. -- : BFD_RELOC_MN10300_TLS_TPOFF
  3255. Various TLS-related relocations.
  3256. -- : BFD_RELOC_MN10300_32_PCREL
  3257. This is a 32bit pcrel reloc for the mn10300, offset by two bytes in
  3258. the instruction.
  3259. -- : BFD_RELOC_MN10300_16_PCREL
  3260. This is a 16bit pcrel reloc for the mn10300, offset by two bytes in
  3261. the instruction.
  3262. -- : BFD_RELOC_386_GOT32
  3263. -- : BFD_RELOC_386_PLT32
  3264. -- : BFD_RELOC_386_COPY
  3265. -- : BFD_RELOC_386_GLOB_DAT
  3266. -- : BFD_RELOC_386_JUMP_SLOT
  3267. -- : BFD_RELOC_386_RELATIVE
  3268. -- : BFD_RELOC_386_GOTOFF
  3269. -- : BFD_RELOC_386_GOTPC
  3270. -- : BFD_RELOC_386_TLS_TPOFF
  3271. -- : BFD_RELOC_386_TLS_IE
  3272. -- : BFD_RELOC_386_TLS_GOTIE
  3273. -- : BFD_RELOC_386_TLS_LE
  3274. -- : BFD_RELOC_386_TLS_GD
  3275. -- : BFD_RELOC_386_TLS_LDM
  3276. -- : BFD_RELOC_386_TLS_LDO_32
  3277. -- : BFD_RELOC_386_TLS_IE_32
  3278. -- : BFD_RELOC_386_TLS_LE_32
  3279. -- : BFD_RELOC_386_TLS_DTPMOD32
  3280. -- : BFD_RELOC_386_TLS_DTPOFF32
  3281. -- : BFD_RELOC_386_TLS_TPOFF32
  3282. -- : BFD_RELOC_386_TLS_GOTDESC
  3283. -- : BFD_RELOC_386_TLS_DESC_CALL
  3284. -- : BFD_RELOC_386_TLS_DESC
  3285. -- : BFD_RELOC_386_IRELATIVE
  3286. -- : BFD_RELOC_386_GOT32X
  3287. i386/elf relocations
  3288. -- : BFD_RELOC_X86_64_GOT32
  3289. -- : BFD_RELOC_X86_64_PLT32
  3290. -- : BFD_RELOC_X86_64_COPY
  3291. -- : BFD_RELOC_X86_64_GLOB_DAT
  3292. -- : BFD_RELOC_X86_64_JUMP_SLOT
  3293. -- : BFD_RELOC_X86_64_RELATIVE
  3294. -- : BFD_RELOC_X86_64_GOTPCREL
  3295. -- : BFD_RELOC_X86_64_32S
  3296. -- : BFD_RELOC_X86_64_DTPMOD64
  3297. -- : BFD_RELOC_X86_64_DTPOFF64
  3298. -- : BFD_RELOC_X86_64_TPOFF64
  3299. -- : BFD_RELOC_X86_64_TLSGD
  3300. -- : BFD_RELOC_X86_64_TLSLD
  3301. -- : BFD_RELOC_X86_64_DTPOFF32
  3302. -- : BFD_RELOC_X86_64_GOTTPOFF
  3303. -- : BFD_RELOC_X86_64_TPOFF32
  3304. -- : BFD_RELOC_X86_64_GOTOFF64
  3305. -- : BFD_RELOC_X86_64_GOTPC32
  3306. -- : BFD_RELOC_X86_64_GOT64
  3307. -- : BFD_RELOC_X86_64_GOTPCREL64
  3308. -- : BFD_RELOC_X86_64_GOTPC64
  3309. -- : BFD_RELOC_X86_64_GOTPLT64
  3310. -- : BFD_RELOC_X86_64_PLTOFF64
  3311. -- : BFD_RELOC_X86_64_GOTPC32_TLSDESC
  3312. -- : BFD_RELOC_X86_64_TLSDESC_CALL
  3313. -- : BFD_RELOC_X86_64_TLSDESC
  3314. -- : BFD_RELOC_X86_64_IRELATIVE
  3315. -- : BFD_RELOC_X86_64_PC32_BND
  3316. -- : BFD_RELOC_X86_64_PLT32_BND
  3317. -- : BFD_RELOC_X86_64_GOTPCRELX
  3318. -- : BFD_RELOC_X86_64_REX_GOTPCRELX
  3319. x86-64/elf relocations
  3320. -- : BFD_RELOC_NS32K_IMM_8
  3321. -- : BFD_RELOC_NS32K_IMM_16
  3322. -- : BFD_RELOC_NS32K_IMM_32
  3323. -- : BFD_RELOC_NS32K_IMM_8_PCREL
  3324. -- : BFD_RELOC_NS32K_IMM_16_PCREL
  3325. -- : BFD_RELOC_NS32K_IMM_32_PCREL
  3326. -- : BFD_RELOC_NS32K_DISP_8
  3327. -- : BFD_RELOC_NS32K_DISP_16
  3328. -- : BFD_RELOC_NS32K_DISP_32
  3329. -- : BFD_RELOC_NS32K_DISP_8_PCREL
  3330. -- : BFD_RELOC_NS32K_DISP_16_PCREL
  3331. -- : BFD_RELOC_NS32K_DISP_32_PCREL
  3332. ns32k relocations
  3333. -- : BFD_RELOC_PDP11_DISP_8_PCREL
  3334. -- : BFD_RELOC_PDP11_DISP_6_PCREL
  3335. PDP11 relocations
  3336. -- : BFD_RELOC_PJ_CODE_HI16
  3337. -- : BFD_RELOC_PJ_CODE_LO16
  3338. -- : BFD_RELOC_PJ_CODE_DIR16
  3339. -- : BFD_RELOC_PJ_CODE_DIR32
  3340. -- : BFD_RELOC_PJ_CODE_REL16
  3341. -- : BFD_RELOC_PJ_CODE_REL32
  3342. Picojava relocs. Not all of these appear in object files.
  3343. -- : BFD_RELOC_PPC_B26
  3344. -- : BFD_RELOC_PPC_BA26
  3345. -- : BFD_RELOC_PPC_TOC16
  3346. -- : BFD_RELOC_PPC_B16
  3347. -- : BFD_RELOC_PPC_B16_BRTAKEN
  3348. -- : BFD_RELOC_PPC_B16_BRNTAKEN
  3349. -- : BFD_RELOC_PPC_BA16
  3350. -- : BFD_RELOC_PPC_BA16_BRTAKEN
  3351. -- : BFD_RELOC_PPC_BA16_BRNTAKEN
  3352. -- : BFD_RELOC_PPC_COPY
  3353. -- : BFD_RELOC_PPC_GLOB_DAT
  3354. -- : BFD_RELOC_PPC_JMP_SLOT
  3355. -- : BFD_RELOC_PPC_RELATIVE
  3356. -- : BFD_RELOC_PPC_LOCAL24PC
  3357. -- : BFD_RELOC_PPC_EMB_NADDR32
  3358. -- : BFD_RELOC_PPC_EMB_NADDR16
  3359. -- : BFD_RELOC_PPC_EMB_NADDR16_LO
  3360. -- : BFD_RELOC_PPC_EMB_NADDR16_HI
  3361. -- : BFD_RELOC_PPC_EMB_NADDR16_HA
  3362. -- : BFD_RELOC_PPC_EMB_SDAI16
  3363. -- : BFD_RELOC_PPC_EMB_SDA2I16
  3364. -- : BFD_RELOC_PPC_EMB_SDA2REL
  3365. -- : BFD_RELOC_PPC_EMB_SDA21
  3366. -- : BFD_RELOC_PPC_EMB_MRKREF
  3367. -- : BFD_RELOC_PPC_EMB_RELSEC16
  3368. -- : BFD_RELOC_PPC_EMB_RELST_LO
  3369. -- : BFD_RELOC_PPC_EMB_RELST_HI
  3370. -- : BFD_RELOC_PPC_EMB_RELST_HA
  3371. -- : BFD_RELOC_PPC_EMB_BIT_FLD
  3372. -- : BFD_RELOC_PPC_EMB_RELSDA
  3373. -- : BFD_RELOC_PPC_VLE_REL8
  3374. -- : BFD_RELOC_PPC_VLE_REL15
  3375. -- : BFD_RELOC_PPC_VLE_REL24
  3376. -- : BFD_RELOC_PPC_VLE_LO16A
  3377. -- : BFD_RELOC_PPC_VLE_LO16D
  3378. -- : BFD_RELOC_PPC_VLE_HI16A
  3379. -- : BFD_RELOC_PPC_VLE_HI16D
  3380. -- : BFD_RELOC_PPC_VLE_HA16A
  3381. -- : BFD_RELOC_PPC_VLE_HA16D
  3382. -- : BFD_RELOC_PPC_VLE_SDA21
  3383. -- : BFD_RELOC_PPC_VLE_SDA21_LO
  3384. -- : BFD_RELOC_PPC_VLE_SDAREL_LO16A
  3385. -- : BFD_RELOC_PPC_VLE_SDAREL_LO16D
  3386. -- : BFD_RELOC_PPC_VLE_SDAREL_HI16A
  3387. -- : BFD_RELOC_PPC_VLE_SDAREL_HI16D
  3388. -- : BFD_RELOC_PPC_VLE_SDAREL_HA16A
  3389. -- : BFD_RELOC_PPC_VLE_SDAREL_HA16D
  3390. -- : BFD_RELOC_PPC_16DX_HA
  3391. -- : BFD_RELOC_PPC_REL16DX_HA
  3392. -- : BFD_RELOC_PPC64_HIGHER
  3393. -- : BFD_RELOC_PPC64_HIGHER_S
  3394. -- : BFD_RELOC_PPC64_HIGHEST
  3395. -- : BFD_RELOC_PPC64_HIGHEST_S
  3396. -- : BFD_RELOC_PPC64_TOC16_LO
  3397. -- : BFD_RELOC_PPC64_TOC16_HI
  3398. -- : BFD_RELOC_PPC64_TOC16_HA
  3399. -- : BFD_RELOC_PPC64_TOC
  3400. -- : BFD_RELOC_PPC64_PLTGOT16
  3401. -- : BFD_RELOC_PPC64_PLTGOT16_LO
  3402. -- : BFD_RELOC_PPC64_PLTGOT16_HI
  3403. -- : BFD_RELOC_PPC64_PLTGOT16_HA
  3404. -- : BFD_RELOC_PPC64_ADDR16_DS
  3405. -- : BFD_RELOC_PPC64_ADDR16_LO_DS
  3406. -- : BFD_RELOC_PPC64_GOT16_DS
  3407. -- : BFD_RELOC_PPC64_GOT16_LO_DS
  3408. -- : BFD_RELOC_PPC64_PLT16_LO_DS
  3409. -- : BFD_RELOC_PPC64_SECTOFF_DS
  3410. -- : BFD_RELOC_PPC64_SECTOFF_LO_DS
  3411. -- : BFD_RELOC_PPC64_TOC16_DS
  3412. -- : BFD_RELOC_PPC64_TOC16_LO_DS
  3413. -- : BFD_RELOC_PPC64_PLTGOT16_DS
  3414. -- : BFD_RELOC_PPC64_PLTGOT16_LO_DS
  3415. -- : BFD_RELOC_PPC64_ADDR16_HIGH
  3416. -- : BFD_RELOC_PPC64_ADDR16_HIGHA
  3417. -- : BFD_RELOC_PPC64_REL16_HIGH
  3418. -- : BFD_RELOC_PPC64_REL16_HIGHA
  3419. -- : BFD_RELOC_PPC64_REL16_HIGHER
  3420. -- : BFD_RELOC_PPC64_REL16_HIGHERA
  3421. -- : BFD_RELOC_PPC64_REL16_HIGHEST
  3422. -- : BFD_RELOC_PPC64_REL16_HIGHESTA
  3423. -- : BFD_RELOC_PPC64_ADDR64_LOCAL
  3424. -- : BFD_RELOC_PPC64_ENTRY
  3425. -- : BFD_RELOC_PPC64_REL24_NOTOC
  3426. Power(rs6000) and PowerPC relocations.
  3427. -- : BFD_RELOC_PPC_TLS
  3428. -- : BFD_RELOC_PPC_TLSGD
  3429. -- : BFD_RELOC_PPC_TLSLD
  3430. -- : BFD_RELOC_PPC_DTPMOD
  3431. -- : BFD_RELOC_PPC_TPREL16
  3432. -- : BFD_RELOC_PPC_TPREL16_LO
  3433. -- : BFD_RELOC_PPC_TPREL16_HI
  3434. -- : BFD_RELOC_PPC_TPREL16_HA
  3435. -- : BFD_RELOC_PPC_TPREL
  3436. -- : BFD_RELOC_PPC_DTPREL16
  3437. -- : BFD_RELOC_PPC_DTPREL16_LO
  3438. -- : BFD_RELOC_PPC_DTPREL16_HI
  3439. -- : BFD_RELOC_PPC_DTPREL16_HA
  3440. -- : BFD_RELOC_PPC_DTPREL
  3441. -- : BFD_RELOC_PPC_GOT_TLSGD16
  3442. -- : BFD_RELOC_PPC_GOT_TLSGD16_LO
  3443. -- : BFD_RELOC_PPC_GOT_TLSGD16_HI
  3444. -- : BFD_RELOC_PPC_GOT_TLSGD16_HA
  3445. -- : BFD_RELOC_PPC_GOT_TLSLD16
  3446. -- : BFD_RELOC_PPC_GOT_TLSLD16_LO
  3447. -- : BFD_RELOC_PPC_GOT_TLSLD16_HI
  3448. -- : BFD_RELOC_PPC_GOT_TLSLD16_HA
  3449. -- : BFD_RELOC_PPC_GOT_TPREL16
  3450. -- : BFD_RELOC_PPC_GOT_TPREL16_LO
  3451. -- : BFD_RELOC_PPC_GOT_TPREL16_HI
  3452. -- : BFD_RELOC_PPC_GOT_TPREL16_HA
  3453. -- : BFD_RELOC_PPC_GOT_DTPREL16
  3454. -- : BFD_RELOC_PPC_GOT_DTPREL16_LO
  3455. -- : BFD_RELOC_PPC_GOT_DTPREL16_HI
  3456. -- : BFD_RELOC_PPC_GOT_DTPREL16_HA
  3457. -- : BFD_RELOC_PPC64_TPREL16_DS
  3458. -- : BFD_RELOC_PPC64_TPREL16_LO_DS
  3459. -- : BFD_RELOC_PPC64_TPREL16_HIGHER
  3460. -- : BFD_RELOC_PPC64_TPREL16_HIGHERA
  3461. -- : BFD_RELOC_PPC64_TPREL16_HIGHEST
  3462. -- : BFD_RELOC_PPC64_TPREL16_HIGHESTA
  3463. -- : BFD_RELOC_PPC64_DTPREL16_DS
  3464. -- : BFD_RELOC_PPC64_DTPREL16_LO_DS
  3465. -- : BFD_RELOC_PPC64_DTPREL16_HIGHER
  3466. -- : BFD_RELOC_PPC64_DTPREL16_HIGHERA
  3467. -- : BFD_RELOC_PPC64_DTPREL16_HIGHEST
  3468. -- : BFD_RELOC_PPC64_DTPREL16_HIGHESTA
  3469. -- : BFD_RELOC_PPC64_TPREL16_HIGH
  3470. -- : BFD_RELOC_PPC64_TPREL16_HIGHA
  3471. -- : BFD_RELOC_PPC64_DTPREL16_HIGH
  3472. -- : BFD_RELOC_PPC64_DTPREL16_HIGHA
  3473. PowerPC and PowerPC64 thread-local storage relocations.
  3474. -- : BFD_RELOC_I370_D12
  3475. IBM 370/390 relocations
  3476. -- : BFD_RELOC_CTOR
  3477. The type of reloc used to build a constructor table - at the moment
  3478. probably a 32 bit wide absolute relocation, but the target can
  3479. choose. It generally does map to one of the other relocation
  3480. types.
  3481. -- : BFD_RELOC_ARM_PCREL_BRANCH
  3482. ARM 26 bit pc-relative branch. The lowest two bits must be zero
  3483. and are not stored in the instruction.
  3484. -- : BFD_RELOC_ARM_PCREL_BLX
  3485. ARM 26 bit pc-relative branch. The lowest bit must be zero and is
  3486. not stored in the instruction. The 2nd lowest bit comes from a 1
  3487. bit field in the instruction.
  3488. -- : BFD_RELOC_THUMB_PCREL_BLX
  3489. Thumb 22 bit pc-relative branch. The lowest bit must be zero and
  3490. is not stored in the instruction. The 2nd lowest bit comes from a
  3491. 1 bit field in the instruction.
  3492. -- : BFD_RELOC_ARM_PCREL_CALL
  3493. ARM 26-bit pc-relative branch for an unconditional BL or BLX
  3494. instruction.
  3495. -- : BFD_RELOC_ARM_PCREL_JUMP
  3496. ARM 26-bit pc-relative branch for B or conditional BL instruction.
  3497. -- : BFD_RELOC_THUMB_PCREL_BRANCH7
  3498. -- : BFD_RELOC_THUMB_PCREL_BRANCH9
  3499. -- : BFD_RELOC_THUMB_PCREL_BRANCH12
  3500. -- : BFD_RELOC_THUMB_PCREL_BRANCH20
  3501. -- : BFD_RELOC_THUMB_PCREL_BRANCH23
  3502. -- : BFD_RELOC_THUMB_PCREL_BRANCH25
  3503. Thumb 7-, 9-, 12-, 20-, 23-, and 25-bit pc-relative branches. The
  3504. lowest bit must be zero and is not stored in the instruction. Note
  3505. that the corresponding ELF R_ARM_THM_JUMPnn constant has an "nn"
  3506. one smaller in all cases. Note further that BRANCH23 corresponds
  3507. to R_ARM_THM_CALL.
  3508. -- : BFD_RELOC_ARM_OFFSET_IMM
  3509. 12-bit immediate offset, used in ARM-format ldr and str
  3510. instructions.
  3511. -- : BFD_RELOC_ARM_THUMB_OFFSET
  3512. 5-bit immediate offset, used in Thumb-format ldr and str
  3513. instructions.
  3514. -- : BFD_RELOC_ARM_TARGET1
  3515. Pc-relative or absolute relocation depending on target. Used for
  3516. entries in .init_array sections.
  3517. -- : BFD_RELOC_ARM_ROSEGREL32
  3518. Read-only segment base relative address.
  3519. -- : BFD_RELOC_ARM_SBREL32
  3520. Data segment base relative address.
  3521. -- : BFD_RELOC_ARM_TARGET2
  3522. This reloc is used for references to RTTI data from exception
  3523. handling tables. The actual definition depends on the target. It
  3524. may be a pc-relative or some form of GOT-indirect relocation.
  3525. -- : BFD_RELOC_ARM_PREL31
  3526. 31-bit PC relative address.
  3527. -- : BFD_RELOC_ARM_MOVW
  3528. -- : BFD_RELOC_ARM_MOVT
  3529. -- : BFD_RELOC_ARM_MOVW_PCREL
  3530. -- : BFD_RELOC_ARM_MOVT_PCREL
  3531. -- : BFD_RELOC_ARM_THUMB_MOVW
  3532. -- : BFD_RELOC_ARM_THUMB_MOVT
  3533. -- : BFD_RELOC_ARM_THUMB_MOVW_PCREL
  3534. -- : BFD_RELOC_ARM_THUMB_MOVT_PCREL
  3535. Low and High halfword relocations for MOVW and MOVT instructions.
  3536. -- : BFD_RELOC_ARM_GOTFUNCDESC
  3537. -- : BFD_RELOC_ARM_GOTOFFFUNCDESC
  3538. -- : BFD_RELOC_ARM_FUNCDESC
  3539. -- : BFD_RELOC_ARM_FUNCDESC_VALUE
  3540. -- : BFD_RELOC_ARM_TLS_GD32_FDPIC
  3541. -- : BFD_RELOC_ARM_TLS_LDM32_FDPIC
  3542. -- : BFD_RELOC_ARM_TLS_IE32_FDPIC
  3543. ARM FDPIC specific relocations.
  3544. -- : BFD_RELOC_ARM_JUMP_SLOT
  3545. -- : BFD_RELOC_ARM_GLOB_DAT
  3546. -- : BFD_RELOC_ARM_GOT32
  3547. -- : BFD_RELOC_ARM_PLT32
  3548. -- : BFD_RELOC_ARM_RELATIVE
  3549. -- : BFD_RELOC_ARM_GOTOFF
  3550. -- : BFD_RELOC_ARM_GOTPC
  3551. -- : BFD_RELOC_ARM_GOT_PREL
  3552. Relocations for setting up GOTs and PLTs for shared libraries.
  3553. -- : BFD_RELOC_ARM_TLS_GD32
  3554. -- : BFD_RELOC_ARM_TLS_LDO32
  3555. -- : BFD_RELOC_ARM_TLS_LDM32
  3556. -- : BFD_RELOC_ARM_TLS_DTPOFF32
  3557. -- : BFD_RELOC_ARM_TLS_DTPMOD32
  3558. -- : BFD_RELOC_ARM_TLS_TPOFF32
  3559. -- : BFD_RELOC_ARM_TLS_IE32
  3560. -- : BFD_RELOC_ARM_TLS_LE32
  3561. -- : BFD_RELOC_ARM_TLS_GOTDESC
  3562. -- : BFD_RELOC_ARM_TLS_CALL
  3563. -- : BFD_RELOC_ARM_THM_TLS_CALL
  3564. -- : BFD_RELOC_ARM_TLS_DESCSEQ
  3565. -- : BFD_RELOC_ARM_THM_TLS_DESCSEQ
  3566. -- : BFD_RELOC_ARM_TLS_DESC
  3567. ARM thread-local storage relocations.
  3568. -- : BFD_RELOC_ARM_ALU_PC_G0_NC
  3569. -- : BFD_RELOC_ARM_ALU_PC_G0
  3570. -- : BFD_RELOC_ARM_ALU_PC_G1_NC
  3571. -- : BFD_RELOC_ARM_ALU_PC_G1
  3572. -- : BFD_RELOC_ARM_ALU_PC_G2
  3573. -- : BFD_RELOC_ARM_LDR_PC_G0
  3574. -- : BFD_RELOC_ARM_LDR_PC_G1
  3575. -- : BFD_RELOC_ARM_LDR_PC_G2
  3576. -- : BFD_RELOC_ARM_LDRS_PC_G0
  3577. -- : BFD_RELOC_ARM_LDRS_PC_G1
  3578. -- : BFD_RELOC_ARM_LDRS_PC_G2
  3579. -- : BFD_RELOC_ARM_LDC_PC_G0
  3580. -- : BFD_RELOC_ARM_LDC_PC_G1
  3581. -- : BFD_RELOC_ARM_LDC_PC_G2
  3582. -- : BFD_RELOC_ARM_ALU_SB_G0_NC
  3583. -- : BFD_RELOC_ARM_ALU_SB_G0
  3584. -- : BFD_RELOC_ARM_ALU_SB_G1_NC
  3585. -- : BFD_RELOC_ARM_ALU_SB_G1
  3586. -- : BFD_RELOC_ARM_ALU_SB_G2
  3587. -- : BFD_RELOC_ARM_LDR_SB_G0
  3588. -- : BFD_RELOC_ARM_LDR_SB_G1
  3589. -- : BFD_RELOC_ARM_LDR_SB_G2
  3590. -- : BFD_RELOC_ARM_LDRS_SB_G0
  3591. -- : BFD_RELOC_ARM_LDRS_SB_G1
  3592. -- : BFD_RELOC_ARM_LDRS_SB_G2
  3593. -- : BFD_RELOC_ARM_LDC_SB_G0
  3594. -- : BFD_RELOC_ARM_LDC_SB_G1
  3595. -- : BFD_RELOC_ARM_LDC_SB_G2
  3596. ARM group relocations.
  3597. -- : BFD_RELOC_ARM_V4BX
  3598. Annotation of BX instructions.
  3599. -- : BFD_RELOC_ARM_IRELATIVE
  3600. ARM support for STT_GNU_IFUNC.
  3601. -- : BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC
  3602. -- : BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC
  3603. -- : BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC
  3604. -- : BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC
  3605. Thumb1 relocations to support execute-only code.
  3606. -- : BFD_RELOC_ARM_IMMEDIATE
  3607. -- : BFD_RELOC_ARM_ADRL_IMMEDIATE
  3608. -- : BFD_RELOC_ARM_T32_IMMEDIATE
  3609. -- : BFD_RELOC_ARM_T32_ADD_IMM
  3610. -- : BFD_RELOC_ARM_T32_IMM12
  3611. -- : BFD_RELOC_ARM_T32_ADD_PC12
  3612. -- : BFD_RELOC_ARM_SHIFT_IMM
  3613. -- : BFD_RELOC_ARM_SMC
  3614. -- : BFD_RELOC_ARM_HVC
  3615. -- : BFD_RELOC_ARM_SWI
  3616. -- : BFD_RELOC_ARM_MULTI
  3617. -- : BFD_RELOC_ARM_CP_OFF_IMM
  3618. -- : BFD_RELOC_ARM_CP_OFF_IMM_S2
  3619. -- : BFD_RELOC_ARM_T32_CP_OFF_IMM
  3620. -- : BFD_RELOC_ARM_T32_CP_OFF_IMM_S2
  3621. -- : BFD_RELOC_ARM_ADR_IMM
  3622. -- : BFD_RELOC_ARM_LDR_IMM
  3623. -- : BFD_RELOC_ARM_LITERAL
  3624. -- : BFD_RELOC_ARM_IN_POOL
  3625. -- : BFD_RELOC_ARM_OFFSET_IMM8
  3626. -- : BFD_RELOC_ARM_T32_OFFSET_U8
  3627. -- : BFD_RELOC_ARM_T32_OFFSET_IMM
  3628. -- : BFD_RELOC_ARM_HWLITERAL
  3629. -- : BFD_RELOC_ARM_THUMB_ADD
  3630. -- : BFD_RELOC_ARM_THUMB_IMM
  3631. -- : BFD_RELOC_ARM_THUMB_SHIFT
  3632. These relocs are only used within the ARM assembler. They are not
  3633. (at present) written to any object files.
  3634. -- : BFD_RELOC_SH_PCDISP8BY2
  3635. -- : BFD_RELOC_SH_PCDISP12BY2
  3636. -- : BFD_RELOC_SH_IMM3
  3637. -- : BFD_RELOC_SH_IMM3U
  3638. -- : BFD_RELOC_SH_DISP12
  3639. -- : BFD_RELOC_SH_DISP12BY2
  3640. -- : BFD_RELOC_SH_DISP12BY4
  3641. -- : BFD_RELOC_SH_DISP12BY8
  3642. -- : BFD_RELOC_SH_DISP20
  3643. -- : BFD_RELOC_SH_DISP20BY8
  3644. -- : BFD_RELOC_SH_IMM4
  3645. -- : BFD_RELOC_SH_IMM4BY2
  3646. -- : BFD_RELOC_SH_IMM4BY4
  3647. -- : BFD_RELOC_SH_IMM8
  3648. -- : BFD_RELOC_SH_IMM8BY2
  3649. -- : BFD_RELOC_SH_IMM8BY4
  3650. -- : BFD_RELOC_SH_PCRELIMM8BY2
  3651. -- : BFD_RELOC_SH_PCRELIMM8BY4
  3652. -- : BFD_RELOC_SH_SWITCH16
  3653. -- : BFD_RELOC_SH_SWITCH32
  3654. -- : BFD_RELOC_SH_USES
  3655. -- : BFD_RELOC_SH_COUNT
  3656. -- : BFD_RELOC_SH_ALIGN
  3657. -- : BFD_RELOC_SH_CODE
  3658. -- : BFD_RELOC_SH_DATA
  3659. -- : BFD_RELOC_SH_LABEL
  3660. -- : BFD_RELOC_SH_LOOP_START
  3661. -- : BFD_RELOC_SH_LOOP_END
  3662. -- : BFD_RELOC_SH_COPY
  3663. -- : BFD_RELOC_SH_GLOB_DAT
  3664. -- : BFD_RELOC_SH_JMP_SLOT
  3665. -- : BFD_RELOC_SH_RELATIVE
  3666. -- : BFD_RELOC_SH_GOTPC
  3667. -- : BFD_RELOC_SH_GOT_LOW16
  3668. -- : BFD_RELOC_SH_GOT_MEDLOW16
  3669. -- : BFD_RELOC_SH_GOT_MEDHI16
  3670. -- : BFD_RELOC_SH_GOT_HI16
  3671. -- : BFD_RELOC_SH_GOTPLT_LOW16
  3672. -- : BFD_RELOC_SH_GOTPLT_MEDLOW16
  3673. -- : BFD_RELOC_SH_GOTPLT_MEDHI16
  3674. -- : BFD_RELOC_SH_GOTPLT_HI16
  3675. -- : BFD_RELOC_SH_PLT_LOW16
  3676. -- : BFD_RELOC_SH_PLT_MEDLOW16
  3677. -- : BFD_RELOC_SH_PLT_MEDHI16
  3678. -- : BFD_RELOC_SH_PLT_HI16
  3679. -- : BFD_RELOC_SH_GOTOFF_LOW16
  3680. -- : BFD_RELOC_SH_GOTOFF_MEDLOW16
  3681. -- : BFD_RELOC_SH_GOTOFF_MEDHI16
  3682. -- : BFD_RELOC_SH_GOTOFF_HI16
  3683. -- : BFD_RELOC_SH_GOTPC_LOW16
  3684. -- : BFD_RELOC_SH_GOTPC_MEDLOW16
  3685. -- : BFD_RELOC_SH_GOTPC_MEDHI16
  3686. -- : BFD_RELOC_SH_GOTPC_HI16
  3687. -- : BFD_RELOC_SH_COPY64
  3688. -- : BFD_RELOC_SH_GLOB_DAT64
  3689. -- : BFD_RELOC_SH_JMP_SLOT64
  3690. -- : BFD_RELOC_SH_RELATIVE64
  3691. -- : BFD_RELOC_SH_GOT10BY4
  3692. -- : BFD_RELOC_SH_GOT10BY8
  3693. -- : BFD_RELOC_SH_GOTPLT10BY4
  3694. -- : BFD_RELOC_SH_GOTPLT10BY8
  3695. -- : BFD_RELOC_SH_GOTPLT32
  3696. -- : BFD_RELOC_SH_SHMEDIA_CODE
  3697. -- : BFD_RELOC_SH_IMMU5
  3698. -- : BFD_RELOC_SH_IMMS6
  3699. -- : BFD_RELOC_SH_IMMS6BY32
  3700. -- : BFD_RELOC_SH_IMMU6
  3701. -- : BFD_RELOC_SH_IMMS10
  3702. -- : BFD_RELOC_SH_IMMS10BY2
  3703. -- : BFD_RELOC_SH_IMMS10BY4
  3704. -- : BFD_RELOC_SH_IMMS10BY8
  3705. -- : BFD_RELOC_SH_IMMS16
  3706. -- : BFD_RELOC_SH_IMMU16
  3707. -- : BFD_RELOC_SH_IMM_LOW16
  3708. -- : BFD_RELOC_SH_IMM_LOW16_PCREL
  3709. -- : BFD_RELOC_SH_IMM_MEDLOW16
  3710. -- : BFD_RELOC_SH_IMM_MEDLOW16_PCREL
  3711. -- : BFD_RELOC_SH_IMM_MEDHI16
  3712. -- : BFD_RELOC_SH_IMM_MEDHI16_PCREL
  3713. -- : BFD_RELOC_SH_IMM_HI16
  3714. -- : BFD_RELOC_SH_IMM_HI16_PCREL
  3715. -- : BFD_RELOC_SH_PT_16
  3716. -- : BFD_RELOC_SH_TLS_GD_32
  3717. -- : BFD_RELOC_SH_TLS_LD_32
  3718. -- : BFD_RELOC_SH_TLS_LDO_32
  3719. -- : BFD_RELOC_SH_TLS_IE_32
  3720. -- : BFD_RELOC_SH_TLS_LE_32
  3721. -- : BFD_RELOC_SH_TLS_DTPMOD32
  3722. -- : BFD_RELOC_SH_TLS_DTPOFF32
  3723. -- : BFD_RELOC_SH_TLS_TPOFF32
  3724. -- : BFD_RELOC_SH_GOT20
  3725. -- : BFD_RELOC_SH_GOTOFF20
  3726. -- : BFD_RELOC_SH_GOTFUNCDESC
  3727. -- : BFD_RELOC_SH_GOTFUNCDESC20
  3728. -- : BFD_RELOC_SH_GOTOFFFUNCDESC
  3729. -- : BFD_RELOC_SH_GOTOFFFUNCDESC20
  3730. -- : BFD_RELOC_SH_FUNCDESC
  3731. Renesas / SuperH SH relocs. Not all of these appear in object
  3732. files.
  3733. -- : BFD_RELOC_ARC_NONE
  3734. -- : BFD_RELOC_ARC_8
  3735. -- : BFD_RELOC_ARC_16
  3736. -- : BFD_RELOC_ARC_24
  3737. -- : BFD_RELOC_ARC_32
  3738. -- : BFD_RELOC_ARC_N8
  3739. -- : BFD_RELOC_ARC_N16
  3740. -- : BFD_RELOC_ARC_N24
  3741. -- : BFD_RELOC_ARC_N32
  3742. -- : BFD_RELOC_ARC_SDA
  3743. -- : BFD_RELOC_ARC_SECTOFF
  3744. -- : BFD_RELOC_ARC_S21H_PCREL
  3745. -- : BFD_RELOC_ARC_S21W_PCREL
  3746. -- : BFD_RELOC_ARC_S25H_PCREL
  3747. -- : BFD_RELOC_ARC_S25W_PCREL
  3748. -- : BFD_RELOC_ARC_SDA32
  3749. -- : BFD_RELOC_ARC_SDA_LDST
  3750. -- : BFD_RELOC_ARC_SDA_LDST1
  3751. -- : BFD_RELOC_ARC_SDA_LDST2
  3752. -- : BFD_RELOC_ARC_SDA16_LD
  3753. -- : BFD_RELOC_ARC_SDA16_LD1
  3754. -- : BFD_RELOC_ARC_SDA16_LD2
  3755. -- : BFD_RELOC_ARC_S13_PCREL
  3756. -- : BFD_RELOC_ARC_W
  3757. -- : BFD_RELOC_ARC_32_ME
  3758. -- : BFD_RELOC_ARC_32_ME_S
  3759. -- : BFD_RELOC_ARC_N32_ME
  3760. -- : BFD_RELOC_ARC_SECTOFF_ME
  3761. -- : BFD_RELOC_ARC_SDA32_ME
  3762. -- : BFD_RELOC_ARC_W_ME
  3763. -- : BFD_RELOC_AC_SECTOFF_U8
  3764. -- : BFD_RELOC_AC_SECTOFF_U8_1
  3765. -- : BFD_RELOC_AC_SECTOFF_U8_2
  3766. -- : BFD_RELOC_AC_SECTOFF_S9
  3767. -- : BFD_RELOC_AC_SECTOFF_S9_1
  3768. -- : BFD_RELOC_AC_SECTOFF_S9_2
  3769. -- : BFD_RELOC_ARC_SECTOFF_ME_1
  3770. -- : BFD_RELOC_ARC_SECTOFF_ME_2
  3771. -- : BFD_RELOC_ARC_SECTOFF_1
  3772. -- : BFD_RELOC_ARC_SECTOFF_2
  3773. -- : BFD_RELOC_ARC_SDA_12
  3774. -- : BFD_RELOC_ARC_SDA16_ST2
  3775. -- : BFD_RELOC_ARC_32_PCREL
  3776. -- : BFD_RELOC_ARC_PC32
  3777. -- : BFD_RELOC_ARC_GOT32
  3778. -- : BFD_RELOC_ARC_GOTPC32
  3779. -- : BFD_RELOC_ARC_PLT32
  3780. -- : BFD_RELOC_ARC_COPY
  3781. -- : BFD_RELOC_ARC_GLOB_DAT
  3782. -- : BFD_RELOC_ARC_JMP_SLOT
  3783. -- : BFD_RELOC_ARC_RELATIVE
  3784. -- : BFD_RELOC_ARC_GOTOFF
  3785. -- : BFD_RELOC_ARC_GOTPC
  3786. -- : BFD_RELOC_ARC_S21W_PCREL_PLT
  3787. -- : BFD_RELOC_ARC_S25H_PCREL_PLT
  3788. -- : BFD_RELOC_ARC_TLS_DTPMOD
  3789. -- : BFD_RELOC_ARC_TLS_TPOFF
  3790. -- : BFD_RELOC_ARC_TLS_GD_GOT
  3791. -- : BFD_RELOC_ARC_TLS_GD_LD
  3792. -- : BFD_RELOC_ARC_TLS_GD_CALL
  3793. -- : BFD_RELOC_ARC_TLS_IE_GOT
  3794. -- : BFD_RELOC_ARC_TLS_DTPOFF
  3795. -- : BFD_RELOC_ARC_TLS_DTPOFF_S9
  3796. -- : BFD_RELOC_ARC_TLS_LE_S9
  3797. -- : BFD_RELOC_ARC_TLS_LE_32
  3798. -- : BFD_RELOC_ARC_S25W_PCREL_PLT
  3799. -- : BFD_RELOC_ARC_S21H_PCREL_PLT
  3800. -- : BFD_RELOC_ARC_NPS_CMEM16
  3801. -- : BFD_RELOC_ARC_JLI_SECTOFF
  3802. ARC relocs.
  3803. -- : BFD_RELOC_BFIN_16_IMM
  3804. ADI Blackfin 16 bit immediate absolute reloc.
  3805. -- : BFD_RELOC_BFIN_16_HIGH
  3806. ADI Blackfin 16 bit immediate absolute reloc higher 16 bits.
  3807. -- : BFD_RELOC_BFIN_4_PCREL
  3808. ADI Blackfin 'a' part of LSETUP.
  3809. -- : BFD_RELOC_BFIN_5_PCREL
  3810. ADI Blackfin.
  3811. -- : BFD_RELOC_BFIN_16_LOW
  3812. ADI Blackfin 16 bit immediate absolute reloc lower 16 bits.
  3813. -- : BFD_RELOC_BFIN_10_PCREL
  3814. ADI Blackfin.
  3815. -- : BFD_RELOC_BFIN_11_PCREL
  3816. ADI Blackfin 'b' part of LSETUP.
  3817. -- : BFD_RELOC_BFIN_12_PCREL_JUMP
  3818. ADI Blackfin.
  3819. -- : BFD_RELOC_BFIN_12_PCREL_JUMP_S
  3820. ADI Blackfin Short jump, pcrel.
  3821. -- : BFD_RELOC_BFIN_24_PCREL_CALL_X
  3822. ADI Blackfin Call.x not implemented.
  3823. -- : BFD_RELOC_BFIN_24_PCREL_JUMP_L
  3824. ADI Blackfin Long Jump pcrel.
  3825. -- : BFD_RELOC_BFIN_GOT17M4
  3826. -- : BFD_RELOC_BFIN_GOTHI
  3827. -- : BFD_RELOC_BFIN_GOTLO
  3828. -- : BFD_RELOC_BFIN_FUNCDESC
  3829. -- : BFD_RELOC_BFIN_FUNCDESC_GOT17M4
  3830. -- : BFD_RELOC_BFIN_FUNCDESC_GOTHI
  3831. -- : BFD_RELOC_BFIN_FUNCDESC_GOTLO
  3832. -- : BFD_RELOC_BFIN_FUNCDESC_VALUE
  3833. -- : BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4
  3834. -- : BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI
  3835. -- : BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO
  3836. -- : BFD_RELOC_BFIN_GOTOFF17M4
  3837. -- : BFD_RELOC_BFIN_GOTOFFHI
  3838. -- : BFD_RELOC_BFIN_GOTOFFLO
  3839. ADI Blackfin FD-PIC relocations.
  3840. -- : BFD_RELOC_BFIN_GOT
  3841. ADI Blackfin GOT relocation.
  3842. -- : BFD_RELOC_BFIN_PLTPC
  3843. ADI Blackfin PLTPC relocation.
  3844. -- : BFD_ARELOC_BFIN_PUSH
  3845. ADI Blackfin arithmetic relocation.
  3846. -- : BFD_ARELOC_BFIN_CONST
  3847. ADI Blackfin arithmetic relocation.
  3848. -- : BFD_ARELOC_BFIN_ADD
  3849. ADI Blackfin arithmetic relocation.
  3850. -- : BFD_ARELOC_BFIN_SUB
  3851. ADI Blackfin arithmetic relocation.
  3852. -- : BFD_ARELOC_BFIN_MULT
  3853. ADI Blackfin arithmetic relocation.
  3854. -- : BFD_ARELOC_BFIN_DIV
  3855. ADI Blackfin arithmetic relocation.
  3856. -- : BFD_ARELOC_BFIN_MOD
  3857. ADI Blackfin arithmetic relocation.
  3858. -- : BFD_ARELOC_BFIN_LSHIFT
  3859. ADI Blackfin arithmetic relocation.
  3860. -- : BFD_ARELOC_BFIN_RSHIFT
  3861. ADI Blackfin arithmetic relocation.
  3862. -- : BFD_ARELOC_BFIN_AND
  3863. ADI Blackfin arithmetic relocation.
  3864. -- : BFD_ARELOC_BFIN_OR
  3865. ADI Blackfin arithmetic relocation.
  3866. -- : BFD_ARELOC_BFIN_XOR
  3867. ADI Blackfin arithmetic relocation.
  3868. -- : BFD_ARELOC_BFIN_LAND
  3869. ADI Blackfin arithmetic relocation.
  3870. -- : BFD_ARELOC_BFIN_LOR
  3871. ADI Blackfin arithmetic relocation.
  3872. -- : BFD_ARELOC_BFIN_LEN
  3873. ADI Blackfin arithmetic relocation.
  3874. -- : BFD_ARELOC_BFIN_NEG
  3875. ADI Blackfin arithmetic relocation.
  3876. -- : BFD_ARELOC_BFIN_COMP
  3877. ADI Blackfin arithmetic relocation.
  3878. -- : BFD_ARELOC_BFIN_PAGE
  3879. ADI Blackfin arithmetic relocation.
  3880. -- : BFD_ARELOC_BFIN_HWPAGE
  3881. ADI Blackfin arithmetic relocation.
  3882. -- : BFD_ARELOC_BFIN_ADDR
  3883. ADI Blackfin arithmetic relocation.
  3884. -- : BFD_RELOC_D10V_10_PCREL_R
  3885. Mitsubishi D10V relocs. This is a 10-bit reloc with the right 2
  3886. bits assumed to be 0.
  3887. -- : BFD_RELOC_D10V_10_PCREL_L
  3888. Mitsubishi D10V relocs. This is a 10-bit reloc with the right 2
  3889. bits assumed to be 0. This is the same as the previous reloc
  3890. except it is in the left container, i.e., shifted left 15 bits.
  3891. -- : BFD_RELOC_D10V_18
  3892. This is an 18-bit reloc with the right 2 bits assumed to be 0.
  3893. -- : BFD_RELOC_D10V_18_PCREL
  3894. This is an 18-bit reloc with the right 2 bits assumed to be 0.
  3895. -- : BFD_RELOC_D30V_6
  3896. Mitsubishi D30V relocs. This is a 6-bit absolute reloc.
  3897. -- : BFD_RELOC_D30V_9_PCREL
  3898. This is a 6-bit pc-relative reloc with the right 3 bits assumed to
  3899. be 0.
  3900. -- : BFD_RELOC_D30V_9_PCREL_R
  3901. This is a 6-bit pc-relative reloc with the right 3 bits assumed to
  3902. be 0. Same as the previous reloc but on the right side of the
  3903. container.
  3904. -- : BFD_RELOC_D30V_15
  3905. This is a 12-bit absolute reloc with the right 3 bitsassumed to be
  3906. 0.
  3907. -- : BFD_RELOC_D30V_15_PCREL
  3908. This is a 12-bit pc-relative reloc with the right 3 bits assumed to
  3909. be 0.
  3910. -- : BFD_RELOC_D30V_15_PCREL_R
  3911. This is a 12-bit pc-relative reloc with the right 3 bits assumed to
  3912. be 0. Same as the previous reloc but on the right side of the
  3913. container.
  3914. -- : BFD_RELOC_D30V_21
  3915. This is an 18-bit absolute reloc with the right 3 bits assumed to
  3916. be 0.
  3917. -- : BFD_RELOC_D30V_21_PCREL
  3918. This is an 18-bit pc-relative reloc with the right 3 bits assumed
  3919. to be 0.
  3920. -- : BFD_RELOC_D30V_21_PCREL_R
  3921. This is an 18-bit pc-relative reloc with the right 3 bits assumed
  3922. to be 0. Same as the previous reloc but on the right side of the
  3923. container.
  3924. -- : BFD_RELOC_D30V_32
  3925. This is a 32-bit absolute reloc.
  3926. -- : BFD_RELOC_D30V_32_PCREL
  3927. This is a 32-bit pc-relative reloc.
  3928. -- : BFD_RELOC_DLX_HI16_S
  3929. DLX relocs
  3930. -- : BFD_RELOC_DLX_LO16
  3931. DLX relocs
  3932. -- : BFD_RELOC_DLX_JMP26
  3933. DLX relocs
  3934. -- : BFD_RELOC_M32C_HI8
  3935. -- : BFD_RELOC_M32C_RL_JUMP
  3936. -- : BFD_RELOC_M32C_RL_1ADDR
  3937. -- : BFD_RELOC_M32C_RL_2ADDR
  3938. Renesas M16C/M32C Relocations.
  3939. -- : BFD_RELOC_M32R_24
  3940. Renesas M32R (formerly Mitsubishi M32R) relocs. This is a 24 bit
  3941. absolute address.
  3942. -- : BFD_RELOC_M32R_10_PCREL
  3943. This is a 10-bit pc-relative reloc with the right 2 bits assumed to
  3944. be 0.
  3945. -- : BFD_RELOC_M32R_18_PCREL
  3946. This is an 18-bit reloc with the right 2 bits assumed to be 0.
  3947. -- : BFD_RELOC_M32R_26_PCREL
  3948. This is a 26-bit reloc with the right 2 bits assumed to be 0.
  3949. -- : BFD_RELOC_M32R_HI16_ULO
  3950. This is a 16-bit reloc containing the high 16 bits of an address
  3951. used when the lower 16 bits are treated as unsigned.
  3952. -- : BFD_RELOC_M32R_HI16_SLO
  3953. This is a 16-bit reloc containing the high 16 bits of an address
  3954. used when the lower 16 bits are treated as signed.
  3955. -- : BFD_RELOC_M32R_LO16
  3956. This is a 16-bit reloc containing the lower 16 bits of an address.
  3957. -- : BFD_RELOC_M32R_SDA16
  3958. This is a 16-bit reloc containing the small data area offset for
  3959. use in add3, load, and store instructions.
  3960. -- : BFD_RELOC_M32R_GOT24
  3961. -- : BFD_RELOC_M32R_26_PLTREL
  3962. -- : BFD_RELOC_M32R_COPY
  3963. -- : BFD_RELOC_M32R_GLOB_DAT
  3964. -- : BFD_RELOC_M32R_JMP_SLOT
  3965. -- : BFD_RELOC_M32R_RELATIVE
  3966. -- : BFD_RELOC_M32R_GOTOFF
  3967. -- : BFD_RELOC_M32R_GOTOFF_HI_ULO
  3968. -- : BFD_RELOC_M32R_GOTOFF_HI_SLO
  3969. -- : BFD_RELOC_M32R_GOTOFF_LO
  3970. -- : BFD_RELOC_M32R_GOTPC24
  3971. -- : BFD_RELOC_M32R_GOT16_HI_ULO
  3972. -- : BFD_RELOC_M32R_GOT16_HI_SLO
  3973. -- : BFD_RELOC_M32R_GOT16_LO
  3974. -- : BFD_RELOC_M32R_GOTPC_HI_ULO
  3975. -- : BFD_RELOC_M32R_GOTPC_HI_SLO
  3976. -- : BFD_RELOC_M32R_GOTPC_LO
  3977. For PIC.
  3978. -- : BFD_RELOC_NDS32_20
  3979. NDS32 relocs. This is a 20 bit absolute address.
  3980. -- : BFD_RELOC_NDS32_9_PCREL
  3981. This is a 9-bit pc-relative reloc with the right 1 bit assumed to
  3982. be 0.
  3983. -- : BFD_RELOC_NDS32_WORD_9_PCREL
  3984. This is a 9-bit pc-relative reloc with the right 1 bit assumed to
  3985. be 0.
  3986. -- : BFD_RELOC_NDS32_15_PCREL
  3987. This is an 15-bit reloc with the right 1 bit assumed to be 0.
  3988. -- : BFD_RELOC_NDS32_17_PCREL
  3989. This is an 17-bit reloc with the right 1 bit assumed to be 0.
  3990. -- : BFD_RELOC_NDS32_25_PCREL
  3991. This is a 25-bit reloc with the right 1 bit assumed to be 0.
  3992. -- : BFD_RELOC_NDS32_HI20
  3993. This is a 20-bit reloc containing the high 20 bits of an address
  3994. used with the lower 12 bits
  3995. -- : BFD_RELOC_NDS32_LO12S3
  3996. This is a 12-bit reloc containing the lower 12 bits of an address
  3997. then shift right by 3. This is used with ldi,sdi...
  3998. -- : BFD_RELOC_NDS32_LO12S2
  3999. This is a 12-bit reloc containing the lower 12 bits of an address
  4000. then shift left by 2. This is used with lwi,swi...
  4001. -- : BFD_RELOC_NDS32_LO12S1
  4002. This is a 12-bit reloc containing the lower 12 bits of an address
  4003. then shift left by 1. This is used with lhi,shi...
  4004. -- : BFD_RELOC_NDS32_LO12S0
  4005. This is a 12-bit reloc containing the lower 12 bits of an address
  4006. then shift left by 0. This is used with lbisbi...
  4007. -- : BFD_RELOC_NDS32_LO12S0_ORI
  4008. This is a 12-bit reloc containing the lower 12 bits of an address
  4009. then shift left by 0. This is only used with branch relaxations
  4010. -- : BFD_RELOC_NDS32_SDA15S3
  4011. This is a 15-bit reloc containing the small data area 18-bit signed
  4012. offset and shift left by 3 for use in ldi, sdi...
  4013. -- : BFD_RELOC_NDS32_SDA15S2
  4014. This is a 15-bit reloc containing the small data area 17-bit signed
  4015. offset and shift left by 2 for use in lwi, swi...
  4016. -- : BFD_RELOC_NDS32_SDA15S1
  4017. This is a 15-bit reloc containing the small data area 16-bit signed
  4018. offset and shift left by 1 for use in lhi, shi...
  4019. -- : BFD_RELOC_NDS32_SDA15S0
  4020. This is a 15-bit reloc containing the small data area 15-bit signed
  4021. offset and shift left by 0 for use in lbi, sbi...
  4022. -- : BFD_RELOC_NDS32_SDA16S3
  4023. This is a 16-bit reloc containing the small data area 16-bit signed
  4024. offset and shift left by 3
  4025. -- : BFD_RELOC_NDS32_SDA17S2
  4026. This is a 17-bit reloc containing the small data area 17-bit signed
  4027. offset and shift left by 2 for use in lwi.gp, swi.gp...
  4028. -- : BFD_RELOC_NDS32_SDA18S1
  4029. This is a 18-bit reloc containing the small data area 18-bit signed
  4030. offset and shift left by 1 for use in lhi.gp, shi.gp...
  4031. -- : BFD_RELOC_NDS32_SDA19S0
  4032. This is a 19-bit reloc containing the small data area 19-bit signed
  4033. offset and shift left by 0 for use in lbi.gp, sbi.gp...
  4034. -- : BFD_RELOC_NDS32_GOT20
  4035. -- : BFD_RELOC_NDS32_9_PLTREL
  4036. -- : BFD_RELOC_NDS32_25_PLTREL
  4037. -- : BFD_RELOC_NDS32_COPY
  4038. -- : BFD_RELOC_NDS32_GLOB_DAT
  4039. -- : BFD_RELOC_NDS32_JMP_SLOT
  4040. -- : BFD_RELOC_NDS32_RELATIVE
  4041. -- : BFD_RELOC_NDS32_GOTOFF
  4042. -- : BFD_RELOC_NDS32_GOTOFF_HI20
  4043. -- : BFD_RELOC_NDS32_GOTOFF_LO12
  4044. -- : BFD_RELOC_NDS32_GOTPC20
  4045. -- : BFD_RELOC_NDS32_GOT_HI20
  4046. -- : BFD_RELOC_NDS32_GOT_LO12
  4047. -- : BFD_RELOC_NDS32_GOTPC_HI20
  4048. -- : BFD_RELOC_NDS32_GOTPC_LO12
  4049. for PIC
  4050. -- : BFD_RELOC_NDS32_INSN16
  4051. -- : BFD_RELOC_NDS32_LABEL
  4052. -- : BFD_RELOC_NDS32_LONGCALL1
  4053. -- : BFD_RELOC_NDS32_LONGCALL2
  4054. -- : BFD_RELOC_NDS32_LONGCALL3
  4055. -- : BFD_RELOC_NDS32_LONGJUMP1
  4056. -- : BFD_RELOC_NDS32_LONGJUMP2
  4057. -- : BFD_RELOC_NDS32_LONGJUMP3
  4058. -- : BFD_RELOC_NDS32_LOADSTORE
  4059. -- : BFD_RELOC_NDS32_9_FIXED
  4060. -- : BFD_RELOC_NDS32_15_FIXED
  4061. -- : BFD_RELOC_NDS32_17_FIXED
  4062. -- : BFD_RELOC_NDS32_25_FIXED
  4063. -- : BFD_RELOC_NDS32_LONGCALL4
  4064. -- : BFD_RELOC_NDS32_LONGCALL5
  4065. -- : BFD_RELOC_NDS32_LONGCALL6
  4066. -- : BFD_RELOC_NDS32_LONGJUMP4
  4067. -- : BFD_RELOC_NDS32_LONGJUMP5
  4068. -- : BFD_RELOC_NDS32_LONGJUMP6
  4069. -- : BFD_RELOC_NDS32_LONGJUMP7
  4070. for relax
  4071. -- : BFD_RELOC_NDS32_PLTREL_HI20
  4072. -- : BFD_RELOC_NDS32_PLTREL_LO12
  4073. -- : BFD_RELOC_NDS32_PLT_GOTREL_HI20
  4074. -- : BFD_RELOC_NDS32_PLT_GOTREL_LO12
  4075. for PIC
  4076. -- : BFD_RELOC_NDS32_SDA12S2_DP
  4077. -- : BFD_RELOC_NDS32_SDA12S2_SP
  4078. -- : BFD_RELOC_NDS32_LO12S2_DP
  4079. -- : BFD_RELOC_NDS32_LO12S2_SP
  4080. for floating point
  4081. -- : BFD_RELOC_NDS32_DWARF2_OP1
  4082. -- : BFD_RELOC_NDS32_DWARF2_OP2
  4083. -- : BFD_RELOC_NDS32_DWARF2_LEB
  4084. for dwarf2 debug_line.
  4085. -- : BFD_RELOC_NDS32_UPDATE_TA
  4086. for eliminate 16-bit instructions
  4087. -- : BFD_RELOC_NDS32_PLT_GOTREL_LO20
  4088. -- : BFD_RELOC_NDS32_PLT_GOTREL_LO15
  4089. -- : BFD_RELOC_NDS32_PLT_GOTREL_LO19
  4090. -- : BFD_RELOC_NDS32_GOT_LO15
  4091. -- : BFD_RELOC_NDS32_GOT_LO19
  4092. -- : BFD_RELOC_NDS32_GOTOFF_LO15
  4093. -- : BFD_RELOC_NDS32_GOTOFF_LO19
  4094. -- : BFD_RELOC_NDS32_GOT15S2
  4095. -- : BFD_RELOC_NDS32_GOT17S2
  4096. for PIC object relaxation
  4097. -- : BFD_RELOC_NDS32_5
  4098. NDS32 relocs. This is a 5 bit absolute address.
  4099. -- : BFD_RELOC_NDS32_10_UPCREL
  4100. This is a 10-bit unsigned pc-relative reloc with the right 1 bit
  4101. assumed to be 0.
  4102. -- : BFD_RELOC_NDS32_SDA_FP7U2_RELA
  4103. If fp were omitted, fp can used as another gp.
  4104. -- : BFD_RELOC_NDS32_RELAX_ENTRY
  4105. -- : BFD_RELOC_NDS32_GOT_SUFF
  4106. -- : BFD_RELOC_NDS32_GOTOFF_SUFF
  4107. -- : BFD_RELOC_NDS32_PLT_GOT_SUFF
  4108. -- : BFD_RELOC_NDS32_MULCALL_SUFF
  4109. -- : BFD_RELOC_NDS32_PTR
  4110. -- : BFD_RELOC_NDS32_PTR_COUNT
  4111. -- : BFD_RELOC_NDS32_PTR_RESOLVED
  4112. -- : BFD_RELOC_NDS32_PLTBLOCK
  4113. -- : BFD_RELOC_NDS32_RELAX_REGION_BEGIN
  4114. -- : BFD_RELOC_NDS32_RELAX_REGION_END
  4115. -- : BFD_RELOC_NDS32_MINUEND
  4116. -- : BFD_RELOC_NDS32_SUBTRAHEND
  4117. -- : BFD_RELOC_NDS32_DIFF8
  4118. -- : BFD_RELOC_NDS32_DIFF16
  4119. -- : BFD_RELOC_NDS32_DIFF32
  4120. -- : BFD_RELOC_NDS32_DIFF_ULEB128
  4121. -- : BFD_RELOC_NDS32_EMPTY
  4122. relaxation relative relocation types
  4123. -- : BFD_RELOC_NDS32_25_ABS
  4124. This is a 25 bit absolute address.
  4125. -- : BFD_RELOC_NDS32_DATA
  4126. -- : BFD_RELOC_NDS32_TRAN
  4127. -- : BFD_RELOC_NDS32_17IFC_PCREL
  4128. -- : BFD_RELOC_NDS32_10IFCU_PCREL
  4129. For ex9 and ifc using.
  4130. -- : BFD_RELOC_NDS32_TPOFF
  4131. -- : BFD_RELOC_NDS32_GOTTPOFF
  4132. -- : BFD_RELOC_NDS32_TLS_LE_HI20
  4133. -- : BFD_RELOC_NDS32_TLS_LE_LO12
  4134. -- : BFD_RELOC_NDS32_TLS_LE_20
  4135. -- : BFD_RELOC_NDS32_TLS_LE_15S0
  4136. -- : BFD_RELOC_NDS32_TLS_LE_15S1
  4137. -- : BFD_RELOC_NDS32_TLS_LE_15S2
  4138. -- : BFD_RELOC_NDS32_TLS_LE_ADD
  4139. -- : BFD_RELOC_NDS32_TLS_LE_LS
  4140. -- : BFD_RELOC_NDS32_TLS_IE_HI20
  4141. -- : BFD_RELOC_NDS32_TLS_IE_LO12
  4142. -- : BFD_RELOC_NDS32_TLS_IE_LO12S2
  4143. -- : BFD_RELOC_NDS32_TLS_IEGP_HI20
  4144. -- : BFD_RELOC_NDS32_TLS_IEGP_LO12
  4145. -- : BFD_RELOC_NDS32_TLS_IEGP_LO12S2
  4146. -- : BFD_RELOC_NDS32_TLS_IEGP_LW
  4147. -- : BFD_RELOC_NDS32_TLS_DESC
  4148. -- : BFD_RELOC_NDS32_TLS_DESC_HI20
  4149. -- : BFD_RELOC_NDS32_TLS_DESC_LO12
  4150. -- : BFD_RELOC_NDS32_TLS_DESC_20
  4151. -- : BFD_RELOC_NDS32_TLS_DESC_SDA17S2
  4152. -- : BFD_RELOC_NDS32_TLS_DESC_ADD
  4153. -- : BFD_RELOC_NDS32_TLS_DESC_FUNC
  4154. -- : BFD_RELOC_NDS32_TLS_DESC_CALL
  4155. -- : BFD_RELOC_NDS32_TLS_DESC_MEM
  4156. -- : BFD_RELOC_NDS32_REMOVE
  4157. -- : BFD_RELOC_NDS32_GROUP
  4158. For TLS.
  4159. -- : BFD_RELOC_NDS32_LSI
  4160. For floating load store relaxation.
  4161. -- : BFD_RELOC_V850_9_PCREL
  4162. This is a 9-bit reloc
  4163. -- : BFD_RELOC_V850_22_PCREL
  4164. This is a 22-bit reloc
  4165. -- : BFD_RELOC_V850_SDA_16_16_OFFSET
  4166. This is a 16 bit offset from the short data area pointer.
  4167. -- : BFD_RELOC_V850_SDA_15_16_OFFSET
  4168. This is a 16 bit offset (of which only 15 bits are used) from the
  4169. short data area pointer.
  4170. -- : BFD_RELOC_V850_ZDA_16_16_OFFSET
  4171. This is a 16 bit offset from the zero data area pointer.
  4172. -- : BFD_RELOC_V850_ZDA_15_16_OFFSET
  4173. This is a 16 bit offset (of which only 15 bits are used) from the
  4174. zero data area pointer.
  4175. -- : BFD_RELOC_V850_TDA_6_8_OFFSET
  4176. This is an 8 bit offset (of which only 6 bits are used) from the
  4177. tiny data area pointer.
  4178. -- : BFD_RELOC_V850_TDA_7_8_OFFSET
  4179. This is an 8bit offset (of which only 7 bits are used) from the
  4180. tiny data area pointer.
  4181. -- : BFD_RELOC_V850_TDA_7_7_OFFSET
  4182. This is a 7 bit offset from the tiny data area pointer.
  4183. -- : BFD_RELOC_V850_TDA_16_16_OFFSET
  4184. This is a 16 bit offset from the tiny data area pointer.
  4185. -- : BFD_RELOC_V850_TDA_4_5_OFFSET
  4186. This is a 5 bit offset (of which only 4 bits are used) from the
  4187. tiny data area pointer.
  4188. -- : BFD_RELOC_V850_TDA_4_4_OFFSET
  4189. This is a 4 bit offset from the tiny data area pointer.
  4190. -- : BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET
  4191. This is a 16 bit offset from the short data area pointer, with the
  4192. bits placed non-contiguously in the instruction.
  4193. -- : BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET
  4194. This is a 16 bit offset from the zero data area pointer, with the
  4195. bits placed non-contiguously in the instruction.
  4196. -- : BFD_RELOC_V850_CALLT_6_7_OFFSET
  4197. This is a 6 bit offset from the call table base pointer.
  4198. -- : BFD_RELOC_V850_CALLT_16_16_OFFSET
  4199. This is a 16 bit offset from the call table base pointer.
  4200. -- : BFD_RELOC_V850_LONGCALL
  4201. Used for relaxing indirect function calls.
  4202. -- : BFD_RELOC_V850_LONGJUMP
  4203. Used for relaxing indirect jumps.
  4204. -- : BFD_RELOC_V850_ALIGN
  4205. Used to maintain alignment whilst relaxing.
  4206. -- : BFD_RELOC_V850_LO16_SPLIT_OFFSET
  4207. This is a variation of BFD_RELOC_LO16 that can be used in v850e
  4208. ld.bu instructions.
  4209. -- : BFD_RELOC_V850_16_PCREL
  4210. This is a 16-bit reloc.
  4211. -- : BFD_RELOC_V850_17_PCREL
  4212. This is a 17-bit reloc.
  4213. -- : BFD_RELOC_V850_23
  4214. This is a 23-bit reloc.
  4215. -- : BFD_RELOC_V850_32_PCREL
  4216. This is a 32-bit reloc.
  4217. -- : BFD_RELOC_V850_32_ABS
  4218. This is a 32-bit reloc.
  4219. -- : BFD_RELOC_V850_16_SPLIT_OFFSET
  4220. This is a 16-bit reloc.
  4221. -- : BFD_RELOC_V850_16_S1
  4222. This is a 16-bit reloc.
  4223. -- : BFD_RELOC_V850_LO16_S1
  4224. Low 16 bits. 16 bit shifted by 1.
  4225. -- : BFD_RELOC_V850_CALLT_15_16_OFFSET
  4226. This is a 16 bit offset from the call table base pointer.
  4227. -- : BFD_RELOC_V850_32_GOTPCREL
  4228. DSO relocations.
  4229. -- : BFD_RELOC_V850_16_GOT
  4230. DSO relocations.
  4231. -- : BFD_RELOC_V850_32_GOT
  4232. DSO relocations.
  4233. -- : BFD_RELOC_V850_22_PLT_PCREL
  4234. DSO relocations.
  4235. -- : BFD_RELOC_V850_32_PLT_PCREL
  4236. DSO relocations.
  4237. -- : BFD_RELOC_V850_COPY
  4238. DSO relocations.
  4239. -- : BFD_RELOC_V850_GLOB_DAT
  4240. DSO relocations.
  4241. -- : BFD_RELOC_V850_JMP_SLOT
  4242. DSO relocations.
  4243. -- : BFD_RELOC_V850_RELATIVE
  4244. DSO relocations.
  4245. -- : BFD_RELOC_V850_16_GOTOFF
  4246. DSO relocations.
  4247. -- : BFD_RELOC_V850_32_GOTOFF
  4248. DSO relocations.
  4249. -- : BFD_RELOC_V850_CODE
  4250. start code.
  4251. -- : BFD_RELOC_V850_DATA
  4252. start data in text.
  4253. -- : BFD_RELOC_TIC30_LDP
  4254. This is a 8bit DP reloc for the tms320c30, where the most
  4255. significant 8 bits of a 24 bit word are placed into the least
  4256. significant 8 bits of the opcode.
  4257. -- : BFD_RELOC_TIC54X_PARTLS7
  4258. This is a 7bit reloc for the tms320c54x, where the least
  4259. significant 7 bits of a 16 bit word are placed into the least
  4260. significant 7 bits of the opcode.
  4261. -- : BFD_RELOC_TIC54X_PARTMS9
  4262. This is a 9bit DP reloc for the tms320c54x, where the most
  4263. significant 9 bits of a 16 bit word are placed into the least
  4264. significant 9 bits of the opcode.
  4265. -- : BFD_RELOC_TIC54X_23
  4266. This is an extended address 23-bit reloc for the tms320c54x.
  4267. -- : BFD_RELOC_TIC54X_16_OF_23
  4268. This is a 16-bit reloc for the tms320c54x, where the least
  4269. significant 16 bits of a 23-bit extended address are placed into
  4270. the opcode.
  4271. -- : BFD_RELOC_TIC54X_MS7_OF_23
  4272. This is a reloc for the tms320c54x, where the most significant 7
  4273. bits of a 23-bit extended address are placed into the opcode.
  4274. -- : BFD_RELOC_C6000_PCR_S21
  4275. -- : BFD_RELOC_C6000_PCR_S12
  4276. -- : BFD_RELOC_C6000_PCR_S10
  4277. -- : BFD_RELOC_C6000_PCR_S7
  4278. -- : BFD_RELOC_C6000_ABS_S16
  4279. -- : BFD_RELOC_C6000_ABS_L16
  4280. -- : BFD_RELOC_C6000_ABS_H16
  4281. -- : BFD_RELOC_C6000_SBR_U15_B
  4282. -- : BFD_RELOC_C6000_SBR_U15_H
  4283. -- : BFD_RELOC_C6000_SBR_U15_W
  4284. -- : BFD_RELOC_C6000_SBR_S16
  4285. -- : BFD_RELOC_C6000_SBR_L16_B
  4286. -- : BFD_RELOC_C6000_SBR_L16_H
  4287. -- : BFD_RELOC_C6000_SBR_L16_W
  4288. -- : BFD_RELOC_C6000_SBR_H16_B
  4289. -- : BFD_RELOC_C6000_SBR_H16_H
  4290. -- : BFD_RELOC_C6000_SBR_H16_W
  4291. -- : BFD_RELOC_C6000_SBR_GOT_U15_W
  4292. -- : BFD_RELOC_C6000_SBR_GOT_L16_W
  4293. -- : BFD_RELOC_C6000_SBR_GOT_H16_W
  4294. -- : BFD_RELOC_C6000_DSBT_INDEX
  4295. -- : BFD_RELOC_C6000_PREL31
  4296. -- : BFD_RELOC_C6000_COPY
  4297. -- : BFD_RELOC_C6000_JUMP_SLOT
  4298. -- : BFD_RELOC_C6000_EHTYPE
  4299. -- : BFD_RELOC_C6000_PCR_H16
  4300. -- : BFD_RELOC_C6000_PCR_L16
  4301. -- : BFD_RELOC_C6000_ALIGN
  4302. -- : BFD_RELOC_C6000_FPHEAD
  4303. -- : BFD_RELOC_C6000_NOCMP
  4304. TMS320C6000 relocations.
  4305. -- : BFD_RELOC_FR30_48
  4306. This is a 48 bit reloc for the FR30 that stores 32 bits.
  4307. -- : BFD_RELOC_FR30_20
  4308. This is a 32 bit reloc for the FR30 that stores 20 bits split up
  4309. into two sections.
  4310. -- : BFD_RELOC_FR30_6_IN_4
  4311. This is a 16 bit reloc for the FR30 that stores a 6 bit word offset
  4312. in 4 bits.
  4313. -- : BFD_RELOC_FR30_8_IN_8
  4314. This is a 16 bit reloc for the FR30 that stores an 8 bit byte
  4315. offset into 8 bits.
  4316. -- : BFD_RELOC_FR30_9_IN_8
  4317. This is a 16 bit reloc for the FR30 that stores a 9 bit short
  4318. offset into 8 bits.
  4319. -- : BFD_RELOC_FR30_10_IN_8
  4320. This is a 16 bit reloc for the FR30 that stores a 10 bit word
  4321. offset into 8 bits.
  4322. -- : BFD_RELOC_FR30_9_PCREL
  4323. This is a 16 bit reloc for the FR30 that stores a 9 bit pc relative
  4324. short offset into 8 bits.
  4325. -- : BFD_RELOC_FR30_12_PCREL
  4326. This is a 16 bit reloc for the FR30 that stores a 12 bit pc
  4327. relative short offset into 11 bits.
  4328. -- : BFD_RELOC_MCORE_PCREL_IMM8BY4
  4329. -- : BFD_RELOC_MCORE_PCREL_IMM11BY2
  4330. -- : BFD_RELOC_MCORE_PCREL_IMM4BY2
  4331. -- : BFD_RELOC_MCORE_PCREL_32
  4332. -- : BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2
  4333. -- : BFD_RELOC_MCORE_RVA
  4334. Motorola Mcore relocations.
  4335. -- : BFD_RELOC_MEP_8
  4336. -- : BFD_RELOC_MEP_16
  4337. -- : BFD_RELOC_MEP_32
  4338. -- : BFD_RELOC_MEP_PCREL8A2
  4339. -- : BFD_RELOC_MEP_PCREL12A2
  4340. -- : BFD_RELOC_MEP_PCREL17A2
  4341. -- : BFD_RELOC_MEP_PCREL24A2
  4342. -- : BFD_RELOC_MEP_PCABS24A2
  4343. -- : BFD_RELOC_MEP_LOW16
  4344. -- : BFD_RELOC_MEP_HI16U
  4345. -- : BFD_RELOC_MEP_HI16S
  4346. -- : BFD_RELOC_MEP_GPREL
  4347. -- : BFD_RELOC_MEP_TPREL
  4348. -- : BFD_RELOC_MEP_TPREL7
  4349. -- : BFD_RELOC_MEP_TPREL7A2
  4350. -- : BFD_RELOC_MEP_TPREL7A4
  4351. -- : BFD_RELOC_MEP_UIMM24
  4352. -- : BFD_RELOC_MEP_ADDR24A4
  4353. -- : BFD_RELOC_MEP_GNU_VTINHERIT
  4354. -- : BFD_RELOC_MEP_GNU_VTENTRY
  4355. Toshiba Media Processor Relocations.
  4356. -- : BFD_RELOC_METAG_HIADDR16
  4357. -- : BFD_RELOC_METAG_LOADDR16
  4358. -- : BFD_RELOC_METAG_RELBRANCH
  4359. -- : BFD_RELOC_METAG_GETSETOFF
  4360. -- : BFD_RELOC_METAG_HIOG
  4361. -- : BFD_RELOC_METAG_LOOG
  4362. -- : BFD_RELOC_METAG_REL8
  4363. -- : BFD_RELOC_METAG_REL16
  4364. -- : BFD_RELOC_METAG_HI16_GOTOFF
  4365. -- : BFD_RELOC_METAG_LO16_GOTOFF
  4366. -- : BFD_RELOC_METAG_GETSET_GOTOFF
  4367. -- : BFD_RELOC_METAG_GETSET_GOT
  4368. -- : BFD_RELOC_METAG_HI16_GOTPC
  4369. -- : BFD_RELOC_METAG_LO16_GOTPC
  4370. -- : BFD_RELOC_METAG_HI16_PLT
  4371. -- : BFD_RELOC_METAG_LO16_PLT
  4372. -- : BFD_RELOC_METAG_RELBRANCH_PLT
  4373. -- : BFD_RELOC_METAG_GOTOFF
  4374. -- : BFD_RELOC_METAG_PLT
  4375. -- : BFD_RELOC_METAG_COPY
  4376. -- : BFD_RELOC_METAG_JMP_SLOT
  4377. -- : BFD_RELOC_METAG_RELATIVE
  4378. -- : BFD_RELOC_METAG_GLOB_DAT
  4379. -- : BFD_RELOC_METAG_TLS_GD
  4380. -- : BFD_RELOC_METAG_TLS_LDM
  4381. -- : BFD_RELOC_METAG_TLS_LDO_HI16
  4382. -- : BFD_RELOC_METAG_TLS_LDO_LO16
  4383. -- : BFD_RELOC_METAG_TLS_LDO
  4384. -- : BFD_RELOC_METAG_TLS_IE
  4385. -- : BFD_RELOC_METAG_TLS_IENONPIC
  4386. -- : BFD_RELOC_METAG_TLS_IENONPIC_HI16
  4387. -- : BFD_RELOC_METAG_TLS_IENONPIC_LO16
  4388. -- : BFD_RELOC_METAG_TLS_TPOFF
  4389. -- : BFD_RELOC_METAG_TLS_DTPMOD
  4390. -- : BFD_RELOC_METAG_TLS_DTPOFF
  4391. -- : BFD_RELOC_METAG_TLS_LE
  4392. -- : BFD_RELOC_METAG_TLS_LE_HI16
  4393. -- : BFD_RELOC_METAG_TLS_LE_LO16
  4394. Imagination Technologies Meta relocations.
  4395. -- : BFD_RELOC_MMIX_GETA
  4396. -- : BFD_RELOC_MMIX_GETA_1
  4397. -- : BFD_RELOC_MMIX_GETA_2
  4398. -- : BFD_RELOC_MMIX_GETA_3
  4399. These are relocations for the GETA instruction.
  4400. -- : BFD_RELOC_MMIX_CBRANCH
  4401. -- : BFD_RELOC_MMIX_CBRANCH_J
  4402. -- : BFD_RELOC_MMIX_CBRANCH_1
  4403. -- : BFD_RELOC_MMIX_CBRANCH_2
  4404. -- : BFD_RELOC_MMIX_CBRANCH_3
  4405. These are relocations for a conditional branch instruction.
  4406. -- : BFD_RELOC_MMIX_PUSHJ
  4407. -- : BFD_RELOC_MMIX_PUSHJ_1
  4408. -- : BFD_RELOC_MMIX_PUSHJ_2
  4409. -- : BFD_RELOC_MMIX_PUSHJ_3
  4410. -- : BFD_RELOC_MMIX_PUSHJ_STUBBABLE
  4411. These are relocations for the PUSHJ instruction.
  4412. -- : BFD_RELOC_MMIX_JMP
  4413. -- : BFD_RELOC_MMIX_JMP_1
  4414. -- : BFD_RELOC_MMIX_JMP_2
  4415. -- : BFD_RELOC_MMIX_JMP_3
  4416. These are relocations for the JMP instruction.
  4417. -- : BFD_RELOC_MMIX_ADDR19
  4418. This is a relocation for a relative address as in a GETA
  4419. instruction or a branch.
  4420. -- : BFD_RELOC_MMIX_ADDR27
  4421. This is a relocation for a relative address as in a JMP
  4422. instruction.
  4423. -- : BFD_RELOC_MMIX_REG_OR_BYTE
  4424. This is a relocation for an instruction field that may be a general
  4425. register or a value 0..255.
  4426. -- : BFD_RELOC_MMIX_REG
  4427. This is a relocation for an instruction field that may be a general
  4428. register.
  4429. -- : BFD_RELOC_MMIX_BASE_PLUS_OFFSET
  4430. This is a relocation for two instruction fields holding a register
  4431. and an offset, the equivalent of the relocation.
  4432. -- : BFD_RELOC_MMIX_LOCAL
  4433. This relocation is an assertion that the expression is not
  4434. allocated as a global register. It does not modify contents.
  4435. -- : BFD_RELOC_AVR_7_PCREL
  4436. This is a 16 bit reloc for the AVR that stores 8 bit pc relative
  4437. short offset into 7 bits.
  4438. -- : BFD_RELOC_AVR_13_PCREL
  4439. This is a 16 bit reloc for the AVR that stores 13 bit pc relative
  4440. short offset into 12 bits.
  4441. -- : BFD_RELOC_AVR_16_PM
  4442. This is a 16 bit reloc for the AVR that stores 17 bit value
  4443. (usually program memory address) into 16 bits.
  4444. -- : BFD_RELOC_AVR_LO8_LDI
  4445. This is a 16 bit reloc for the AVR that stores 8 bit value (usually
  4446. data memory address) into 8 bit immediate value of LDI insn.
  4447. -- : BFD_RELOC_AVR_HI8_LDI
  4448. This is a 16 bit reloc for the AVR that stores 8 bit value (high 8
  4449. bit of data memory address) into 8 bit immediate value of LDI insn.
  4450. -- : BFD_RELOC_AVR_HH8_LDI
  4451. This is a 16 bit reloc for the AVR that stores 8 bit value (most
  4452. high 8 bit of program memory address) into 8 bit immediate value of
  4453. LDI insn.
  4454. -- : BFD_RELOC_AVR_MS8_LDI
  4455. This is a 16 bit reloc for the AVR that stores 8 bit value (most
  4456. high 8 bit of 32 bit value) into 8 bit immediate value of LDI insn.
  4457. -- : BFD_RELOC_AVR_LO8_LDI_NEG
  4458. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4459. (usually data memory address) into 8 bit immediate value of SUBI
  4460. insn.
  4461. -- : BFD_RELOC_AVR_HI8_LDI_NEG
  4462. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4463. (high 8 bit of data memory address) into 8 bit immediate value of
  4464. SUBI insn.
  4465. -- : BFD_RELOC_AVR_HH8_LDI_NEG
  4466. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4467. (most high 8 bit of program memory address) into 8 bit immediate
  4468. value of LDI or SUBI insn.
  4469. -- : BFD_RELOC_AVR_MS8_LDI_NEG
  4470. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4471. (msb of 32 bit value) into 8 bit immediate value of LDI insn.
  4472. -- : BFD_RELOC_AVR_LO8_LDI_PM
  4473. This is a 16 bit reloc for the AVR that stores 8 bit value (usually
  4474. command address) into 8 bit immediate value of LDI insn.
  4475. -- : BFD_RELOC_AVR_LO8_LDI_GS
  4476. This is a 16 bit reloc for the AVR that stores 8 bit value (command
  4477. address) into 8 bit immediate value of LDI insn. If the address is
  4478. beyond the 128k boundary, the linker inserts a jump stub for this
  4479. reloc in the lower 128k.
  4480. -- : BFD_RELOC_AVR_HI8_LDI_PM
  4481. This is a 16 bit reloc for the AVR that stores 8 bit value (high 8
  4482. bit of command address) into 8 bit immediate value of LDI insn.
  4483. -- : BFD_RELOC_AVR_HI8_LDI_GS
  4484. This is a 16 bit reloc for the AVR that stores 8 bit value (high 8
  4485. bit of command address) into 8 bit immediate value of LDI insn. If
  4486. the address is beyond the 128k boundary, the linker inserts a jump
  4487. stub for this reloc below 128k.
  4488. -- : BFD_RELOC_AVR_HH8_LDI_PM
  4489. This is a 16 bit reloc for the AVR that stores 8 bit value (most
  4490. high 8 bit of command address) into 8 bit immediate value of LDI
  4491. insn.
  4492. -- : BFD_RELOC_AVR_LO8_LDI_PM_NEG
  4493. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4494. (usually command address) into 8 bit immediate value of SUBI insn.
  4495. -- : BFD_RELOC_AVR_HI8_LDI_PM_NEG
  4496. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4497. (high 8 bit of 16 bit command address) into 8 bit immediate value
  4498. of SUBI insn.
  4499. -- : BFD_RELOC_AVR_HH8_LDI_PM_NEG
  4500. This is a 16 bit reloc for the AVR that stores negated 8 bit value
  4501. (high 6 bit of 22 bit command address) into 8 bit immediate value
  4502. of SUBI insn.
  4503. -- : BFD_RELOC_AVR_CALL
  4504. This is a 32 bit reloc for the AVR that stores 23 bit value into 22
  4505. bits.
  4506. -- : BFD_RELOC_AVR_LDI
  4507. This is a 16 bit reloc for the AVR that stores all needed bits for
  4508. absolute addressing with ldi with overflow check to linktime
  4509. -- : BFD_RELOC_AVR_6
  4510. This is a 6 bit reloc for the AVR that stores offset for ldd/std
  4511. instructions
  4512. -- : BFD_RELOC_AVR_6_ADIW
  4513. This is a 6 bit reloc for the AVR that stores offset for adiw/sbiw
  4514. instructions
  4515. -- : BFD_RELOC_AVR_8_LO
  4516. This is a 8 bit reloc for the AVR that stores bits 0..7 of a symbol
  4517. in .byte lo8(symbol)
  4518. -- : BFD_RELOC_AVR_8_HI
  4519. This is a 8 bit reloc for the AVR that stores bits 8..15 of a
  4520. symbol in .byte hi8(symbol)
  4521. -- : BFD_RELOC_AVR_8_HLO
  4522. This is a 8 bit reloc for the AVR that stores bits 16..23 of a
  4523. symbol in .byte hlo8(symbol)
  4524. -- : BFD_RELOC_AVR_DIFF8
  4525. -- : BFD_RELOC_AVR_DIFF16
  4526. -- : BFD_RELOC_AVR_DIFF32
  4527. AVR relocations to mark the difference of two local symbols. These
  4528. are only needed to support linker relaxation and can be ignored
  4529. when not relaxing. The field is set to the value of the difference
  4530. assuming no relaxation. The relocation encodes the position of the
  4531. second symbol so the linker can determine whether to adjust the
  4532. field value.
  4533. -- : BFD_RELOC_AVR_LDS_STS_16
  4534. This is a 7 bit reloc for the AVR that stores SRAM address for
  4535. 16bit lds and sts instructions supported only tiny core.
  4536. -- : BFD_RELOC_AVR_PORT6
  4537. This is a 6 bit reloc for the AVR that stores an I/O register
  4538. number for the IN and OUT instructions
  4539. -- : BFD_RELOC_AVR_PORT5
  4540. This is a 5 bit reloc for the AVR that stores an I/O register
  4541. number for the SBIC, SBIS, SBI and CBI instructions
  4542. -- : BFD_RELOC_RISCV_HI20
  4543. -- : BFD_RELOC_RISCV_PCREL_HI20
  4544. -- : BFD_RELOC_RISCV_PCREL_LO12_I
  4545. -- : BFD_RELOC_RISCV_PCREL_LO12_S
  4546. -- : BFD_RELOC_RISCV_LO12_I
  4547. -- : BFD_RELOC_RISCV_LO12_S
  4548. -- : BFD_RELOC_RISCV_GPREL12_I
  4549. -- : BFD_RELOC_RISCV_GPREL12_S
  4550. -- : BFD_RELOC_RISCV_TPREL_HI20
  4551. -- : BFD_RELOC_RISCV_TPREL_LO12_I
  4552. -- : BFD_RELOC_RISCV_TPREL_LO12_S
  4553. -- : BFD_RELOC_RISCV_TPREL_ADD
  4554. -- : BFD_RELOC_RISCV_CALL
  4555. -- : BFD_RELOC_RISCV_CALL_PLT
  4556. -- : BFD_RELOC_RISCV_ADD8
  4557. -- : BFD_RELOC_RISCV_ADD16
  4558. -- : BFD_RELOC_RISCV_ADD32
  4559. -- : BFD_RELOC_RISCV_ADD64
  4560. -- : BFD_RELOC_RISCV_SUB8
  4561. -- : BFD_RELOC_RISCV_SUB16
  4562. -- : BFD_RELOC_RISCV_SUB32
  4563. -- : BFD_RELOC_RISCV_SUB64
  4564. -- : BFD_RELOC_RISCV_GOT_HI20
  4565. -- : BFD_RELOC_RISCV_TLS_GOT_HI20
  4566. -- : BFD_RELOC_RISCV_TLS_GD_HI20
  4567. -- : BFD_RELOC_RISCV_JMP
  4568. -- : BFD_RELOC_RISCV_TLS_DTPMOD32
  4569. -- : BFD_RELOC_RISCV_TLS_DTPREL32
  4570. -- : BFD_RELOC_RISCV_TLS_DTPMOD64
  4571. -- : BFD_RELOC_RISCV_TLS_DTPREL64
  4572. -- : BFD_RELOC_RISCV_TLS_TPREL32
  4573. -- : BFD_RELOC_RISCV_TLS_TPREL64
  4574. -- : BFD_RELOC_RISCV_ALIGN
  4575. -- : BFD_RELOC_RISCV_RVC_BRANCH
  4576. -- : BFD_RELOC_RISCV_RVC_JUMP
  4577. -- : BFD_RELOC_RISCV_RVC_LUI
  4578. -- : BFD_RELOC_RISCV_GPREL_I
  4579. -- : BFD_RELOC_RISCV_GPREL_S
  4580. -- : BFD_RELOC_RISCV_TPREL_I
  4581. -- : BFD_RELOC_RISCV_TPREL_S
  4582. -- : BFD_RELOC_RISCV_RELAX
  4583. -- : BFD_RELOC_RISCV_CFA
  4584. -- : BFD_RELOC_RISCV_SUB6
  4585. -- : BFD_RELOC_RISCV_SET6
  4586. -- : BFD_RELOC_RISCV_SET8
  4587. -- : BFD_RELOC_RISCV_SET16
  4588. -- : BFD_RELOC_RISCV_SET32
  4589. -- : BFD_RELOC_RISCV_32_PCREL
  4590. RISC-V relocations.
  4591. -- : BFD_RELOC_RL78_NEG8
  4592. -- : BFD_RELOC_RL78_NEG16
  4593. -- : BFD_RELOC_RL78_NEG24
  4594. -- : BFD_RELOC_RL78_NEG32
  4595. -- : BFD_RELOC_RL78_16_OP
  4596. -- : BFD_RELOC_RL78_24_OP
  4597. -- : BFD_RELOC_RL78_32_OP
  4598. -- : BFD_RELOC_RL78_8U
  4599. -- : BFD_RELOC_RL78_16U
  4600. -- : BFD_RELOC_RL78_24U
  4601. -- : BFD_RELOC_RL78_DIR3U_PCREL
  4602. -- : BFD_RELOC_RL78_DIFF
  4603. -- : BFD_RELOC_RL78_GPRELB
  4604. -- : BFD_RELOC_RL78_GPRELW
  4605. -- : BFD_RELOC_RL78_GPRELL
  4606. -- : BFD_RELOC_RL78_SYM
  4607. -- : BFD_RELOC_RL78_OP_SUBTRACT
  4608. -- : BFD_RELOC_RL78_OP_NEG
  4609. -- : BFD_RELOC_RL78_OP_AND
  4610. -- : BFD_RELOC_RL78_OP_SHRA
  4611. -- : BFD_RELOC_RL78_ABS8
  4612. -- : BFD_RELOC_RL78_ABS16
  4613. -- : BFD_RELOC_RL78_ABS16_REV
  4614. -- : BFD_RELOC_RL78_ABS32
  4615. -- : BFD_RELOC_RL78_ABS32_REV
  4616. -- : BFD_RELOC_RL78_ABS16U
  4617. -- : BFD_RELOC_RL78_ABS16UW
  4618. -- : BFD_RELOC_RL78_ABS16UL
  4619. -- : BFD_RELOC_RL78_RELAX
  4620. -- : BFD_RELOC_RL78_HI16
  4621. -- : BFD_RELOC_RL78_HI8
  4622. -- : BFD_RELOC_RL78_LO16
  4623. -- : BFD_RELOC_RL78_CODE
  4624. -- : BFD_RELOC_RL78_SADDR
  4625. Renesas RL78 Relocations.
  4626. -- : BFD_RELOC_RX_NEG8
  4627. -- : BFD_RELOC_RX_NEG16
  4628. -- : BFD_RELOC_RX_NEG24
  4629. -- : BFD_RELOC_RX_NEG32
  4630. -- : BFD_RELOC_RX_16_OP
  4631. -- : BFD_RELOC_RX_24_OP
  4632. -- : BFD_RELOC_RX_32_OP
  4633. -- : BFD_RELOC_RX_8U
  4634. -- : BFD_RELOC_RX_16U
  4635. -- : BFD_RELOC_RX_24U
  4636. -- : BFD_RELOC_RX_DIR3U_PCREL
  4637. -- : BFD_RELOC_RX_DIFF
  4638. -- : BFD_RELOC_RX_GPRELB
  4639. -- : BFD_RELOC_RX_GPRELW
  4640. -- : BFD_RELOC_RX_GPRELL
  4641. -- : BFD_RELOC_RX_SYM
  4642. -- : BFD_RELOC_RX_OP_SUBTRACT
  4643. -- : BFD_RELOC_RX_OP_NEG
  4644. -- : BFD_RELOC_RX_ABS8
  4645. -- : BFD_RELOC_RX_ABS16
  4646. -- : BFD_RELOC_RX_ABS16_REV
  4647. -- : BFD_RELOC_RX_ABS32
  4648. -- : BFD_RELOC_RX_ABS32_REV
  4649. -- : BFD_RELOC_RX_ABS16U
  4650. -- : BFD_RELOC_RX_ABS16UW
  4651. -- : BFD_RELOC_RX_ABS16UL
  4652. -- : BFD_RELOC_RX_RELAX
  4653. Renesas RX Relocations.
  4654. -- : BFD_RELOC_390_12
  4655. Direct 12 bit.
  4656. -- : BFD_RELOC_390_GOT12
  4657. 12 bit GOT offset.
  4658. -- : BFD_RELOC_390_PLT32
  4659. 32 bit PC relative PLT address.
  4660. -- : BFD_RELOC_390_COPY
  4661. Copy symbol at runtime.
  4662. -- : BFD_RELOC_390_GLOB_DAT
  4663. Create GOT entry.
  4664. -- : BFD_RELOC_390_JMP_SLOT
  4665. Create PLT entry.
  4666. -- : BFD_RELOC_390_RELATIVE
  4667. Adjust by program base.
  4668. -- : BFD_RELOC_390_GOTPC
  4669. 32 bit PC relative offset to GOT.
  4670. -- : BFD_RELOC_390_GOT16
  4671. 16 bit GOT offset.
  4672. -- : BFD_RELOC_390_PC12DBL
  4673. PC relative 12 bit shifted by 1.
  4674. -- : BFD_RELOC_390_PLT12DBL
  4675. 12 bit PC rel. PLT shifted by 1.
  4676. -- : BFD_RELOC_390_PC16DBL
  4677. PC relative 16 bit shifted by 1.
  4678. -- : BFD_RELOC_390_PLT16DBL
  4679. 16 bit PC rel. PLT shifted by 1.
  4680. -- : BFD_RELOC_390_PC24DBL
  4681. PC relative 24 bit shifted by 1.
  4682. -- : BFD_RELOC_390_PLT24DBL
  4683. 24 bit PC rel. PLT shifted by 1.
  4684. -- : BFD_RELOC_390_PC32DBL
  4685. PC relative 32 bit shifted by 1.
  4686. -- : BFD_RELOC_390_PLT32DBL
  4687. 32 bit PC rel. PLT shifted by 1.
  4688. -- : BFD_RELOC_390_GOTPCDBL
  4689. 32 bit PC rel. GOT shifted by 1.
  4690. -- : BFD_RELOC_390_GOT64
  4691. 64 bit GOT offset.
  4692. -- : BFD_RELOC_390_PLT64
  4693. 64 bit PC relative PLT address.
  4694. -- : BFD_RELOC_390_GOTENT
  4695. 32 bit rel. offset to GOT entry.
  4696. -- : BFD_RELOC_390_GOTOFF64
  4697. 64 bit offset to GOT.
  4698. -- : BFD_RELOC_390_GOTPLT12
  4699. 12-bit offset to symbol-entry within GOT, with PLT handling.
  4700. -- : BFD_RELOC_390_GOTPLT16
  4701. 16-bit offset to symbol-entry within GOT, with PLT handling.
  4702. -- : BFD_RELOC_390_GOTPLT32
  4703. 32-bit offset to symbol-entry within GOT, with PLT handling.
  4704. -- : BFD_RELOC_390_GOTPLT64
  4705. 64-bit offset to symbol-entry within GOT, with PLT handling.
  4706. -- : BFD_RELOC_390_GOTPLTENT
  4707. 32-bit rel. offset to symbol-entry within GOT, with PLT handling.
  4708. -- : BFD_RELOC_390_PLTOFF16
  4709. 16-bit rel. offset from the GOT to a PLT entry.
  4710. -- : BFD_RELOC_390_PLTOFF32
  4711. 32-bit rel. offset from the GOT to a PLT entry.
  4712. -- : BFD_RELOC_390_PLTOFF64
  4713. 64-bit rel. offset from the GOT to a PLT entry.
  4714. -- : BFD_RELOC_390_TLS_LOAD
  4715. -- : BFD_RELOC_390_TLS_GDCALL
  4716. -- : BFD_RELOC_390_TLS_LDCALL
  4717. -- : BFD_RELOC_390_TLS_GD32
  4718. -- : BFD_RELOC_390_TLS_GD64
  4719. -- : BFD_RELOC_390_TLS_GOTIE12
  4720. -- : BFD_RELOC_390_TLS_GOTIE32
  4721. -- : BFD_RELOC_390_TLS_GOTIE64
  4722. -- : BFD_RELOC_390_TLS_LDM32
  4723. -- : BFD_RELOC_390_TLS_LDM64
  4724. -- : BFD_RELOC_390_TLS_IE32
  4725. -- : BFD_RELOC_390_TLS_IE64
  4726. -- : BFD_RELOC_390_TLS_IEENT
  4727. -- : BFD_RELOC_390_TLS_LE32
  4728. -- : BFD_RELOC_390_TLS_LE64
  4729. -- : BFD_RELOC_390_TLS_LDO32
  4730. -- : BFD_RELOC_390_TLS_LDO64
  4731. -- : BFD_RELOC_390_TLS_DTPMOD
  4732. -- : BFD_RELOC_390_TLS_DTPOFF
  4733. -- : BFD_RELOC_390_TLS_TPOFF
  4734. s390 tls relocations.
  4735. -- : BFD_RELOC_390_20
  4736. -- : BFD_RELOC_390_GOT20
  4737. -- : BFD_RELOC_390_GOTPLT20
  4738. -- : BFD_RELOC_390_TLS_GOTIE20
  4739. Long displacement extension.
  4740. -- : BFD_RELOC_390_IRELATIVE
  4741. STT_GNU_IFUNC relocation.
  4742. -- : BFD_RELOC_SCORE_GPREL15
  4743. Score relocations Low 16 bit for load/store
  4744. -- : BFD_RELOC_SCORE_DUMMY2
  4745. -- : BFD_RELOC_SCORE_JMP
  4746. This is a 24-bit reloc with the right 1 bit assumed to be 0
  4747. -- : BFD_RELOC_SCORE_BRANCH
  4748. This is a 19-bit reloc with the right 1 bit assumed to be 0
  4749. -- : BFD_RELOC_SCORE_IMM30
  4750. This is a 32-bit reloc for 48-bit instructions.
  4751. -- : BFD_RELOC_SCORE_IMM32
  4752. This is a 32-bit reloc for 48-bit instructions.
  4753. -- : BFD_RELOC_SCORE16_JMP
  4754. This is a 11-bit reloc with the right 1 bit assumed to be 0
  4755. -- : BFD_RELOC_SCORE16_BRANCH
  4756. This is a 8-bit reloc with the right 1 bit assumed to be 0
  4757. -- : BFD_RELOC_SCORE_BCMP
  4758. This is a 9-bit reloc with the right 1 bit assumed to be 0
  4759. -- : BFD_RELOC_SCORE_GOT15
  4760. -- : BFD_RELOC_SCORE_GOT_LO16
  4761. -- : BFD_RELOC_SCORE_CALL15
  4762. -- : BFD_RELOC_SCORE_DUMMY_HI16
  4763. Undocumented Score relocs
  4764. -- : BFD_RELOC_IP2K_FR9
  4765. Scenix IP2K - 9-bit register number / data address
  4766. -- : BFD_RELOC_IP2K_BANK
  4767. Scenix IP2K - 4-bit register/data bank number
  4768. -- : BFD_RELOC_IP2K_ADDR16CJP
  4769. Scenix IP2K - low 13 bits of instruction word address
  4770. -- : BFD_RELOC_IP2K_PAGE3
  4771. Scenix IP2K - high 3 bits of instruction word address
  4772. -- : BFD_RELOC_IP2K_LO8DATA
  4773. -- : BFD_RELOC_IP2K_HI8DATA
  4774. -- : BFD_RELOC_IP2K_EX8DATA
  4775. Scenix IP2K - ext/low/high 8 bits of data address
  4776. -- : BFD_RELOC_IP2K_LO8INSN
  4777. -- : BFD_RELOC_IP2K_HI8INSN
  4778. Scenix IP2K - low/high 8 bits of instruction word address
  4779. -- : BFD_RELOC_IP2K_PC_SKIP
  4780. Scenix IP2K - even/odd PC modifier to modify snb pcl.0
  4781. -- : BFD_RELOC_IP2K_TEXT
  4782. Scenix IP2K - 16 bit word address in text section.
  4783. -- : BFD_RELOC_IP2K_FR_OFFSET
  4784. Scenix IP2K - 7-bit sp or dp offset
  4785. -- : BFD_RELOC_VPE4KMATH_DATA
  4786. -- : BFD_RELOC_VPE4KMATH_INSN
  4787. Scenix VPE4K coprocessor - data/insn-space addressing
  4788. -- : BFD_RELOC_VTABLE_INHERIT
  4789. -- : BFD_RELOC_VTABLE_ENTRY
  4790. These two relocations are used by the linker to determine which of
  4791. the entries in a C++ virtual function table are actually used.
  4792. When the -gc-sections option is given, the linker will zero out the
  4793. entries that are not used, so that the code for those functions
  4794. need not be included in the output.
  4795. VTABLE_INHERIT is a zero-space relocation used to describe to the
  4796. linker the inheritance tree of a C++ virtual function table. The
  4797. relocation's symbol should be the parent class' vtable, and the
  4798. relocation should be located at the child vtable.
  4799. VTABLE_ENTRY is a zero-space relocation that describes the use of a
  4800. virtual function table entry. The reloc's symbol should refer to
  4801. the table of the class mentioned in the code. Off of that base, an
  4802. offset describes the entry that is being used. For Rela hosts,
  4803. this offset is stored in the reloc's addend. For Rel hosts, we are
  4804. forced to put this offset in the reloc's section offset.
  4805. -- : BFD_RELOC_IA64_IMM14
  4806. -- : BFD_RELOC_IA64_IMM22
  4807. -- : BFD_RELOC_IA64_IMM64
  4808. -- : BFD_RELOC_IA64_DIR32MSB
  4809. -- : BFD_RELOC_IA64_DIR32LSB
  4810. -- : BFD_RELOC_IA64_DIR64MSB
  4811. -- : BFD_RELOC_IA64_DIR64LSB
  4812. -- : BFD_RELOC_IA64_GPREL22
  4813. -- : BFD_RELOC_IA64_GPREL64I
  4814. -- : BFD_RELOC_IA64_GPREL32MSB
  4815. -- : BFD_RELOC_IA64_GPREL32LSB
  4816. -- : BFD_RELOC_IA64_GPREL64MSB
  4817. -- : BFD_RELOC_IA64_GPREL64LSB
  4818. -- : BFD_RELOC_IA64_LTOFF22
  4819. -- : BFD_RELOC_IA64_LTOFF64I
  4820. -- : BFD_RELOC_IA64_PLTOFF22
  4821. -- : BFD_RELOC_IA64_PLTOFF64I
  4822. -- : BFD_RELOC_IA64_PLTOFF64MSB
  4823. -- : BFD_RELOC_IA64_PLTOFF64LSB
  4824. -- : BFD_RELOC_IA64_FPTR64I
  4825. -- : BFD_RELOC_IA64_FPTR32MSB
  4826. -- : BFD_RELOC_IA64_FPTR32LSB
  4827. -- : BFD_RELOC_IA64_FPTR64MSB
  4828. -- : BFD_RELOC_IA64_FPTR64LSB
  4829. -- : BFD_RELOC_IA64_PCREL21B
  4830. -- : BFD_RELOC_IA64_PCREL21BI
  4831. -- : BFD_RELOC_IA64_PCREL21M
  4832. -- : BFD_RELOC_IA64_PCREL21F
  4833. -- : BFD_RELOC_IA64_PCREL22
  4834. -- : BFD_RELOC_IA64_PCREL60B
  4835. -- : BFD_RELOC_IA64_PCREL64I
  4836. -- : BFD_RELOC_IA64_PCREL32MSB
  4837. -- : BFD_RELOC_IA64_PCREL32LSB
  4838. -- : BFD_RELOC_IA64_PCREL64MSB
  4839. -- : BFD_RELOC_IA64_PCREL64LSB
  4840. -- : BFD_RELOC_IA64_LTOFF_FPTR22
  4841. -- : BFD_RELOC_IA64_LTOFF_FPTR64I
  4842. -- : BFD_RELOC_IA64_LTOFF_FPTR32MSB
  4843. -- : BFD_RELOC_IA64_LTOFF_FPTR32LSB
  4844. -- : BFD_RELOC_IA64_LTOFF_FPTR64MSB
  4845. -- : BFD_RELOC_IA64_LTOFF_FPTR64LSB
  4846. -- : BFD_RELOC_IA64_SEGREL32MSB
  4847. -- : BFD_RELOC_IA64_SEGREL32LSB
  4848. -- : BFD_RELOC_IA64_SEGREL64MSB
  4849. -- : BFD_RELOC_IA64_SEGREL64LSB
  4850. -- : BFD_RELOC_IA64_SECREL32MSB
  4851. -- : BFD_RELOC_IA64_SECREL32LSB
  4852. -- : BFD_RELOC_IA64_SECREL64MSB
  4853. -- : BFD_RELOC_IA64_SECREL64LSB
  4854. -- : BFD_RELOC_IA64_REL32MSB
  4855. -- : BFD_RELOC_IA64_REL32LSB
  4856. -- : BFD_RELOC_IA64_REL64MSB
  4857. -- : BFD_RELOC_IA64_REL64LSB
  4858. -- : BFD_RELOC_IA64_LTV32MSB
  4859. -- : BFD_RELOC_IA64_LTV32LSB
  4860. -- : BFD_RELOC_IA64_LTV64MSB
  4861. -- : BFD_RELOC_IA64_LTV64LSB
  4862. -- : BFD_RELOC_IA64_IPLTMSB
  4863. -- : BFD_RELOC_IA64_IPLTLSB
  4864. -- : BFD_RELOC_IA64_COPY
  4865. -- : BFD_RELOC_IA64_LTOFF22X
  4866. -- : BFD_RELOC_IA64_LDXMOV
  4867. -- : BFD_RELOC_IA64_TPREL14
  4868. -- : BFD_RELOC_IA64_TPREL22
  4869. -- : BFD_RELOC_IA64_TPREL64I
  4870. -- : BFD_RELOC_IA64_TPREL64MSB
  4871. -- : BFD_RELOC_IA64_TPREL64LSB
  4872. -- : BFD_RELOC_IA64_LTOFF_TPREL22
  4873. -- : BFD_RELOC_IA64_DTPMOD64MSB
  4874. -- : BFD_RELOC_IA64_DTPMOD64LSB
  4875. -- : BFD_RELOC_IA64_LTOFF_DTPMOD22
  4876. -- : BFD_RELOC_IA64_DTPREL14
  4877. -- : BFD_RELOC_IA64_DTPREL22
  4878. -- : BFD_RELOC_IA64_DTPREL64I
  4879. -- : BFD_RELOC_IA64_DTPREL32MSB
  4880. -- : BFD_RELOC_IA64_DTPREL32LSB
  4881. -- : BFD_RELOC_IA64_DTPREL64MSB
  4882. -- : BFD_RELOC_IA64_DTPREL64LSB
  4883. -- : BFD_RELOC_IA64_LTOFF_DTPREL22
  4884. Intel IA64 Relocations.
  4885. -- : BFD_RELOC_M68HC11_HI8
  4886. Motorola 68HC11 reloc. This is the 8 bit high part of an absolute
  4887. address.
  4888. -- : BFD_RELOC_M68HC11_LO8
  4889. Motorola 68HC11 reloc. This is the 8 bit low part of an absolute
  4890. address.
  4891. -- : BFD_RELOC_M68HC11_3B
  4892. Motorola 68HC11 reloc. This is the 3 bit of a value.
  4893. -- : BFD_RELOC_M68HC11_RL_JUMP
  4894. Motorola 68HC11 reloc. This reloc marks the beginning of a
  4895. jump/call instruction. It is used for linker relaxation to
  4896. correctly identify beginning of instruction and change some
  4897. branches to use PC-relative addressing mode.
  4898. -- : BFD_RELOC_M68HC11_RL_GROUP
  4899. Motorola 68HC11 reloc. This reloc marks a group of several
  4900. instructions that gcc generates and for which the linker relaxation
  4901. pass can modify and/or remove some of them.
  4902. -- : BFD_RELOC_M68HC11_LO16
  4903. Motorola 68HC11 reloc. This is the 16-bit lower part of an
  4904. address. It is used for 'call' instruction to specify the symbol
  4905. address without any special transformation (due to memory bank
  4906. window).
  4907. -- : BFD_RELOC_M68HC11_PAGE
  4908. Motorola 68HC11 reloc. This is a 8-bit reloc that specifies the
  4909. page number of an address. It is used by 'call' instruction to
  4910. specify the page number of the symbol.
  4911. -- : BFD_RELOC_M68HC11_24
  4912. Motorola 68HC11 reloc. This is a 24-bit reloc that represents the
  4913. address with a 16-bit value and a 8-bit page number. The symbol
  4914. address is transformed to follow the 16K memory bank of 68HC12
  4915. (seen as mapped in the window).
  4916. -- : BFD_RELOC_M68HC12_5B
  4917. Motorola 68HC12 reloc. This is the 5 bits of a value.
  4918. -- : BFD_RELOC_XGATE_RL_JUMP
  4919. Freescale XGATE reloc. This reloc marks the beginning of a bra/jal
  4920. instruction.
  4921. -- : BFD_RELOC_XGATE_RL_GROUP
  4922. Freescale XGATE reloc. This reloc marks a group of several
  4923. instructions that gcc generates and for which the linker relaxation
  4924. pass can modify and/or remove some of them.
  4925. -- : BFD_RELOC_XGATE_LO16
  4926. Freescale XGATE reloc. This is the 16-bit lower part of an
  4927. address. It is used for the '16-bit' instructions.
  4928. -- : BFD_RELOC_XGATE_GPAGE
  4929. Freescale XGATE reloc.
  4930. -- : BFD_RELOC_XGATE_24
  4931. Freescale XGATE reloc.
  4932. -- : BFD_RELOC_XGATE_PCREL_9
  4933. Freescale XGATE reloc. This is a 9-bit pc-relative reloc.
  4934. -- : BFD_RELOC_XGATE_PCREL_10
  4935. Freescale XGATE reloc. This is a 10-bit pc-relative reloc.
  4936. -- : BFD_RELOC_XGATE_IMM8_LO
  4937. Freescale XGATE reloc. This is the 16-bit lower part of an
  4938. address. It is used for the '16-bit' instructions.
  4939. -- : BFD_RELOC_XGATE_IMM8_HI
  4940. Freescale XGATE reloc. This is the 16-bit higher part of an
  4941. address. It is used for the '16-bit' instructions.
  4942. -- : BFD_RELOC_XGATE_IMM3
  4943. Freescale XGATE reloc. This is a 3-bit pc-relative reloc.
  4944. -- : BFD_RELOC_XGATE_IMM4
  4945. Freescale XGATE reloc. This is a 4-bit pc-relative reloc.
  4946. -- : BFD_RELOC_XGATE_IMM5
  4947. Freescale XGATE reloc. This is a 5-bit pc-relative reloc.
  4948. -- : BFD_RELOC_M68HC12_9B
  4949. Motorola 68HC12 reloc. This is the 9 bits of a value.
  4950. -- : BFD_RELOC_M68HC12_16B
  4951. Motorola 68HC12 reloc. This is the 16 bits of a value.
  4952. -- : BFD_RELOC_M68HC12_9_PCREL
  4953. Motorola 68HC12/XGATE reloc. This is a PCREL9 branch.
  4954. -- : BFD_RELOC_M68HC12_10_PCREL
  4955. Motorola 68HC12/XGATE reloc. This is a PCREL10 branch.
  4956. -- : BFD_RELOC_M68HC12_LO8XG
  4957. Motorola 68HC12/XGATE reloc. This is the 8 bit low part of an
  4958. absolute address and immediately precedes a matching HI8XG part.
  4959. -- : BFD_RELOC_M68HC12_HI8XG
  4960. Motorola 68HC12/XGATE reloc. This is the 8 bit high part of an
  4961. absolute address and immediately follows a matching LO8XG part.
  4962. -- : BFD_RELOC_S12Z_15_PCREL
  4963. Freescale S12Z reloc. This is a 15 bit relative address. If the
  4964. most significant bits are all zero then it may be truncated to 8
  4965. bits.
  4966. -- : BFD_RELOC_16C_NUM08
  4967. -- : BFD_RELOC_16C_NUM08_C
  4968. -- : BFD_RELOC_16C_NUM16
  4969. -- : BFD_RELOC_16C_NUM16_C
  4970. -- : BFD_RELOC_16C_NUM32
  4971. -- : BFD_RELOC_16C_NUM32_C
  4972. -- : BFD_RELOC_16C_DISP04
  4973. -- : BFD_RELOC_16C_DISP04_C
  4974. -- : BFD_RELOC_16C_DISP08
  4975. -- : BFD_RELOC_16C_DISP08_C
  4976. -- : BFD_RELOC_16C_DISP16
  4977. -- : BFD_RELOC_16C_DISP16_C
  4978. -- : BFD_RELOC_16C_DISP24
  4979. -- : BFD_RELOC_16C_DISP24_C
  4980. -- : BFD_RELOC_16C_DISP24a
  4981. -- : BFD_RELOC_16C_DISP24a_C
  4982. -- : BFD_RELOC_16C_REG04
  4983. -- : BFD_RELOC_16C_REG04_C
  4984. -- : BFD_RELOC_16C_REG04a
  4985. -- : BFD_RELOC_16C_REG04a_C
  4986. -- : BFD_RELOC_16C_REG14
  4987. -- : BFD_RELOC_16C_REG14_C
  4988. -- : BFD_RELOC_16C_REG16
  4989. -- : BFD_RELOC_16C_REG16_C
  4990. -- : BFD_RELOC_16C_REG20
  4991. -- : BFD_RELOC_16C_REG20_C
  4992. -- : BFD_RELOC_16C_ABS20
  4993. -- : BFD_RELOC_16C_ABS20_C
  4994. -- : BFD_RELOC_16C_ABS24
  4995. -- : BFD_RELOC_16C_ABS24_C
  4996. -- : BFD_RELOC_16C_IMM04
  4997. -- : BFD_RELOC_16C_IMM04_C
  4998. -- : BFD_RELOC_16C_IMM16
  4999. -- : BFD_RELOC_16C_IMM16_C
  5000. -- : BFD_RELOC_16C_IMM20
  5001. -- : BFD_RELOC_16C_IMM20_C
  5002. -- : BFD_RELOC_16C_IMM24
  5003. -- : BFD_RELOC_16C_IMM24_C
  5004. -- : BFD_RELOC_16C_IMM32
  5005. -- : BFD_RELOC_16C_IMM32_C
  5006. NS CR16C Relocations.
  5007. -- : BFD_RELOC_CR16_NUM8
  5008. -- : BFD_RELOC_CR16_NUM16
  5009. -- : BFD_RELOC_CR16_NUM32
  5010. -- : BFD_RELOC_CR16_NUM32a
  5011. -- : BFD_RELOC_CR16_REGREL0
  5012. -- : BFD_RELOC_CR16_REGREL4
  5013. -- : BFD_RELOC_CR16_REGREL4a
  5014. -- : BFD_RELOC_CR16_REGREL14
  5015. -- : BFD_RELOC_CR16_REGREL14a
  5016. -- : BFD_RELOC_CR16_REGREL16
  5017. -- : BFD_RELOC_CR16_REGREL20
  5018. -- : BFD_RELOC_CR16_REGREL20a
  5019. -- : BFD_RELOC_CR16_ABS20
  5020. -- : BFD_RELOC_CR16_ABS24
  5021. -- : BFD_RELOC_CR16_IMM4
  5022. -- : BFD_RELOC_CR16_IMM8
  5023. -- : BFD_RELOC_CR16_IMM16
  5024. -- : BFD_RELOC_CR16_IMM20
  5025. -- : BFD_RELOC_CR16_IMM24
  5026. -- : BFD_RELOC_CR16_IMM32
  5027. -- : BFD_RELOC_CR16_IMM32a
  5028. -- : BFD_RELOC_CR16_DISP4
  5029. -- : BFD_RELOC_CR16_DISP8
  5030. -- : BFD_RELOC_CR16_DISP16
  5031. -- : BFD_RELOC_CR16_DISP20
  5032. -- : BFD_RELOC_CR16_DISP24
  5033. -- : BFD_RELOC_CR16_DISP24a
  5034. -- : BFD_RELOC_CR16_SWITCH8
  5035. -- : BFD_RELOC_CR16_SWITCH16
  5036. -- : BFD_RELOC_CR16_SWITCH32
  5037. -- : BFD_RELOC_CR16_GOT_REGREL20
  5038. -- : BFD_RELOC_CR16_GOTC_REGREL20
  5039. -- : BFD_RELOC_CR16_GLOB_DAT
  5040. NS CR16 Relocations.
  5041. -- : BFD_RELOC_CRX_REL4
  5042. -- : BFD_RELOC_CRX_REL8
  5043. -- : BFD_RELOC_CRX_REL8_CMP
  5044. -- : BFD_RELOC_CRX_REL16
  5045. -- : BFD_RELOC_CRX_REL24
  5046. -- : BFD_RELOC_CRX_REL32
  5047. -- : BFD_RELOC_CRX_REGREL12
  5048. -- : BFD_RELOC_CRX_REGREL22
  5049. -- : BFD_RELOC_CRX_REGREL28
  5050. -- : BFD_RELOC_CRX_REGREL32
  5051. -- : BFD_RELOC_CRX_ABS16
  5052. -- : BFD_RELOC_CRX_ABS32
  5053. -- : BFD_RELOC_CRX_NUM8
  5054. -- : BFD_RELOC_CRX_NUM16
  5055. -- : BFD_RELOC_CRX_NUM32
  5056. -- : BFD_RELOC_CRX_IMM16
  5057. -- : BFD_RELOC_CRX_IMM32
  5058. -- : BFD_RELOC_CRX_SWITCH8
  5059. -- : BFD_RELOC_CRX_SWITCH16
  5060. -- : BFD_RELOC_CRX_SWITCH32
  5061. NS CRX Relocations.
  5062. -- : BFD_RELOC_CRIS_BDISP8
  5063. -- : BFD_RELOC_CRIS_UNSIGNED_5
  5064. -- : BFD_RELOC_CRIS_SIGNED_6
  5065. -- : BFD_RELOC_CRIS_UNSIGNED_6
  5066. -- : BFD_RELOC_CRIS_SIGNED_8
  5067. -- : BFD_RELOC_CRIS_UNSIGNED_8
  5068. -- : BFD_RELOC_CRIS_SIGNED_16
  5069. -- : BFD_RELOC_CRIS_UNSIGNED_16
  5070. -- : BFD_RELOC_CRIS_LAPCQ_OFFSET
  5071. -- : BFD_RELOC_CRIS_UNSIGNED_4
  5072. These relocs are only used within the CRIS assembler. They are not
  5073. (at present) written to any object files.
  5074. -- : BFD_RELOC_CRIS_COPY
  5075. -- : BFD_RELOC_CRIS_GLOB_DAT
  5076. -- : BFD_RELOC_CRIS_JUMP_SLOT
  5077. -- : BFD_RELOC_CRIS_RELATIVE
  5078. Relocs used in ELF shared libraries for CRIS.
  5079. -- : BFD_RELOC_CRIS_32_GOT
  5080. 32-bit offset to symbol-entry within GOT.
  5081. -- : BFD_RELOC_CRIS_16_GOT
  5082. 16-bit offset to symbol-entry within GOT.
  5083. -- : BFD_RELOC_CRIS_32_GOTPLT
  5084. 32-bit offset to symbol-entry within GOT, with PLT handling.
  5085. -- : BFD_RELOC_CRIS_16_GOTPLT
  5086. 16-bit offset to symbol-entry within GOT, with PLT handling.
  5087. -- : BFD_RELOC_CRIS_32_GOTREL
  5088. 32-bit offset to symbol, relative to GOT.
  5089. -- : BFD_RELOC_CRIS_32_PLT_GOTREL
  5090. 32-bit offset to symbol with PLT entry, relative to GOT.
  5091. -- : BFD_RELOC_CRIS_32_PLT_PCREL
  5092. 32-bit offset to symbol with PLT entry, relative to this
  5093. relocation.
  5094. -- : BFD_RELOC_CRIS_32_GOT_GD
  5095. -- : BFD_RELOC_CRIS_16_GOT_GD
  5096. -- : BFD_RELOC_CRIS_32_GD
  5097. -- : BFD_RELOC_CRIS_DTP
  5098. -- : BFD_RELOC_CRIS_32_DTPREL
  5099. -- : BFD_RELOC_CRIS_16_DTPREL
  5100. -- : BFD_RELOC_CRIS_32_GOT_TPREL
  5101. -- : BFD_RELOC_CRIS_16_GOT_TPREL
  5102. -- : BFD_RELOC_CRIS_32_TPREL
  5103. -- : BFD_RELOC_CRIS_16_TPREL
  5104. -- : BFD_RELOC_CRIS_DTPMOD
  5105. -- : BFD_RELOC_CRIS_32_IE
  5106. Relocs used in TLS code for CRIS.
  5107. -- : BFD_RELOC_OR1K_REL_26
  5108. -- : BFD_RELOC_OR1K_SLO16
  5109. -- : BFD_RELOC_OR1K_PCREL_PG21
  5110. -- : BFD_RELOC_OR1K_LO13
  5111. -- : BFD_RELOC_OR1K_SLO13
  5112. -- : BFD_RELOC_OR1K_GOTPC_HI16
  5113. -- : BFD_RELOC_OR1K_GOTPC_LO16
  5114. -- : BFD_RELOC_OR1K_GOT16
  5115. -- : BFD_RELOC_OR1K_GOT_PG21
  5116. -- : BFD_RELOC_OR1K_GOT_LO13
  5117. -- : BFD_RELOC_OR1K_PLT26
  5118. -- : BFD_RELOC_OR1K_PLTA26
  5119. -- : BFD_RELOC_OR1K_GOTOFF_SLO16
  5120. -- : BFD_RELOC_OR1K_COPY
  5121. -- : BFD_RELOC_OR1K_GLOB_DAT
  5122. -- : BFD_RELOC_OR1K_JMP_SLOT
  5123. -- : BFD_RELOC_OR1K_RELATIVE
  5124. -- : BFD_RELOC_OR1K_TLS_GD_HI16
  5125. -- : BFD_RELOC_OR1K_TLS_GD_LO16
  5126. -- : BFD_RELOC_OR1K_TLS_GD_PG21
  5127. -- : BFD_RELOC_OR1K_TLS_GD_LO13
  5128. -- : BFD_RELOC_OR1K_TLS_LDM_HI16
  5129. -- : BFD_RELOC_OR1K_TLS_LDM_LO16
  5130. -- : BFD_RELOC_OR1K_TLS_LDM_PG21
  5131. -- : BFD_RELOC_OR1K_TLS_LDM_LO13
  5132. -- : BFD_RELOC_OR1K_TLS_LDO_HI16
  5133. -- : BFD_RELOC_OR1K_TLS_LDO_LO16
  5134. -- : BFD_RELOC_OR1K_TLS_IE_HI16
  5135. -- : BFD_RELOC_OR1K_TLS_IE_AHI16
  5136. -- : BFD_RELOC_OR1K_TLS_IE_LO16
  5137. -- : BFD_RELOC_OR1K_TLS_IE_PG21
  5138. -- : BFD_RELOC_OR1K_TLS_IE_LO13
  5139. -- : BFD_RELOC_OR1K_TLS_LE_HI16
  5140. -- : BFD_RELOC_OR1K_TLS_LE_AHI16
  5141. -- : BFD_RELOC_OR1K_TLS_LE_LO16
  5142. -- : BFD_RELOC_OR1K_TLS_LE_SLO16
  5143. -- : BFD_RELOC_OR1K_TLS_TPOFF
  5144. -- : BFD_RELOC_OR1K_TLS_DTPOFF
  5145. -- : BFD_RELOC_OR1K_TLS_DTPMOD
  5146. OpenRISC 1000 Relocations.
  5147. -- : BFD_RELOC_H8_DIR16A8
  5148. -- : BFD_RELOC_H8_DIR16R8
  5149. -- : BFD_RELOC_H8_DIR24A8
  5150. -- : BFD_RELOC_H8_DIR24R8
  5151. -- : BFD_RELOC_H8_DIR32A16
  5152. -- : BFD_RELOC_H8_DISP32A16
  5153. H8 elf Relocations.
  5154. -- : BFD_RELOC_XSTORMY16_REL_12
  5155. -- : BFD_RELOC_XSTORMY16_12
  5156. -- : BFD_RELOC_XSTORMY16_24
  5157. -- : BFD_RELOC_XSTORMY16_FPTR16
  5158. Sony Xstormy16 Relocations.
  5159. -- : BFD_RELOC_RELC
  5160. Self-describing complex relocations.
  5161. -- : BFD_RELOC_XC16X_PAG
  5162. -- : BFD_RELOC_XC16X_POF
  5163. -- : BFD_RELOC_XC16X_SEG
  5164. -- : BFD_RELOC_XC16X_SOF
  5165. Infineon Relocations.
  5166. -- : BFD_RELOC_VAX_GLOB_DAT
  5167. -- : BFD_RELOC_VAX_JMP_SLOT
  5168. -- : BFD_RELOC_VAX_RELATIVE
  5169. Relocations used by VAX ELF.
  5170. -- : BFD_RELOC_MT_PC16
  5171. Morpho MT - 16 bit immediate relocation.
  5172. -- : BFD_RELOC_MT_HI16
  5173. Morpho MT - Hi 16 bits of an address.
  5174. -- : BFD_RELOC_MT_LO16
  5175. Morpho MT - Low 16 bits of an address.
  5176. -- : BFD_RELOC_MT_GNU_VTINHERIT
  5177. Morpho MT - Used to tell the linker which vtable entries are used.
  5178. -- : BFD_RELOC_MT_GNU_VTENTRY
  5179. Morpho MT - Used to tell the linker which vtable entries are used.
  5180. -- : BFD_RELOC_MT_PCINSN8
  5181. Morpho MT - 8 bit immediate relocation.
  5182. -- : BFD_RELOC_MSP430_10_PCREL
  5183. -- : BFD_RELOC_MSP430_16_PCREL
  5184. -- : BFD_RELOC_MSP430_16
  5185. -- : BFD_RELOC_MSP430_16_PCREL_BYTE
  5186. -- : BFD_RELOC_MSP430_16_BYTE
  5187. -- : BFD_RELOC_MSP430_2X_PCREL
  5188. -- : BFD_RELOC_MSP430_RL_PCREL
  5189. -- : BFD_RELOC_MSP430_ABS8
  5190. -- : BFD_RELOC_MSP430X_PCR20_EXT_SRC
  5191. -- : BFD_RELOC_MSP430X_PCR20_EXT_DST
  5192. -- : BFD_RELOC_MSP430X_PCR20_EXT_ODST
  5193. -- : BFD_RELOC_MSP430X_ABS20_EXT_SRC
  5194. -- : BFD_RELOC_MSP430X_ABS20_EXT_DST
  5195. -- : BFD_RELOC_MSP430X_ABS20_EXT_ODST
  5196. -- : BFD_RELOC_MSP430X_ABS20_ADR_SRC
  5197. -- : BFD_RELOC_MSP430X_ABS20_ADR_DST
  5198. -- : BFD_RELOC_MSP430X_PCR16
  5199. -- : BFD_RELOC_MSP430X_PCR20_CALL
  5200. -- : BFD_RELOC_MSP430X_ABS16
  5201. -- : BFD_RELOC_MSP430_ABS_HI16
  5202. -- : BFD_RELOC_MSP430_PREL31
  5203. -- : BFD_RELOC_MSP430_SYM_DIFF
  5204. msp430 specific relocation codes
  5205. -- : BFD_RELOC_NIOS2_S16
  5206. -- : BFD_RELOC_NIOS2_U16
  5207. -- : BFD_RELOC_NIOS2_CALL26
  5208. -- : BFD_RELOC_NIOS2_IMM5
  5209. -- : BFD_RELOC_NIOS2_CACHE_OPX
  5210. -- : BFD_RELOC_NIOS2_IMM6
  5211. -- : BFD_RELOC_NIOS2_IMM8
  5212. -- : BFD_RELOC_NIOS2_HI16
  5213. -- : BFD_RELOC_NIOS2_LO16
  5214. -- : BFD_RELOC_NIOS2_HIADJ16
  5215. -- : BFD_RELOC_NIOS2_GPREL
  5216. -- : BFD_RELOC_NIOS2_UJMP
  5217. -- : BFD_RELOC_NIOS2_CJMP
  5218. -- : BFD_RELOC_NIOS2_CALLR
  5219. -- : BFD_RELOC_NIOS2_ALIGN
  5220. -- : BFD_RELOC_NIOS2_GOT16
  5221. -- : BFD_RELOC_NIOS2_CALL16
  5222. -- : BFD_RELOC_NIOS2_GOTOFF_LO
  5223. -- : BFD_RELOC_NIOS2_GOTOFF_HA
  5224. -- : BFD_RELOC_NIOS2_PCREL_LO
  5225. -- : BFD_RELOC_NIOS2_PCREL_HA
  5226. -- : BFD_RELOC_NIOS2_TLS_GD16
  5227. -- : BFD_RELOC_NIOS2_TLS_LDM16
  5228. -- : BFD_RELOC_NIOS2_TLS_LDO16
  5229. -- : BFD_RELOC_NIOS2_TLS_IE16
  5230. -- : BFD_RELOC_NIOS2_TLS_LE16
  5231. -- : BFD_RELOC_NIOS2_TLS_DTPMOD
  5232. -- : BFD_RELOC_NIOS2_TLS_DTPREL
  5233. -- : BFD_RELOC_NIOS2_TLS_TPREL
  5234. -- : BFD_RELOC_NIOS2_COPY
  5235. -- : BFD_RELOC_NIOS2_GLOB_DAT
  5236. -- : BFD_RELOC_NIOS2_JUMP_SLOT
  5237. -- : BFD_RELOC_NIOS2_RELATIVE
  5238. -- : BFD_RELOC_NIOS2_GOTOFF
  5239. -- : BFD_RELOC_NIOS2_CALL26_NOAT
  5240. -- : BFD_RELOC_NIOS2_GOT_LO
  5241. -- : BFD_RELOC_NIOS2_GOT_HA
  5242. -- : BFD_RELOC_NIOS2_CALL_LO
  5243. -- : BFD_RELOC_NIOS2_CALL_HA
  5244. -- : BFD_RELOC_NIOS2_R2_S12
  5245. -- : BFD_RELOC_NIOS2_R2_I10_1_PCREL
  5246. -- : BFD_RELOC_NIOS2_R2_T1I7_1_PCREL
  5247. -- : BFD_RELOC_NIOS2_R2_T1I7_2
  5248. -- : BFD_RELOC_NIOS2_R2_T2I4
  5249. -- : BFD_RELOC_NIOS2_R2_T2I4_1
  5250. -- : BFD_RELOC_NIOS2_R2_T2I4_2
  5251. -- : BFD_RELOC_NIOS2_R2_X1I7_2
  5252. -- : BFD_RELOC_NIOS2_R2_X2L5
  5253. -- : BFD_RELOC_NIOS2_R2_F1I5_2
  5254. -- : BFD_RELOC_NIOS2_R2_L5I4X1
  5255. -- : BFD_RELOC_NIOS2_R2_T1X1I6
  5256. -- : BFD_RELOC_NIOS2_R2_T1X1I6_2
  5257. Relocations used by the Altera Nios II core.
  5258. -- : BFD_RELOC_PRU_U16
  5259. PRU LDI 16-bit unsigned data-memory relocation.
  5260. -- : BFD_RELOC_PRU_U16_PMEMIMM
  5261. PRU LDI 16-bit unsigned instruction-memory relocation.
  5262. -- : BFD_RELOC_PRU_LDI32
  5263. PRU relocation for two consecutive LDI load instructions that load
  5264. a 32 bit value into a register. If the higher bits are all zero,
  5265. then the second instruction may be relaxed.
  5266. -- : BFD_RELOC_PRU_S10_PCREL
  5267. PRU QBBx 10-bit signed PC-relative relocation.
  5268. -- : BFD_RELOC_PRU_U8_PCREL
  5269. PRU 8-bit unsigned relocation used for the LOOP instruction.
  5270. -- : BFD_RELOC_PRU_32_PMEM
  5271. -- : BFD_RELOC_PRU_16_PMEM
  5272. PRU Program Memory relocations. Used to convert from byte
  5273. addressing to 32-bit word addressing.
  5274. -- : BFD_RELOC_PRU_GNU_DIFF8
  5275. -- : BFD_RELOC_PRU_GNU_DIFF16
  5276. -- : BFD_RELOC_PRU_GNU_DIFF32
  5277. -- : BFD_RELOC_PRU_GNU_DIFF16_PMEM
  5278. -- : BFD_RELOC_PRU_GNU_DIFF32_PMEM
  5279. PRU relocations to mark the difference of two local symbols. These
  5280. are only needed to support linker relaxation and can be ignored
  5281. when not relaxing. The field is set to the value of the difference
  5282. assuming no relaxation. The relocation encodes the position of the
  5283. second symbol so the linker can determine whether to adjust the
  5284. field value. The PMEM variants encode the word difference, instead
  5285. of byte difference between symbols.
  5286. -- : BFD_RELOC_IQ2000_OFFSET_16
  5287. -- : BFD_RELOC_IQ2000_OFFSET_21
  5288. -- : BFD_RELOC_IQ2000_UHI16
  5289. IQ2000 Relocations.
  5290. -- : BFD_RELOC_XTENSA_RTLD
  5291. Special Xtensa relocation used only by PLT entries in ELF shared
  5292. objects to indicate that the runtime linker should set the value to
  5293. one of its own internal functions or data structures.
  5294. -- : BFD_RELOC_XTENSA_GLOB_DAT
  5295. -- : BFD_RELOC_XTENSA_JMP_SLOT
  5296. -- : BFD_RELOC_XTENSA_RELATIVE
  5297. Xtensa relocations for ELF shared objects.
  5298. -- : BFD_RELOC_XTENSA_PLT
  5299. Xtensa relocation used in ELF object files for symbols that may
  5300. require PLT entries. Otherwise, this is just a generic 32-bit
  5301. relocation.
  5302. -- : BFD_RELOC_XTENSA_DIFF8
  5303. -- : BFD_RELOC_XTENSA_DIFF16
  5304. -- : BFD_RELOC_XTENSA_DIFF32
  5305. Xtensa relocations to mark the difference of two local symbols.
  5306. These are only needed to support linker relaxation and can be
  5307. ignored when not relaxing. The field is set to the value of the
  5308. difference assuming no relaxation. The relocation encodes the
  5309. position of the first symbol so the linker can determine whether to
  5310. adjust the field value.
  5311. -- : BFD_RELOC_XTENSA_SLOT0_OP
  5312. -- : BFD_RELOC_XTENSA_SLOT1_OP
  5313. -- : BFD_RELOC_XTENSA_SLOT2_OP
  5314. -- : BFD_RELOC_XTENSA_SLOT3_OP
  5315. -- : BFD_RELOC_XTENSA_SLOT4_OP
  5316. -- : BFD_RELOC_XTENSA_SLOT5_OP
  5317. -- : BFD_RELOC_XTENSA_SLOT6_OP
  5318. -- : BFD_RELOC_XTENSA_SLOT7_OP
  5319. -- : BFD_RELOC_XTENSA_SLOT8_OP
  5320. -- : BFD_RELOC_XTENSA_SLOT9_OP
  5321. -- : BFD_RELOC_XTENSA_SLOT10_OP
  5322. -- : BFD_RELOC_XTENSA_SLOT11_OP
  5323. -- : BFD_RELOC_XTENSA_SLOT12_OP
  5324. -- : BFD_RELOC_XTENSA_SLOT13_OP
  5325. -- : BFD_RELOC_XTENSA_SLOT14_OP
  5326. Generic Xtensa relocations for instruction operands. Only the slot
  5327. number is encoded in the relocation. The relocation applies to the
  5328. last PC-relative immediate operand, or if there are no PC-relative
  5329. immediates, to the last immediate operand.
  5330. -- : BFD_RELOC_XTENSA_SLOT0_ALT
  5331. -- : BFD_RELOC_XTENSA_SLOT1_ALT
  5332. -- : BFD_RELOC_XTENSA_SLOT2_ALT
  5333. -- : BFD_RELOC_XTENSA_SLOT3_ALT
  5334. -- : BFD_RELOC_XTENSA_SLOT4_ALT
  5335. -- : BFD_RELOC_XTENSA_SLOT5_ALT
  5336. -- : BFD_RELOC_XTENSA_SLOT6_ALT
  5337. -- : BFD_RELOC_XTENSA_SLOT7_ALT
  5338. -- : BFD_RELOC_XTENSA_SLOT8_ALT
  5339. -- : BFD_RELOC_XTENSA_SLOT9_ALT
  5340. -- : BFD_RELOC_XTENSA_SLOT10_ALT
  5341. -- : BFD_RELOC_XTENSA_SLOT11_ALT
  5342. -- : BFD_RELOC_XTENSA_SLOT12_ALT
  5343. -- : BFD_RELOC_XTENSA_SLOT13_ALT
  5344. -- : BFD_RELOC_XTENSA_SLOT14_ALT
  5345. Alternate Xtensa relocations. Only the slot is encoded in the
  5346. relocation. The meaning of these relocations is opcode-specific.
  5347. -- : BFD_RELOC_XTENSA_OP0
  5348. -- : BFD_RELOC_XTENSA_OP1
  5349. -- : BFD_RELOC_XTENSA_OP2
  5350. Xtensa relocations for backward compatibility. These have all been
  5351. replaced by BFD_RELOC_XTENSA_SLOT0_OP.
  5352. -- : BFD_RELOC_XTENSA_ASM_EXPAND
  5353. Xtensa relocation to mark that the assembler expanded the
  5354. instructions from an original target. The expansion size is
  5355. encoded in the reloc size.
  5356. -- : BFD_RELOC_XTENSA_ASM_SIMPLIFY
  5357. Xtensa relocation to mark that the linker should simplify
  5358. assembler-expanded instructions. This is commonly used internally
  5359. by the linker after analysis of a BFD_RELOC_XTENSA_ASM_EXPAND.
  5360. -- : BFD_RELOC_XTENSA_TLSDESC_FN
  5361. -- : BFD_RELOC_XTENSA_TLSDESC_ARG
  5362. -- : BFD_RELOC_XTENSA_TLS_DTPOFF
  5363. -- : BFD_RELOC_XTENSA_TLS_TPOFF
  5364. -- : BFD_RELOC_XTENSA_TLS_FUNC
  5365. -- : BFD_RELOC_XTENSA_TLS_ARG
  5366. -- : BFD_RELOC_XTENSA_TLS_CALL
  5367. Xtensa TLS relocations.
  5368. -- : BFD_RELOC_Z80_DISP8
  5369. 8 bit signed offset in (ix+d) or (iy+d).
  5370. -- : BFD_RELOC_Z8K_DISP7
  5371. DJNZ offset.
  5372. -- : BFD_RELOC_Z8K_CALLR
  5373. CALR offset.
  5374. -- : BFD_RELOC_Z8K_IMM4L
  5375. 4 bit value.
  5376. -- : BFD_RELOC_LM32_CALL
  5377. -- : BFD_RELOC_LM32_BRANCH
  5378. -- : BFD_RELOC_LM32_16_GOT
  5379. -- : BFD_RELOC_LM32_GOTOFF_HI16
  5380. -- : BFD_RELOC_LM32_GOTOFF_LO16
  5381. -- : BFD_RELOC_LM32_COPY
  5382. -- : BFD_RELOC_LM32_GLOB_DAT
  5383. -- : BFD_RELOC_LM32_JMP_SLOT
  5384. -- : BFD_RELOC_LM32_RELATIVE
  5385. Lattice Mico32 relocations.
  5386. -- : BFD_RELOC_MACH_O_SECTDIFF
  5387. Difference between two section addreses. Must be followed by a
  5388. BFD_RELOC_MACH_O_PAIR.
  5389. -- : BFD_RELOC_MACH_O_LOCAL_SECTDIFF
  5390. Like BFD_RELOC_MACH_O_SECTDIFF but with a local symbol.
  5391. -- : BFD_RELOC_MACH_O_PAIR
  5392. Pair of relocation. Contains the first symbol.
  5393. -- : BFD_RELOC_MACH_O_SUBTRACTOR32
  5394. Symbol will be substracted. Must be followed by a BFD_RELOC_32.
  5395. -- : BFD_RELOC_MACH_O_SUBTRACTOR64
  5396. Symbol will be substracted. Must be followed by a BFD_RELOC_64.
  5397. -- : BFD_RELOC_MACH_O_X86_64_BRANCH32
  5398. -- : BFD_RELOC_MACH_O_X86_64_BRANCH8
  5399. PCREL relocations. They are marked as branch to create PLT entry
  5400. if required.
  5401. -- : BFD_RELOC_MACH_O_X86_64_GOT
  5402. Used when referencing a GOT entry.
  5403. -- : BFD_RELOC_MACH_O_X86_64_GOT_LOAD
  5404. Used when loading a GOT entry with movq. It is specially marked so
  5405. that the linker could optimize the movq to a leaq if possible.
  5406. -- : BFD_RELOC_MACH_O_X86_64_PCREL32_1
  5407. Same as BFD_RELOC_32_PCREL but with an implicit -1 addend.
  5408. -- : BFD_RELOC_MACH_O_X86_64_PCREL32_2
  5409. Same as BFD_RELOC_32_PCREL but with an implicit -2 addend.
  5410. -- : BFD_RELOC_MACH_O_X86_64_PCREL32_4
  5411. Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.
  5412. -- : BFD_RELOC_MACH_O_X86_64_TLV
  5413. Used when referencing a TLV entry.
  5414. -- : BFD_RELOC_MACH_O_ARM64_ADDEND
  5415. Addend for PAGE or PAGEOFF.
  5416. -- : BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21
  5417. Relative offset to page of GOT slot.
  5418. -- : BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12
  5419. Relative offset within page of GOT slot.
  5420. -- : BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT
  5421. Address of a GOT entry.
  5422. -- : BFD_RELOC_MICROBLAZE_32_LO
  5423. This is a 32 bit reloc for the microblaze that stores the low 16
  5424. bits of a value
  5425. -- : BFD_RELOC_MICROBLAZE_32_LO_PCREL
  5426. This is a 32 bit pc-relative reloc for the microblaze that stores
  5427. the low 16 bits of a value
  5428. -- : BFD_RELOC_MICROBLAZE_32_ROSDA
  5429. This is a 32 bit reloc for the microblaze that stores a value
  5430. relative to the read-only small data area anchor
  5431. -- : BFD_RELOC_MICROBLAZE_32_RWSDA
  5432. This is a 32 bit reloc for the microblaze that stores a value
  5433. relative to the read-write small data area anchor
  5434. -- : BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM
  5435. This is a 32 bit reloc for the microblaze to handle expressions of
  5436. the form "Symbol Op Symbol"
  5437. -- : BFD_RELOC_MICROBLAZE_64_NONE
  5438. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5439. two words (with an imm instruction). No relocation is done here -
  5440. only used for relaxing
  5441. -- : BFD_RELOC_MICROBLAZE_64_GOTPC
  5442. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5443. two words (with an imm instruction). The relocation is PC-relative
  5444. GOT offset
  5445. -- : BFD_RELOC_MICROBLAZE_64_GOT
  5446. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5447. two words (with an imm instruction). The relocation is GOT offset
  5448. -- : BFD_RELOC_MICROBLAZE_64_PLT
  5449. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5450. two words (with an imm instruction). The relocation is PC-relative
  5451. offset into PLT
  5452. -- : BFD_RELOC_MICROBLAZE_64_GOTOFF
  5453. This is a 64 bit reloc that stores the 32 bit GOT relative value in
  5454. two words (with an imm instruction). The relocation is relative
  5455. offset from _GLOBAL_OFFSET_TABLE_
  5456. -- : BFD_RELOC_MICROBLAZE_32_GOTOFF
  5457. This is a 32 bit reloc that stores the 32 bit GOT relative value in
  5458. a word. The relocation is relative offset from
  5459. -- : BFD_RELOC_MICROBLAZE_COPY
  5460. This is used to tell the dynamic linker to copy the value out of
  5461. the dynamic object into the runtime process image.
  5462. -- : BFD_RELOC_MICROBLAZE_64_TLS
  5463. Unused Reloc
  5464. -- : BFD_RELOC_MICROBLAZE_64_TLSGD
  5465. This is a 64 bit reloc that stores the 32 bit GOT relative value of
  5466. the GOT TLS GD info entry in two words (with an imm instruction).
  5467. The relocation is GOT offset.
  5468. -- : BFD_RELOC_MICROBLAZE_64_TLSLD
  5469. This is a 64 bit reloc that stores the 32 bit GOT relative value of
  5470. the GOT TLS LD info entry in two words (with an imm instruction).
  5471. The relocation is GOT offset.
  5472. -- : BFD_RELOC_MICROBLAZE_32_TLSDTPMOD
  5473. This is a 32 bit reloc that stores the Module ID to GOT(n).
  5474. -- : BFD_RELOC_MICROBLAZE_32_TLSDTPREL
  5475. This is a 32 bit reloc that stores TLS offset to GOT(n+1).
  5476. -- : BFD_RELOC_MICROBLAZE_64_TLSDTPREL
  5477. This is a 32 bit reloc for storing TLS offset to two words (uses
  5478. imm instruction)
  5479. -- : BFD_RELOC_MICROBLAZE_64_TLSGOTTPREL
  5480. This is a 64 bit reloc that stores 32-bit thread pointer relative
  5481. offset to two words (uses imm instruction).
  5482. -- : BFD_RELOC_MICROBLAZE_64_TLSTPREL
  5483. This is a 64 bit reloc that stores 32-bit thread pointer relative
  5484. offset to two words (uses imm instruction).
  5485. -- : BFD_RELOC_MICROBLAZE_64_TEXTPCREL
  5486. This is a 64 bit reloc that stores the 32 bit pc relative value in
  5487. two words (with an imm instruction). The relocation is PC-relative
  5488. offset from start of TEXT.
  5489. -- : BFD_RELOC_MICROBLAZE_64_TEXTREL
  5490. This is a 64 bit reloc that stores the 32 bit offset value in two
  5491. words (with an imm instruction). The relocation is relative offset
  5492. from start of TEXT.
  5493. -- : BFD_RELOC_AARCH64_RELOC_START
  5494. AArch64 pseudo relocation code to mark the start of the AArch64
  5495. relocation enumerators. N.B. the order of the enumerators is
  5496. important as several tables in the AArch64 bfd backend are indexed
  5497. by these enumerators; make sure they are all synced.
  5498. -- : BFD_RELOC_AARCH64_NULL
  5499. Deprecated AArch64 null relocation code.
  5500. -- : BFD_RELOC_AARCH64_NONE
  5501. AArch64 null relocation code.
  5502. -- : BFD_RELOC_AARCH64_64
  5503. -- : BFD_RELOC_AARCH64_32
  5504. -- : BFD_RELOC_AARCH64_16
  5505. Basic absolute relocations of N bits. These are equivalent to
  5506. BFD_RELOC_N and they were added to assist the indexing of the howto
  5507. table.
  5508. -- : BFD_RELOC_AARCH64_64_PCREL
  5509. -- : BFD_RELOC_AARCH64_32_PCREL
  5510. -- : BFD_RELOC_AARCH64_16_PCREL
  5511. PC-relative relocations. These are equivalent to BFD_RELOC_N_PCREL
  5512. and they were added to assist the indexing of the howto table.
  5513. -- : BFD_RELOC_AARCH64_MOVW_G0
  5514. AArch64 MOV[NZK] instruction with most significant bits 0 to 15 of
  5515. an unsigned address/value.
  5516. -- : BFD_RELOC_AARCH64_MOVW_G0_NC
  5517. AArch64 MOV[NZK] instruction with less significant bits 0 to 15 of
  5518. an address/value. No overflow checking.
  5519. -- : BFD_RELOC_AARCH64_MOVW_G1
  5520. AArch64 MOV[NZK] instruction with most significant bits 16 to 31 of
  5521. an unsigned address/value.
  5522. -- : BFD_RELOC_AARCH64_MOVW_G1_NC
  5523. AArch64 MOV[NZK] instruction with less significant bits 16 to 31 of
  5524. an address/value. No overflow checking.
  5525. -- : BFD_RELOC_AARCH64_MOVW_G2
  5526. AArch64 MOV[NZK] instruction with most significant bits 32 to 47 of
  5527. an unsigned address/value.
  5528. -- : BFD_RELOC_AARCH64_MOVW_G2_NC
  5529. AArch64 MOV[NZK] instruction with less significant bits 32 to 47 of
  5530. an address/value. No overflow checking.
  5531. -- : BFD_RELOC_AARCH64_MOVW_G3
  5532. AArch64 MOV[NZK] instruction with most signficant bits 48 to 64 of
  5533. a signed or unsigned address/value.
  5534. -- : BFD_RELOC_AARCH64_MOVW_G0_S
  5535. AArch64 MOV[NZ] instruction with most significant bits 0 to 15 of a
  5536. signed value. Changes instruction to MOVZ or MOVN depending on the
  5537. value's sign.
  5538. -- : BFD_RELOC_AARCH64_MOVW_G1_S
  5539. AArch64 MOV[NZ] instruction with most significant bits 16 to 31 of
  5540. a signed value. Changes instruction to MOVZ or MOVN depending on
  5541. the value's sign.
  5542. -- : BFD_RELOC_AARCH64_MOVW_G2_S
  5543. AArch64 MOV[NZ] instruction with most significant bits 32 to 47 of
  5544. a signed value. Changes instruction to MOVZ or MOVN depending on
  5545. the value's sign.
  5546. -- : BFD_RELOC_AARCH64_MOVW_PREL_G0
  5547. AArch64 MOV[NZ] instruction with most significant bits 0 to 15 of a
  5548. signed value. Changes instruction to MOVZ or MOVN depending on the
  5549. value's sign.
  5550. -- : BFD_RELOC_AARCH64_MOVW_PREL_G0_NC
  5551. AArch64 MOV[NZ] instruction with most significant bits 0 to 15 of a
  5552. signed value. Changes instruction to MOVZ or MOVN depending on the
  5553. value's sign.
  5554. -- : BFD_RELOC_AARCH64_MOVW_PREL_G1
  5555. AArch64 MOVK instruction with most significant bits 16 to 31 of a
  5556. signed value.
  5557. -- : BFD_RELOC_AARCH64_MOVW_PREL_G1_NC
  5558. AArch64 MOVK instruction with most significant bits 16 to 31 of a
  5559. signed value.
  5560. -- : BFD_RELOC_AARCH64_MOVW_PREL_G2
  5561. AArch64 MOVK instruction with most significant bits 32 to 47 of a
  5562. signed value.
  5563. -- : BFD_RELOC_AARCH64_MOVW_PREL_G2_NC
  5564. AArch64 MOVK instruction with most significant bits 32 to 47 of a
  5565. signed value.
  5566. -- : BFD_RELOC_AARCH64_MOVW_PREL_G3
  5567. AArch64 MOVK instruction with most significant bits 47 to 63 of a
  5568. signed value.
  5569. -- : BFD_RELOC_AARCH64_LD_LO19_PCREL
  5570. AArch64 Load Literal instruction, holding a 19 bit pc-relative word
  5571. offset. The lowest two bits must be zero and are not stored in the
  5572. instruction, giving a 21 bit signed byte offset.
  5573. -- : BFD_RELOC_AARCH64_ADR_LO21_PCREL
  5574. AArch64 ADR instruction, holding a simple 21 bit pc-relative byte
  5575. offset.
  5576. -- : BFD_RELOC_AARCH64_ADR_HI21_PCREL
  5577. AArch64 ADRP instruction, with bits 12 to 32 of a pc-relative page
  5578. offset, giving a 4KB aligned page base address.
  5579. -- : BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL
  5580. AArch64 ADRP instruction, with bits 12 to 32 of a pc-relative page
  5581. offset, giving a 4KB aligned page base address, but with no
  5582. overflow checking.
  5583. -- : BFD_RELOC_AARCH64_ADD_LO12
  5584. AArch64 ADD immediate instruction, holding bits 0 to 11 of the
  5585. address. Used in conjunction with
  5586. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5587. -- : BFD_RELOC_AARCH64_LDST8_LO12
  5588. AArch64 8-bit load/store instruction, holding bits 0 to 11 of the
  5589. address. Used in conjunction with
  5590. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5591. -- : BFD_RELOC_AARCH64_TSTBR14
  5592. AArch64 14 bit pc-relative test bit and branch. The lowest two
  5593. bits must be zero and are not stored in the instruction, giving a
  5594. 16 bit signed byte offset.
  5595. -- : BFD_RELOC_AARCH64_BRANCH19
  5596. AArch64 19 bit pc-relative conditional branch and compare & branch.
  5597. The lowest two bits must be zero and are not stored in the
  5598. instruction, giving a 21 bit signed byte offset.
  5599. -- : BFD_RELOC_AARCH64_JUMP26
  5600. AArch64 26 bit pc-relative unconditional branch. The lowest two
  5601. bits must be zero and are not stored in the instruction, giving a
  5602. 28 bit signed byte offset.
  5603. -- : BFD_RELOC_AARCH64_CALL26
  5604. AArch64 26 bit pc-relative unconditional branch and link. The
  5605. lowest two bits must be zero and are not stored in the instruction,
  5606. giving a 28 bit signed byte offset.
  5607. -- : BFD_RELOC_AARCH64_LDST16_LO12
  5608. AArch64 16-bit load/store instruction, holding bits 0 to 11 of the
  5609. address. Used in conjunction with
  5610. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5611. -- : BFD_RELOC_AARCH64_LDST32_LO12
  5612. AArch64 32-bit load/store instruction, holding bits 0 to 11 of the
  5613. address. Used in conjunction with
  5614. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5615. -- : BFD_RELOC_AARCH64_LDST64_LO12
  5616. AArch64 64-bit load/store instruction, holding bits 0 to 11 of the
  5617. address. Used in conjunction with
  5618. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5619. -- : BFD_RELOC_AARCH64_LDST128_LO12
  5620. AArch64 128-bit load/store instruction, holding bits 0 to 11 of the
  5621. address. Used in conjunction with
  5622. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5623. -- : BFD_RELOC_AARCH64_GOT_LD_PREL19
  5624. AArch64 Load Literal instruction, holding a 19 bit PC relative word
  5625. offset of the global offset table entry for a symbol. The lowest
  5626. two bits must be zero and are not stored in the instruction, giving
  5627. a 21 bit signed byte offset. This relocation type requires signed
  5628. overflow checking.
  5629. -- : BFD_RELOC_AARCH64_ADR_GOT_PAGE
  5630. Get to the page base of the global offset table entry for a symbol
  5631. as part of an ADRP instruction using a 21 bit PC relative
  5632. value.Used in conjunction with BFD_RELOC_AARCH64_LD64_GOT_LO12_NC.
  5633. -- : BFD_RELOC_AARCH64_LD64_GOT_LO12_NC
  5634. Unsigned 12 bit byte offset for 64 bit load/store from the page of
  5635. the GOT entry for this symbol. Used in conjunction with
  5636. BFD_RELOC_AARCH64_ADR_GOT_PAGE. Valid in LP64 ABI only.
  5637. -- : BFD_RELOC_AARCH64_LD32_GOT_LO12_NC
  5638. Unsigned 12 bit byte offset for 32 bit load/store from the page of
  5639. the GOT entry for this symbol. Used in conjunction with
  5640. BFD_RELOC_AARCH64_ADR_GOT_PAGE. Valid in ILP32 ABI only.
  5641. -- : BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC
  5642. Unsigned 16 bit byte offset for 64 bit load/store from the GOT
  5643. entry for this symbol. Valid in LP64 ABI only.
  5644. -- : BFD_RELOC_AARCH64_MOVW_GOTOFF_G1
  5645. Unsigned 16 bit byte higher offset for 64 bit load/store from the
  5646. GOT entry for this symbol. Valid in LP64 ABI only.
  5647. -- : BFD_RELOC_AARCH64_LD64_GOTOFF_LO15
  5648. Unsigned 15 bit byte offset for 64 bit load/store from the page of
  5649. the GOT entry for this symbol. Valid in LP64 ABI only.
  5650. -- : BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14
  5651. Scaled 14 bit byte offset to the page base of the global offset
  5652. table.
  5653. -- : BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15
  5654. Scaled 15 bit byte offset to the page base of the global offset
  5655. table.
  5656. -- : BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21
  5657. Get to the page base of the global offset table entry for a symbols
  5658. tls_index structure as part of an adrp instruction using a 21 bit
  5659. PC relative value. Used in conjunction with
  5660. BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC.
  5661. -- : BFD_RELOC_AARCH64_TLSGD_ADR_PREL21
  5662. AArch64 TLS General Dynamic
  5663. -- : BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC
  5664. Unsigned 12 bit byte offset to global offset table entry for a
  5665. symbols tls_index structure. Used in conjunction with
  5666. BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21.
  5667. -- : BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC
  5668. AArch64 TLS General Dynamic relocation.
  5669. -- : BFD_RELOC_AARCH64_TLSGD_MOVW_G1
  5670. AArch64 TLS General Dynamic relocation.
  5671. -- : BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21
  5672. AArch64 TLS INITIAL EXEC relocation.
  5673. -- : BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC
  5674. AArch64 TLS INITIAL EXEC relocation.
  5675. -- : BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC
  5676. AArch64 TLS INITIAL EXEC relocation.
  5677. -- : BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19
  5678. AArch64 TLS INITIAL EXEC relocation.
  5679. -- : BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC
  5680. AArch64 TLS INITIAL EXEC relocation.
  5681. -- : BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1
  5682. AArch64 TLS INITIAL EXEC relocation.
  5683. -- : BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12
  5684. bit[23:12] of byte offset to module TLS base address.
  5685. -- : BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12
  5686. Unsigned 12 bit byte offset to module TLS base address.
  5687. -- : BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC
  5688. No overflow check version of
  5689. BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
  5690. -- : BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC
  5691. Unsigned 12 bit byte offset to global offset table entry for a
  5692. symbols tls_index structure. Used in conjunction with
  5693. BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
  5694. -- : BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21
  5695. GOT entry page address for AArch64 TLS Local Dynamic, used with
  5696. ADRP instruction.
  5697. -- : BFD_RELOC_AARCH64_TLSLD_ADR_PREL21
  5698. GOT entry address for AArch64 TLS Local Dynamic, used with ADR
  5699. instruction.
  5700. -- : BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12
  5701. bit[11:1] of byte offset to module TLS base address, encoded in
  5702. ldst instructions.
  5703. -- : BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC
  5704. Similar as BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12, but no
  5705. overflow check.
  5706. -- : BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12
  5707. bit[11:2] of byte offset to module TLS base address, encoded in
  5708. ldst instructions.
  5709. -- : BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC
  5710. Similar as BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12, but no
  5711. overflow check.
  5712. -- : BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12
  5713. bit[11:3] of byte offset to module TLS base address, encoded in
  5714. ldst instructions.
  5715. -- : BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC
  5716. Similar as BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12, but no
  5717. overflow check.
  5718. -- : BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12
  5719. bit[11:0] of byte offset to module TLS base address, encoded in
  5720. ldst instructions.
  5721. -- : BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC
  5722. Similar as BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12, but no
  5723. overflow check.
  5724. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0
  5725. bit[15:0] of byte offset to module TLS base address.
  5726. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC
  5727. No overflow check version of BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0
  5728. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1
  5729. bit[31:16] of byte offset to module TLS base address.
  5730. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC
  5731. No overflow check version of BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1
  5732. -- : BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2
  5733. bit[47:32] of byte offset to module TLS base address.
  5734. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2
  5735. AArch64 TLS LOCAL EXEC relocation.
  5736. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1
  5737. AArch64 TLS LOCAL EXEC relocation.
  5738. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC
  5739. AArch64 TLS LOCAL EXEC relocation.
  5740. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0
  5741. AArch64 TLS LOCAL EXEC relocation.
  5742. -- : BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC
  5743. AArch64 TLS LOCAL EXEC relocation.
  5744. -- : BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12
  5745. AArch64 TLS LOCAL EXEC relocation.
  5746. -- : BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12
  5747. AArch64 TLS LOCAL EXEC relocation.
  5748. -- : BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC
  5749. AArch64 TLS LOCAL EXEC relocation.
  5750. -- : BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12
  5751. bit[11:1] of byte offset to module TLS base address, encoded in
  5752. ldst instructions.
  5753. -- : BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC
  5754. Similar as BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12, but no
  5755. overflow check.
  5756. -- : BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12
  5757. bit[11:2] of byte offset to module TLS base address, encoded in
  5758. ldst instructions.
  5759. -- : BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC
  5760. Similar as BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12, but no
  5761. overflow check.
  5762. -- : BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12
  5763. bit[11:3] of byte offset to module TLS base address, encoded in
  5764. ldst instructions.
  5765. -- : BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC
  5766. Similar as BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12, but no
  5767. overflow check.
  5768. -- : BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12
  5769. bit[11:0] of byte offset to module TLS base address, encoded in
  5770. ldst instructions.
  5771. -- : BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC
  5772. Similar as BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12, but no
  5773. overflow check.
  5774. -- : BFD_RELOC_AARCH64_TLSDESC_LD_PREL19
  5775. AArch64 TLS DESC relocation.
  5776. -- : BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21
  5777. AArch64 TLS DESC relocation.
  5778. -- : BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21
  5779. AArch64 TLS DESC relocation.
  5780. -- : BFD_RELOC_AARCH64_TLSDESC_LD64_LO12
  5781. AArch64 TLS DESC relocation.
  5782. -- : BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC
  5783. AArch64 TLS DESC relocation.
  5784. -- : BFD_RELOC_AARCH64_TLSDESC_ADD_LO12
  5785. AArch64 TLS DESC relocation.
  5786. -- : BFD_RELOC_AARCH64_TLSDESC_OFF_G1
  5787. AArch64 TLS DESC relocation.
  5788. -- : BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC
  5789. AArch64 TLS DESC relocation.
  5790. -- : BFD_RELOC_AARCH64_TLSDESC_LDR
  5791. AArch64 TLS DESC relocation.
  5792. -- : BFD_RELOC_AARCH64_TLSDESC_ADD
  5793. AArch64 TLS DESC relocation.
  5794. -- : BFD_RELOC_AARCH64_TLSDESC_CALL
  5795. AArch64 TLS DESC relocation.
  5796. -- : BFD_RELOC_AARCH64_COPY
  5797. AArch64 TLS relocation.
  5798. -- : BFD_RELOC_AARCH64_GLOB_DAT
  5799. AArch64 TLS relocation.
  5800. -- : BFD_RELOC_AARCH64_JUMP_SLOT
  5801. AArch64 TLS relocation.
  5802. -- : BFD_RELOC_AARCH64_RELATIVE
  5803. AArch64 TLS relocation.
  5804. -- : BFD_RELOC_AARCH64_TLS_DTPMOD
  5805. AArch64 TLS relocation.
  5806. -- : BFD_RELOC_AARCH64_TLS_DTPREL
  5807. AArch64 TLS relocation.
  5808. -- : BFD_RELOC_AARCH64_TLS_TPREL
  5809. AArch64 TLS relocation.
  5810. -- : BFD_RELOC_AARCH64_TLSDESC
  5811. AArch64 TLS relocation.
  5812. -- : BFD_RELOC_AARCH64_IRELATIVE
  5813. AArch64 support for STT_GNU_IFUNC.
  5814. -- : BFD_RELOC_AARCH64_RELOC_END
  5815. AArch64 pseudo relocation code to mark the end of the AArch64
  5816. relocation enumerators that have direct mapping to ELF reloc codes.
  5817. There are a few more enumerators after this one; those are mainly
  5818. used by the AArch64 assembler for the internal fixup or to select
  5819. one of the above enumerators.
  5820. -- : BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP
  5821. AArch64 pseudo relocation code to be used internally by the AArch64
  5822. assembler and not (currently) written to any object files.
  5823. -- : BFD_RELOC_AARCH64_LDST_LO12
  5824. AArch64 unspecified load/store instruction, holding bits 0 to 11 of
  5825. the address. Used in conjunction with
  5826. BFD_RELOC_AARCH64_ADR_HI21_PCREL.
  5827. -- : BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12
  5828. AArch64 pseudo relocation code for TLS local dynamic mode. It's to
  5829. be used internally by the AArch64 assembler and not (currently)
  5830. written to any object files.
  5831. -- : BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12_NC
  5832. Similar as BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12, but no
  5833. overflow check.
  5834. -- : BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12
  5835. AArch64 pseudo relocation code for TLS local exec mode. It's to be
  5836. used internally by the AArch64 assembler and not (currently)
  5837. written to any object files.
  5838. -- : BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC
  5839. Similar as BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12, but no overflow
  5840. check.
  5841. -- : BFD_RELOC_AARCH64_LD_GOT_LO12_NC
  5842. AArch64 pseudo relocation code to be used internally by the AArch64
  5843. assembler and not (currently) written to any object files.
  5844. -- : BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC
  5845. AArch64 pseudo relocation code to be used internally by the AArch64
  5846. assembler and not (currently) written to any object files.
  5847. -- : BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC
  5848. AArch64 pseudo relocation code to be used internally by the AArch64
  5849. assembler and not (currently) written to any object files.
  5850. -- : BFD_RELOC_TILEPRO_COPY
  5851. -- : BFD_RELOC_TILEPRO_GLOB_DAT
  5852. -- : BFD_RELOC_TILEPRO_JMP_SLOT
  5853. -- : BFD_RELOC_TILEPRO_RELATIVE
  5854. -- : BFD_RELOC_TILEPRO_BROFF_X1
  5855. -- : BFD_RELOC_TILEPRO_JOFFLONG_X1
  5856. -- : BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT
  5857. -- : BFD_RELOC_TILEPRO_IMM8_X0
  5858. -- : BFD_RELOC_TILEPRO_IMM8_Y0
  5859. -- : BFD_RELOC_TILEPRO_IMM8_X1
  5860. -- : BFD_RELOC_TILEPRO_IMM8_Y1
  5861. -- : BFD_RELOC_TILEPRO_DEST_IMM8_X1
  5862. -- : BFD_RELOC_TILEPRO_MT_IMM15_X1
  5863. -- : BFD_RELOC_TILEPRO_MF_IMM15_X1
  5864. -- : BFD_RELOC_TILEPRO_IMM16_X0
  5865. -- : BFD_RELOC_TILEPRO_IMM16_X1
  5866. -- : BFD_RELOC_TILEPRO_IMM16_X0_LO
  5867. -- : BFD_RELOC_TILEPRO_IMM16_X1_LO
  5868. -- : BFD_RELOC_TILEPRO_IMM16_X0_HI
  5869. -- : BFD_RELOC_TILEPRO_IMM16_X1_HI
  5870. -- : BFD_RELOC_TILEPRO_IMM16_X0_HA
  5871. -- : BFD_RELOC_TILEPRO_IMM16_X1_HA
  5872. -- : BFD_RELOC_TILEPRO_IMM16_X0_PCREL
  5873. -- : BFD_RELOC_TILEPRO_IMM16_X1_PCREL
  5874. -- : BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL
  5875. -- : BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL
  5876. -- : BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL
  5877. -- : BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL
  5878. -- : BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL
  5879. -- : BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL
  5880. -- : BFD_RELOC_TILEPRO_IMM16_X0_GOT
  5881. -- : BFD_RELOC_TILEPRO_IMM16_X1_GOT
  5882. -- : BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO
  5883. -- : BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO
  5884. -- : BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI
  5885. -- : BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI
  5886. -- : BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA
  5887. -- : BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA
  5888. -- : BFD_RELOC_TILEPRO_MMSTART_X0
  5889. -- : BFD_RELOC_TILEPRO_MMEND_X0
  5890. -- : BFD_RELOC_TILEPRO_MMSTART_X1
  5891. -- : BFD_RELOC_TILEPRO_MMEND_X1
  5892. -- : BFD_RELOC_TILEPRO_SHAMT_X0
  5893. -- : BFD_RELOC_TILEPRO_SHAMT_X1
  5894. -- : BFD_RELOC_TILEPRO_SHAMT_Y0
  5895. -- : BFD_RELOC_TILEPRO_SHAMT_Y1
  5896. -- : BFD_RELOC_TILEPRO_TLS_GD_CALL
  5897. -- : BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD
  5898. -- : BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD
  5899. -- : BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD
  5900. -- : BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD
  5901. -- : BFD_RELOC_TILEPRO_TLS_IE_LOAD
  5902. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD
  5903. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD
  5904. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO
  5905. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO
  5906. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI
  5907. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI
  5908. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA
  5909. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA
  5910. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE
  5911. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE
  5912. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO
  5913. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO
  5914. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI
  5915. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI
  5916. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA
  5917. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA
  5918. -- : BFD_RELOC_TILEPRO_TLS_DTPMOD32
  5919. -- : BFD_RELOC_TILEPRO_TLS_DTPOFF32
  5920. -- : BFD_RELOC_TILEPRO_TLS_TPOFF32
  5921. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE
  5922. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE
  5923. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO
  5924. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO
  5925. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI
  5926. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI
  5927. -- : BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA
  5928. -- : BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA
  5929. Tilera TILEPro Relocations.
  5930. -- : BFD_RELOC_TILEGX_HW0
  5931. -- : BFD_RELOC_TILEGX_HW1
  5932. -- : BFD_RELOC_TILEGX_HW2
  5933. -- : BFD_RELOC_TILEGX_HW3
  5934. -- : BFD_RELOC_TILEGX_HW0_LAST
  5935. -- : BFD_RELOC_TILEGX_HW1_LAST
  5936. -- : BFD_RELOC_TILEGX_HW2_LAST
  5937. -- : BFD_RELOC_TILEGX_COPY
  5938. -- : BFD_RELOC_TILEGX_GLOB_DAT
  5939. -- : BFD_RELOC_TILEGX_JMP_SLOT
  5940. -- : BFD_RELOC_TILEGX_RELATIVE
  5941. -- : BFD_RELOC_TILEGX_BROFF_X1
  5942. -- : BFD_RELOC_TILEGX_JUMPOFF_X1
  5943. -- : BFD_RELOC_TILEGX_JUMPOFF_X1_PLT
  5944. -- : BFD_RELOC_TILEGX_IMM8_X0
  5945. -- : BFD_RELOC_TILEGX_IMM8_Y0
  5946. -- : BFD_RELOC_TILEGX_IMM8_X1
  5947. -- : BFD_RELOC_TILEGX_IMM8_Y1
  5948. -- : BFD_RELOC_TILEGX_DEST_IMM8_X1
  5949. -- : BFD_RELOC_TILEGX_MT_IMM14_X1
  5950. -- : BFD_RELOC_TILEGX_MF_IMM14_X1
  5951. -- : BFD_RELOC_TILEGX_MMSTART_X0
  5952. -- : BFD_RELOC_TILEGX_MMEND_X0
  5953. -- : BFD_RELOC_TILEGX_SHAMT_X0
  5954. -- : BFD_RELOC_TILEGX_SHAMT_X1
  5955. -- : BFD_RELOC_TILEGX_SHAMT_Y0
  5956. -- : BFD_RELOC_TILEGX_SHAMT_Y1
  5957. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0
  5958. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0
  5959. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1
  5960. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1
  5961. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2
  5962. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2
  5963. -- : BFD_RELOC_TILEGX_IMM16_X0_HW3
  5964. -- : BFD_RELOC_TILEGX_IMM16_X1_HW3
  5965. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST
  5966. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST
  5967. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST
  5968. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST
  5969. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST
  5970. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST
  5971. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL
  5972. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL
  5973. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL
  5974. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL
  5975. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL
  5976. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL
  5977. -- : BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL
  5978. -- : BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL
  5979. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL
  5980. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL
  5981. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL
  5982. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL
  5983. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL
  5984. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL
  5985. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT
  5986. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT
  5987. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL
  5988. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL
  5989. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL
  5990. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL
  5991. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL
  5992. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL
  5993. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT
  5994. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT
  5995. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT
  5996. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT
  5997. -- : BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL
  5998. -- : BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL
  5999. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD
  6000. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD
  6001. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE
  6002. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE
  6003. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE
  6004. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE
  6005. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE
  6006. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE
  6007. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD
  6008. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD
  6009. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD
  6010. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD
  6011. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE
  6012. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE
  6013. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL
  6014. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL
  6015. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL
  6016. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL
  6017. -- : BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL
  6018. -- : BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL
  6019. -- : BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE
  6020. -- : BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE
  6021. -- : BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE
  6022. -- : BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE
  6023. -- : BFD_RELOC_TILEGX_TLS_DTPMOD64
  6024. -- : BFD_RELOC_TILEGX_TLS_DTPOFF64
  6025. -- : BFD_RELOC_TILEGX_TLS_TPOFF64
  6026. -- : BFD_RELOC_TILEGX_TLS_DTPMOD32
  6027. -- : BFD_RELOC_TILEGX_TLS_DTPOFF32
  6028. -- : BFD_RELOC_TILEGX_TLS_TPOFF32
  6029. -- : BFD_RELOC_TILEGX_TLS_GD_CALL
  6030. -- : BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD
  6031. -- : BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD
  6032. -- : BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD
  6033. -- : BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD
  6034. -- : BFD_RELOC_TILEGX_TLS_IE_LOAD
  6035. -- : BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD
  6036. -- : BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD
  6037. -- : BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD
  6038. -- : BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD
  6039. Tilera TILE-Gx Relocations.
  6040. -- : BFD_RELOC_EPIPHANY_SIMM8
  6041. Adapteva EPIPHANY - 8 bit signed pc-relative displacement
  6042. -- : BFD_RELOC_EPIPHANY_SIMM24
  6043. Adapteva EPIPHANY - 24 bit signed pc-relative displacement
  6044. -- : BFD_RELOC_EPIPHANY_HIGH
  6045. Adapteva EPIPHANY - 16 most-significant bits of absolute address
  6046. -- : BFD_RELOC_EPIPHANY_LOW
  6047. Adapteva EPIPHANY - 16 least-significant bits of absolute address
  6048. -- : BFD_RELOC_EPIPHANY_SIMM11
  6049. Adapteva EPIPHANY - 11 bit signed number - add/sub immediate
  6050. -- : BFD_RELOC_EPIPHANY_IMM11
  6051. Adapteva EPIPHANY - 11 bit sign-magnitude number (ld/st
  6052. displacement)
  6053. -- : BFD_RELOC_EPIPHANY_IMM8
  6054. Adapteva EPIPHANY - 8 bit immediate for 16 bit mov instruction.
  6055. -- : BFD_RELOC_VISIUM_HI16
  6056. -- : BFD_RELOC_VISIUM_LO16
  6057. -- : BFD_RELOC_VISIUM_IM16
  6058. -- : BFD_RELOC_VISIUM_REL16
  6059. -- : BFD_RELOC_VISIUM_HI16_PCREL
  6060. -- : BFD_RELOC_VISIUM_LO16_PCREL
  6061. -- : BFD_RELOC_VISIUM_IM16_PCREL
  6062. Visium Relocations.
  6063. -- : BFD_RELOC_WASM32_LEB128
  6064. -- : BFD_RELOC_WASM32_LEB128_GOT
  6065. -- : BFD_RELOC_WASM32_LEB128_GOT_CODE
  6066. -- : BFD_RELOC_WASM32_LEB128_PLT
  6067. -- : BFD_RELOC_WASM32_PLT_INDEX
  6068. -- : BFD_RELOC_WASM32_ABS32_CODE
  6069. -- : BFD_RELOC_WASM32_COPY
  6070. -- : BFD_RELOC_WASM32_CODE_POINTER
  6071. -- : BFD_RELOC_WASM32_INDEX
  6072. -- : BFD_RELOC_WASM32_PLT_SIG
  6073. WebAssembly relocations.
  6074. -- : BFD_RELOC_CKCORE_NONE
  6075. -- : BFD_RELOC_CKCORE_ADDR32
  6076. -- : BFD_RELOC_CKCORE_PCREL_IMM8BY4
  6077. -- : BFD_RELOC_CKCORE_PCREL_IMM11BY2
  6078. -- : BFD_RELOC_CKCORE_PCREL_IMM4BY2
  6079. -- : BFD_RELOC_CKCORE_PCREL32
  6080. -- : BFD_RELOC_CKCORE_PCREL_JSR_IMM11BY2
  6081. -- : BFD_RELOC_CKCORE_GNU_VTINHERIT
  6082. -- : BFD_RELOC_CKCORE_GNU_VTENTRY
  6083. -- : BFD_RELOC_CKCORE_RELATIVE
  6084. -- : BFD_RELOC_CKCORE_COPY
  6085. -- : BFD_RELOC_CKCORE_GLOB_DAT
  6086. -- : BFD_RELOC_CKCORE_JUMP_SLOT
  6087. -- : BFD_RELOC_CKCORE_GOTOFF
  6088. -- : BFD_RELOC_CKCORE_GOTPC
  6089. -- : BFD_RELOC_CKCORE_GOT32
  6090. -- : BFD_RELOC_CKCORE_PLT32
  6091. -- : BFD_RELOC_CKCORE_ADDRGOT
  6092. -- : BFD_RELOC_CKCORE_ADDRPLT
  6093. -- : BFD_RELOC_CKCORE_PCREL_IMM26BY2
  6094. -- : BFD_RELOC_CKCORE_PCREL_IMM16BY2
  6095. -- : BFD_RELOC_CKCORE_PCREL_IMM16BY4
  6096. -- : BFD_RELOC_CKCORE_PCREL_IMM10BY2
  6097. -- : BFD_RELOC_CKCORE_PCREL_IMM10BY4
  6098. -- : BFD_RELOC_CKCORE_ADDR_HI16
  6099. -- : BFD_RELOC_CKCORE_ADDR_LO16
  6100. -- : BFD_RELOC_CKCORE_GOTPC_HI16
  6101. -- : BFD_RELOC_CKCORE_GOTPC_LO16
  6102. -- : BFD_RELOC_CKCORE_GOTOFF_HI16
  6103. -- : BFD_RELOC_CKCORE_GOTOFF_LO16
  6104. -- : BFD_RELOC_CKCORE_GOT12
  6105. -- : BFD_RELOC_CKCORE_GOT_HI16
  6106. -- : BFD_RELOC_CKCORE_GOT_LO16
  6107. -- : BFD_RELOC_CKCORE_PLT12
  6108. -- : BFD_RELOC_CKCORE_PLT_HI16
  6109. -- : BFD_RELOC_CKCORE_PLT_LO16
  6110. -- : BFD_RELOC_CKCORE_ADDRGOT_HI16
  6111. -- : BFD_RELOC_CKCORE_ADDRGOT_LO16
  6112. -- : BFD_RELOC_CKCORE_ADDRPLT_HI16
  6113. -- : BFD_RELOC_CKCORE_ADDRPLT_LO16
  6114. -- : BFD_RELOC_CKCORE_PCREL_JSR_IMM26BY2
  6115. -- : BFD_RELOC_CKCORE_TOFFSET_LO16
  6116. -- : BFD_RELOC_CKCORE_DOFFSET_LO16
  6117. -- : BFD_RELOC_CKCORE_PCREL_IMM18BY2
  6118. -- : BFD_RELOC_CKCORE_DOFFSET_IMM18
  6119. -- : BFD_RELOC_CKCORE_DOFFSET_IMM18BY2
  6120. -- : BFD_RELOC_CKCORE_DOFFSET_IMM18BY4
  6121. -- : BFD_RELOC_CKCORE_GOTOFF_IMM18
  6122. -- : BFD_RELOC_CKCORE_GOT_IMM18BY4
  6123. -- : BFD_RELOC_CKCORE_PLT_IMM18BY4
  6124. -- : BFD_RELOC_CKCORE_PCREL_IMM7BY4
  6125. -- : BFD_RELOC_CKCORE_TLS_LE32
  6126. -- : BFD_RELOC_CKCORE_TLS_IE32
  6127. -- : BFD_RELOC_CKCORE_TLS_GD32
  6128. -- : BFD_RELOC_CKCORE_TLS_LDM32
  6129. -- : BFD_RELOC_CKCORE_TLS_LDO32
  6130. -- : BFD_RELOC_CKCORE_TLS_DTPMOD32
  6131. -- : BFD_RELOC_CKCORE_TLS_DTPOFF32
  6132. -- : BFD_RELOC_CKCORE_TLS_TPOFF32
  6133. -- : BFD_RELOC_CKCORE_PCREL_FLRW_IMM8BY4
  6134. -- : BFD_RELOC_CKCORE_NOJSRI
  6135. -- : BFD_RELOC_CKCORE_CALLGRAPH
  6136. -- : BFD_RELOC_CKCORE_IRELATIVE
  6137. -- : BFD_RELOC_CKCORE_PCREL_BLOOP_IMM4BY4
  6138. -- : BFD_RELOC_CKCORE_PCREL_BLOOP_IMM12BY4
  6139. C-SKY relocations.
  6140. -- : BFD_RELOC_S12Z_OPR
  6141. S12Z relocations.
  6142. typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
  6143. 2.10.2.2 'bfd_reloc_type_lookup'
  6144. ................................
  6145. *Synopsis*
  6146. reloc_howto_type *bfd_reloc_type_lookup
  6147. (bfd *abfd, bfd_reloc_code_real_type code);
  6148. reloc_howto_type *bfd_reloc_name_lookup
  6149. (bfd *abfd, const char *reloc_name);
  6150. *Description*
  6151. Return a pointer to a howto structure which, when invoked, will perform
  6152. the relocation CODE on data from the architecture noted.
  6153. 2.10.2.3 'bfd_default_reloc_type_lookup'
  6154. ........................................
  6155. *Synopsis*
  6156. reloc_howto_type *bfd_default_reloc_type_lookup
  6157. (bfd *abfd, bfd_reloc_code_real_type code);
  6158. *Description*
  6159. Provides a default relocation lookup routine for any architecture.
  6160. 2.10.2.4 'bfd_get_reloc_code_name'
  6161. ..................................
  6162. *Synopsis*
  6163. const char *bfd_get_reloc_code_name (bfd_reloc_code_real_type code);
  6164. *Description*
  6165. Provides a printable name for the supplied relocation code. Useful
  6166. mainly for printing error messages.
  6167. 2.10.2.5 'bfd_generic_relax_section'
  6168. ....................................
  6169. *Synopsis*
  6170. bfd_boolean bfd_generic_relax_section
  6171. (bfd *abfd,
  6172. asection *section,
  6173. struct bfd_link_info *,
  6174. bfd_boolean *);
  6175. *Description*
  6176. Provides default handling for relaxing for back ends which don't do
  6177. relaxing.
  6178. 2.10.2.6 'bfd_generic_gc_sections'
  6179. ..................................
  6180. *Synopsis*
  6181. bfd_boolean bfd_generic_gc_sections
  6182. (bfd *, struct bfd_link_info *);
  6183. *Description*
  6184. Provides default handling for relaxing for back ends which don't do
  6185. section gc - i.e., does nothing.
  6186. 2.10.2.7 'bfd_generic_lookup_section_flags'
  6187. ...........................................
  6188. *Synopsis*
  6189. bfd_boolean bfd_generic_lookup_section_flags
  6190. (struct bfd_link_info *, struct flag_info *, asection *);
  6191. *Description*
  6192. Provides default handling for section flags lookup - i.e., does nothing.
  6193. Returns FALSE if the section should be omitted, otherwise TRUE.
  6194. 2.10.2.8 'bfd_generic_merge_sections'
  6195. .....................................
  6196. *Synopsis*
  6197. bfd_boolean bfd_generic_merge_sections
  6198. (bfd *, struct bfd_link_info *);
  6199. *Description*
  6200. Provides default handling for SEC_MERGE section merging for back ends
  6201. which don't have SEC_MERGE support - i.e., does nothing.
  6202. 2.10.2.9 'bfd_generic_get_relocated_section_contents'
  6203. .....................................................
  6204. *Synopsis*
  6205. bfd_byte *bfd_generic_get_relocated_section_contents
  6206. (bfd *abfd,
  6207. struct bfd_link_info *link_info,
  6208. struct bfd_link_order *link_order,
  6209. bfd_byte *data,
  6210. bfd_boolean relocatable,
  6211. asymbol **symbols);
  6212. *Description*
  6213. Provides default handling of relocation effort for back ends which can't
  6214. be bothered to do it efficiently.
  6215. 2.10.2.10 '_bfd_generic_set_reloc'
  6216. ..................................
  6217. *Synopsis*
  6218. void _bfd_generic_set_reloc
  6219. (bfd *abfd,
  6220. sec_ptr section,
  6221. arelent **relptr,
  6222. unsigned int count);
  6223. *Description*
  6224. Installs a new set of internal relocations in SECTION.
  6225. 2.10.2.11 '_bfd_unrecognized_reloc'
  6226. ...................................
  6227. *Synopsis*
  6228. bfd_boolean _bfd_unrecognized_reloc
  6229. (bfd * abfd,
  6230. sec_ptr section,
  6231. unsigned int r_type);
  6232. *Description*
  6233. Reports an unrecognized reloc. Written as a function in order to reduce
  6234. code duplication. Returns FALSE so that it can be called from a return
  6235. statement.
  6236. 
  6237. File: bfd.info, Node: Core Files, Next: Targets, Prev: Relocations, Up: BFD front end
  6238. 2.11 Core files
  6239. ===============
  6240. 2.11.1 Core file functions
  6241. --------------------------
  6242. *Description*
  6243. These are functions pertaining to core files.
  6244. 2.11.1.1 'bfd_core_file_failing_command'
  6245. ........................................
  6246. *Synopsis*
  6247. const char *bfd_core_file_failing_command (bfd *abfd);
  6248. *Description*
  6249. Return a read-only string explaining which program was running when it
  6250. failed and produced the core file ABFD.
  6251. 2.11.1.2 'bfd_core_file_failing_signal'
  6252. .......................................
  6253. *Synopsis*
  6254. int bfd_core_file_failing_signal (bfd *abfd);
  6255. *Description*
  6256. Returns the signal number which caused the core dump which generated the
  6257. file the BFD ABFD is attached to.
  6258. 2.11.1.3 'bfd_core_file_pid'
  6259. ............................
  6260. *Synopsis*
  6261. int bfd_core_file_pid (bfd *abfd);
  6262. *Description*
  6263. Returns the PID of the process the core dump the BFD ABFD is attached to
  6264. was generated from.
  6265. 2.11.1.4 'core_file_matches_executable_p'
  6266. .........................................
  6267. *Synopsis*
  6268. bfd_boolean core_file_matches_executable_p
  6269. (bfd *core_bfd, bfd *exec_bfd);
  6270. *Description*
  6271. Return 'TRUE' if the core file attached to CORE_BFD was generated by a
  6272. run of the executable file attached to EXEC_BFD, 'FALSE' otherwise.
  6273. 2.11.1.5 'generic_core_file_matches_executable_p'
  6274. .................................................
  6275. *Synopsis*
  6276. bfd_boolean generic_core_file_matches_executable_p
  6277. (bfd *core_bfd, bfd *exec_bfd);
  6278. *Description*
  6279. Return TRUE if the core file attached to CORE_BFD was generated by a run
  6280. of the executable file attached to EXEC_BFD. The match is based on
  6281. executable basenames only.
  6282. Note: When not able to determine the core file failing command or the
  6283. executable name, we still return TRUE even though we're not sure that
  6284. core file and executable match. This is to avoid generating a false
  6285. warning in situations where we really don't know whether they match or
  6286. not.
  6287. 
  6288. File: bfd.info, Node: Targets, Next: Architectures, Prev: Core Files, Up: BFD front end
  6289. 2.12 Targets
  6290. ============
  6291. *Description*
  6292. Each port of BFD to a different machine requires the creation of a
  6293. target back end. All the back end provides to the root part of BFD is a
  6294. structure containing pointers to functions which perform certain low
  6295. level operations on files. BFD translates the applications's requests
  6296. through a pointer into calls to the back end routines.
  6297. When a file is opened with 'bfd_openr', its format and target are
  6298. unknown. BFD uses various mechanisms to determine how to interpret the
  6299. file. The operations performed are:
  6300. * Create a BFD by calling the internal routine '_bfd_new_bfd', then
  6301. call 'bfd_find_target' with the target string supplied to
  6302. 'bfd_openr' and the new BFD pointer.
  6303. * If a null target string was provided to 'bfd_find_target', look up
  6304. the environment variable 'GNUTARGET' and use that as the target
  6305. string.
  6306. * If the target string is still 'NULL', or the target string is
  6307. 'default', then use the first item in the target vector as the
  6308. target type, and set 'target_defaulted' in the BFD to cause
  6309. 'bfd_check_format' to loop through all the targets. *Note
  6310. bfd_target::. *Note Formats::.
  6311. * Otherwise, inspect the elements in the target vector one by one,
  6312. until a match on target name is found. When found, use it.
  6313. * Otherwise return the error 'bfd_error_invalid_target' to
  6314. 'bfd_openr'.
  6315. * 'bfd_openr' attempts to open the file using 'bfd_open_file', and
  6316. returns the BFD.
  6317. Once the BFD has been opened and the target selected, the file format
  6318. may be determined. This is done by calling 'bfd_check_format' on the
  6319. BFD with a suggested format. If 'target_defaulted' has been set, each
  6320. possible target type is tried to see if it recognizes the specified
  6321. format. 'bfd_check_format' returns 'TRUE' when the caller guesses
  6322. right.
  6323. * Menu:
  6324. * bfd_target::
  6325. 
  6326. File: bfd.info, Node: bfd_target, Prev: Targets, Up: Targets
  6327. 2.12.1 bfd_target
  6328. -----------------
  6329. *Description*
  6330. This structure contains everything that BFD knows about a target. It
  6331. includes things like its byte order, name, and which routines to call to
  6332. do various operations.
  6333. Every BFD points to a target structure with its 'xvec' member.
  6334. The macros below are used to dispatch to functions through the
  6335. 'bfd_target' vector. They are used in a number of macros further down
  6336. in 'bfd.h', and are also used when calling various routines by hand
  6337. inside the BFD implementation. The ARGLIST argument must be
  6338. parenthesized; it contains all the arguments to the called function.
  6339. They make the documentation (more) unpleasant to read, so if someone
  6340. wants to fix this and not break the above, please do.
  6341. #define BFD_SEND(bfd, message, arglist) \
  6342. ((*((bfd)->xvec->message)) arglist)
  6343. #ifdef DEBUG_BFD_SEND
  6344. #undef BFD_SEND
  6345. #define BFD_SEND(bfd, message, arglist) \
  6346. (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \
  6347. ((*((bfd)->xvec->message)) arglist) : \
  6348. (bfd_assert (__FILE__,__LINE__), NULL))
  6349. #endif
  6350. For operations which index on the BFD format:
  6351. #define BFD_SEND_FMT(bfd, message, arglist) \
  6352. (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist)
  6353. #ifdef DEBUG_BFD_SEND
  6354. #undef BFD_SEND_FMT
  6355. #define BFD_SEND_FMT(bfd, message, arglist) \
  6356. (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \
  6357. (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist) : \
  6358. (bfd_assert (__FILE__,__LINE__), NULL))
  6359. #endif
  6360. This is the structure which defines the type of BFD this is. The
  6361. 'xvec' member of the struct 'bfd' itself points here. Each module that
  6362. implements access to a different target under BFD, defines one of these.
  6363. FIXME, these names should be rationalised with the names of the entry
  6364. points which call them. Too bad we can't have one macro to define them
  6365. both!
  6366. enum bfd_flavour
  6367. {
  6368. /* N.B. Update bfd_flavour_name if you change this. */
  6369. bfd_target_unknown_flavour,
  6370. bfd_target_aout_flavour,
  6371. bfd_target_coff_flavour,
  6372. bfd_target_ecoff_flavour,
  6373. bfd_target_xcoff_flavour,
  6374. bfd_target_elf_flavour,
  6375. bfd_target_tekhex_flavour,
  6376. bfd_target_srec_flavour,
  6377. bfd_target_verilog_flavour,
  6378. bfd_target_ihex_flavour,
  6379. bfd_target_som_flavour,
  6380. bfd_target_os9k_flavour,
  6381. bfd_target_versados_flavour,
  6382. bfd_target_msdos_flavour,
  6383. bfd_target_ovax_flavour,
  6384. bfd_target_evax_flavour,
  6385. bfd_target_mmo_flavour,
  6386. bfd_target_mach_o_flavour,
  6387. bfd_target_pef_flavour,
  6388. bfd_target_pef_xlib_flavour,
  6389. bfd_target_sym_flavour
  6390. };
  6391. enum bfd_endian { BFD_ENDIAN_BIG, BFD_ENDIAN_LITTLE, BFD_ENDIAN_UNKNOWN };
  6392. /* Forward declaration. */
  6393. typedef struct bfd_link_info _bfd_link_info;
  6394. /* Forward declaration. */
  6395. typedef struct flag_info flag_info;
  6396. typedef struct bfd_target
  6397. {
  6398. /* Identifies the kind of target, e.g., SunOS4, Ultrix, etc. */
  6399. char *name;
  6400. /* The "flavour" of a back end is a general indication about
  6401. the contents of a file. */
  6402. enum bfd_flavour flavour;
  6403. /* The order of bytes within the data area of a file. */
  6404. enum bfd_endian byteorder;
  6405. /* The order of bytes within the header parts of a file. */
  6406. enum bfd_endian header_byteorder;
  6407. /* A mask of all the flags which an executable may have set -
  6408. from the set BFD_NO_FLAGS, HAS_RELOC, ...D_PAGED. */
  6409. flagword object_flags;
  6410. /* A mask of all the flags which a section may have set - from
  6411. the set SEC_NO_FLAGS, SEC_ALLOC, ...SET_NEVER_LOAD. */
  6412. flagword section_flags;
  6413. /* The character normally found at the front of a symbol.
  6414. (if any), perhaps `_'. */
  6415. char symbol_leading_char;
  6416. /* The pad character for file names within an archive header. */
  6417. char ar_pad_char;
  6418. /* The maximum number of characters in an archive header. */
  6419. unsigned char ar_max_namelen;
  6420. /* How well this target matches, used to select between various
  6421. possible targets when more than one target matches. */
  6422. unsigned char match_priority;
  6423. /* Entries for byte swapping for data. These are different from the
  6424. other entry points, since they don't take a BFD as the first argument.
  6425. Certain other handlers could do the same. */
  6426. bfd_uint64_t (*bfd_getx64) (const void *);
  6427. bfd_int64_t (*bfd_getx_signed_64) (const void *);
  6428. void (*bfd_putx64) (bfd_uint64_t, void *);
  6429. bfd_vma (*bfd_getx32) (const void *);
  6430. bfd_signed_vma (*bfd_getx_signed_32) (const void *);
  6431. void (*bfd_putx32) (bfd_vma, void *);
  6432. bfd_vma (*bfd_getx16) (const void *);
  6433. bfd_signed_vma (*bfd_getx_signed_16) (const void *);
  6434. void (*bfd_putx16) (bfd_vma, void *);
  6435. /* Byte swapping for the headers. */
  6436. bfd_uint64_t (*bfd_h_getx64) (const void *);
  6437. bfd_int64_t (*bfd_h_getx_signed_64) (const void *);
  6438. void (*bfd_h_putx64) (bfd_uint64_t, void *);
  6439. bfd_vma (*bfd_h_getx32) (const void *);
  6440. bfd_signed_vma (*bfd_h_getx_signed_32) (const void *);
  6441. void (*bfd_h_putx32) (bfd_vma, void *);
  6442. bfd_vma (*bfd_h_getx16) (const void *);
  6443. bfd_signed_vma (*bfd_h_getx_signed_16) (const void *);
  6444. void (*bfd_h_putx16) (bfd_vma, void *);
  6445. /* Format dependent routines: these are vectors of entry points
  6446. within the target vector structure, one for each format to check. */
  6447. /* Check the format of a file being read. Return a bfd_target * or zero. */
  6448. const struct bfd_target *
  6449. (*_bfd_check_format[bfd_type_end]) (bfd *);
  6450. /* Set the format of a file being written. */
  6451. bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *);
  6452. /* Write cached information into a file being written, at bfd_close. */
  6453. bfd_boolean (*_bfd_write_contents[bfd_type_end]) (bfd *);
  6454. The general target vector. These vectors are initialized using the
  6455. BFD_JUMP_TABLE macros.
  6456. /* Generic entry points. */
  6457. #define BFD_JUMP_TABLE_GENERIC(NAME) \
  6458. NAME##_close_and_cleanup, \
  6459. NAME##_bfd_free_cached_info, \
  6460. NAME##_new_section_hook, \
  6461. NAME##_get_section_contents, \
  6462. NAME##_get_section_contents_in_window
  6463. /* Called when the BFD is being closed to do any necessary cleanup. */
  6464. bfd_boolean (*_close_and_cleanup) (bfd *);
  6465. /* Ask the BFD to free all cached information. */
  6466. bfd_boolean (*_bfd_free_cached_info) (bfd *);
  6467. /* Called when a new section is created. */
  6468. bfd_boolean (*_new_section_hook) (bfd *, sec_ptr);
  6469. /* Read the contents of a section. */
  6470. bfd_boolean (*_bfd_get_section_contents) (bfd *, sec_ptr, void *, file_ptr,
  6471. bfd_size_type);
  6472. bfd_boolean (*_bfd_get_section_contents_in_window) (bfd *, sec_ptr,
  6473. bfd_window *, file_ptr,
  6474. bfd_size_type);
  6475. /* Entry points to copy private data. */
  6476. #define BFD_JUMP_TABLE_COPY(NAME) \
  6477. NAME##_bfd_copy_private_bfd_data, \
  6478. NAME##_bfd_merge_private_bfd_data, \
  6479. _bfd_generic_init_private_section_data, \
  6480. NAME##_bfd_copy_private_section_data, \
  6481. NAME##_bfd_copy_private_symbol_data, \
  6482. NAME##_bfd_copy_private_header_data, \
  6483. NAME##_bfd_set_private_flags, \
  6484. NAME##_bfd_print_private_bfd_data
  6485. /* Called to copy BFD general private data from one object file
  6486. to another. */
  6487. bfd_boolean (*_bfd_copy_private_bfd_data) (bfd *, bfd *);
  6488. /* Called to merge BFD general private data from one object file
  6489. to a common output file when linking. */
  6490. bfd_boolean (*_bfd_merge_private_bfd_data) (bfd *, struct bfd_link_info *);
  6491. /* Called to initialize BFD private section data from one object file
  6492. to another. */
  6493. #define bfd_init_private_section_data(ibfd, isec, obfd, osec, link_info) \
  6494. BFD_SEND (obfd, _bfd_init_private_section_data, \
  6495. (ibfd, isec, obfd, osec, link_info))
  6496. bfd_boolean (*_bfd_init_private_section_data) (bfd *, sec_ptr, bfd *,
  6497. sec_ptr,
  6498. struct bfd_link_info *);
  6499. /* Called to copy BFD private section data from one object file
  6500. to another. */
  6501. bfd_boolean (*_bfd_copy_private_section_data) (bfd *, sec_ptr, bfd *,
  6502. sec_ptr);
  6503. /* Called to copy BFD private symbol data from one symbol
  6504. to another. */
  6505. bfd_boolean (*_bfd_copy_private_symbol_data) (bfd *, asymbol *, bfd *,
  6506. asymbol *);
  6507. /* Called to copy BFD private header data from one object file
  6508. to another. */
  6509. bfd_boolean (*_bfd_copy_private_header_data) (bfd *, bfd *);
  6510. /* Called to set private backend flags. */
  6511. bfd_boolean (*_bfd_set_private_flags) (bfd *, flagword);
  6512. /* Called to print private BFD data. */
  6513. bfd_boolean (*_bfd_print_private_bfd_data) (bfd *, void *);
  6514. /* Core file entry points. */
  6515. #define BFD_JUMP_TABLE_CORE(NAME) \
  6516. NAME##_core_file_failing_command, \
  6517. NAME##_core_file_failing_signal, \
  6518. NAME##_core_file_matches_executable_p, \
  6519. NAME##_core_file_pid
  6520. char * (*_core_file_failing_command) (bfd *);
  6521. int (*_core_file_failing_signal) (bfd *);
  6522. bfd_boolean (*_core_file_matches_executable_p) (bfd *, bfd *);
  6523. int (*_core_file_pid) (bfd *);
  6524. /* Archive entry points. */
  6525. #define BFD_JUMP_TABLE_ARCHIVE(NAME) \
  6526. NAME##_slurp_armap, \
  6527. NAME##_slurp_extended_name_table, \
  6528. NAME##_construct_extended_name_table, \
  6529. NAME##_truncate_arname, \
  6530. NAME##_write_armap, \
  6531. NAME##_read_ar_hdr, \
  6532. NAME##_write_ar_hdr, \
  6533. NAME##_openr_next_archived_file, \
  6534. NAME##_get_elt_at_index, \
  6535. NAME##_generic_stat_arch_elt, \
  6536. NAME##_update_armap_timestamp
  6537. bfd_boolean (*_bfd_slurp_armap) (bfd *);
  6538. bfd_boolean (*_bfd_slurp_extended_name_table) (bfd *);
  6539. bfd_boolean (*_bfd_construct_extended_name_table) (bfd *, char **,
  6540. bfd_size_type *,
  6541. const char **);
  6542. void (*_bfd_truncate_arname) (bfd *, const char *, char *);
  6543. bfd_boolean (*write_armap) (bfd *, unsigned int, struct orl *,
  6544. unsigned int, int);
  6545. void * (*_bfd_read_ar_hdr_fn) (bfd *);
  6546. bfd_boolean (*_bfd_write_ar_hdr_fn) (bfd *, bfd *);
  6547. bfd * (*openr_next_archived_file) (bfd *, bfd *);
  6548. #define bfd_get_elt_at_index(b,i) \
  6549. BFD_SEND (b, _bfd_get_elt_at_index, (b,i))
  6550. bfd * (*_bfd_get_elt_at_index) (bfd *, symindex);
  6551. int (*_bfd_stat_arch_elt) (bfd *, struct stat *);
  6552. bfd_boolean (*_bfd_update_armap_timestamp) (bfd *);
  6553. /* Entry points used for symbols. */
  6554. #define BFD_JUMP_TABLE_SYMBOLS(NAME) \
  6555. NAME##_get_symtab_upper_bound, \
  6556. NAME##_canonicalize_symtab, \
  6557. NAME##_make_empty_symbol, \
  6558. NAME##_print_symbol, \
  6559. NAME##_get_symbol_info, \
  6560. NAME##_get_symbol_version_string, \
  6561. NAME##_bfd_is_local_label_name, \
  6562. NAME##_bfd_is_target_special_symbol, \
  6563. NAME##_get_lineno, \
  6564. NAME##_find_nearest_line, \
  6565. NAME##_find_line, \
  6566. NAME##_find_inliner_info, \
  6567. NAME##_bfd_make_debug_symbol, \
  6568. NAME##_read_minisymbols, \
  6569. NAME##_minisymbol_to_symbol
  6570. long (*_bfd_get_symtab_upper_bound) (bfd *);
  6571. long (*_bfd_canonicalize_symtab) (bfd *, struct bfd_symbol **);
  6572. struct bfd_symbol *
  6573. (*_bfd_make_empty_symbol) (bfd *);
  6574. void (*_bfd_print_symbol) (bfd *, void *, struct bfd_symbol *,
  6575. bfd_print_symbol_type);
  6576. #define bfd_print_symbol(b,p,s,e) \
  6577. BFD_SEND (b, _bfd_print_symbol, (b,p,s,e))
  6578. void (*_bfd_get_symbol_info) (bfd *, struct bfd_symbol *,
  6579. symbol_info *);
  6580. #define bfd_get_symbol_info(b,p,e) \
  6581. BFD_SEND (b, _bfd_get_symbol_info, (b,p,e))
  6582. const char *(*_bfd_get_symbol_version_string) (bfd *, struct bfd_symbol *,
  6583. bfd_boolean *);
  6584. #define bfd_get_symbol_version_string(b,s,h) \
  6585. BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h))
  6586. bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *);
  6587. bfd_boolean (*_bfd_is_target_special_symbol) (bfd *, asymbol *);
  6588. alent * (*_get_lineno) (bfd *, struct bfd_symbol *);
  6589. bfd_boolean (*_bfd_find_nearest_line) (bfd *, struct bfd_symbol **,
  6590. struct bfd_section *, bfd_vma,
  6591. const char **, const char **,
  6592. unsigned int *, unsigned int *);
  6593. bfd_boolean (*_bfd_find_line) (bfd *, struct bfd_symbol **,
  6594. struct bfd_symbol *, const char **,
  6595. unsigned int *);
  6596. bfd_boolean (*_bfd_find_inliner_info)
  6597. (bfd *, const char **, const char **, unsigned int *);
  6598. /* Back-door to allow format-aware applications to create debug symbols
  6599. while using BFD for everything else. Currently used by the assembler
  6600. when creating COFF files. */
  6601. asymbol * (*_bfd_make_debug_symbol) (bfd *, void *, unsigned long size);
  6602. #define bfd_read_minisymbols(b, d, m, s) \
  6603. BFD_SEND (b, _read_minisymbols, (b, d, m, s))
  6604. long (*_read_minisymbols) (bfd *, bfd_boolean, void **,
  6605. unsigned int *);
  6606. #define bfd_minisymbol_to_symbol(b, d, m, f) \
  6607. BFD_SEND (b, _minisymbol_to_symbol, (b, d, m, f))
  6608. asymbol * (*_minisymbol_to_symbol) (bfd *, bfd_boolean, const void *,
  6609. asymbol *);
  6610. /* Routines for relocs. */
  6611. #define BFD_JUMP_TABLE_RELOCS(NAME) \
  6612. NAME##_get_reloc_upper_bound, \
  6613. NAME##_canonicalize_reloc, \
  6614. NAME##_set_reloc, \
  6615. NAME##_bfd_reloc_type_lookup, \
  6616. NAME##_bfd_reloc_name_lookup
  6617. long (*_get_reloc_upper_bound) (bfd *, sec_ptr);
  6618. long (*_bfd_canonicalize_reloc) (bfd *, sec_ptr, arelent **,
  6619. struct bfd_symbol **);
  6620. void (*_bfd_set_reloc) (bfd *, sec_ptr, arelent **, unsigned int);
  6621. /* See documentation on reloc types. */
  6622. reloc_howto_type *
  6623. (*reloc_type_lookup) (bfd *, bfd_reloc_code_real_type);
  6624. reloc_howto_type *
  6625. (*reloc_name_lookup) (bfd *, const char *);
  6626. /* Routines used when writing an object file. */
  6627. #define BFD_JUMP_TABLE_WRITE(NAME) \
  6628. NAME##_set_arch_mach, \
  6629. NAME##_set_section_contents
  6630. bfd_boolean (*_bfd_set_arch_mach) (bfd *, enum bfd_architecture,
  6631. unsigned long);
  6632. bfd_boolean (*_bfd_set_section_contents) (bfd *, sec_ptr, const void *,
  6633. file_ptr, bfd_size_type);
  6634. /* Routines used by the linker. */
  6635. #define BFD_JUMP_TABLE_LINK(NAME) \
  6636. NAME##_sizeof_headers, \
  6637. NAME##_bfd_get_relocated_section_contents, \
  6638. NAME##_bfd_relax_section, \
  6639. NAME##_bfd_link_hash_table_create, \
  6640. NAME##_bfd_link_add_symbols, \
  6641. NAME##_bfd_link_just_syms, \
  6642. NAME##_bfd_copy_link_hash_symbol_type, \
  6643. NAME##_bfd_final_link, \
  6644. NAME##_bfd_link_split_section, \
  6645. NAME##_bfd_link_check_relocs, \
  6646. NAME##_bfd_gc_sections, \
  6647. NAME##_bfd_lookup_section_flags, \
  6648. NAME##_bfd_merge_sections, \
  6649. NAME##_bfd_is_group_section, \
  6650. NAME##_bfd_discard_group, \
  6651. NAME##_section_already_linked, \
  6652. NAME##_bfd_define_common_symbol, \
  6653. NAME##_bfd_link_hide_symbol, \
  6654. NAME##_bfd_define_start_stop
  6655. int (*_bfd_sizeof_headers) (bfd *, struct bfd_link_info *);
  6656. bfd_byte * (*_bfd_get_relocated_section_contents) (bfd *,
  6657. struct bfd_link_info *,
  6658. struct bfd_link_order *,
  6659. bfd_byte *, bfd_boolean,
  6660. struct bfd_symbol **);
  6661. bfd_boolean (*_bfd_relax_section) (bfd *, struct bfd_section *,
  6662. struct bfd_link_info *, bfd_boolean *);
  6663. /* Create a hash table for the linker. Different backends store
  6664. different information in this table. */
  6665. struct bfd_link_hash_table *
  6666. (*_bfd_link_hash_table_create) (bfd *);
  6667. /* Add symbols from this object file into the hash table. */
  6668. bfd_boolean (*_bfd_link_add_symbols) (bfd *, struct bfd_link_info *);
  6669. /* Indicate that we are only retrieving symbol values from this section. */
  6670. void (*_bfd_link_just_syms) (asection *, struct bfd_link_info *);
  6671. /* Copy the symbol type and other attributes for a linker script
  6672. assignment of one symbol to another. */
  6673. #define bfd_copy_link_hash_symbol_type(b, t, f) \
  6674. BFD_SEND (b, _bfd_copy_link_hash_symbol_type, (b, t, f))
  6675. void (*_bfd_copy_link_hash_symbol_type) (bfd *,
  6676. struct bfd_link_hash_entry *,
  6677. struct bfd_link_hash_entry *);
  6678. /* Do a link based on the link_order structures attached to each
  6679. section of the BFD. */
  6680. bfd_boolean (*_bfd_final_link) (bfd *, struct bfd_link_info *);
  6681. /* Should this section be split up into smaller pieces during linking. */
  6682. bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *);
  6683. /* Check the relocations in the bfd for validity. */
  6684. bfd_boolean (* _bfd_link_check_relocs)(bfd *, struct bfd_link_info *);
  6685. /* Remove sections that are not referenced from the output. */
  6686. bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
  6687. /* Sets the bitmask of allowed and disallowed section flags. */
  6688. bfd_boolean (*_bfd_lookup_section_flags) (struct bfd_link_info *,
  6689. struct flag_info *, asection *);
  6690. /* Attempt to merge SEC_MERGE sections. */
  6691. bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
  6692. /* Is this section a member of a group? */
  6693. bfd_boolean (*_bfd_is_group_section) (bfd *, const struct bfd_section *);
  6694. /* Discard members of a group. */
  6695. bfd_boolean (*_bfd_discard_group) (bfd *, struct bfd_section *);
  6696. /* Check if SEC has been already linked during a reloceatable or
  6697. final link. */
  6698. bfd_boolean (*_section_already_linked) (bfd *, asection *,
  6699. struct bfd_link_info *);
  6700. /* Define a common symbol. */
  6701. bfd_boolean (*_bfd_define_common_symbol) (bfd *, struct bfd_link_info *,
  6702. struct bfd_link_hash_entry *);
  6703. /* Hide a symbol. */
  6704. void (*_bfd_link_hide_symbol) (bfd *, struct bfd_link_info *,
  6705. struct bfd_link_hash_entry *);
  6706. /* Define a __start, __stop, .startof. or .sizeof. symbol. */
  6707. struct bfd_link_hash_entry *
  6708. (*_bfd_define_start_stop) (struct bfd_link_info *, const char *,
  6709. asection *);
  6710. /* Routines to handle dynamic symbols and relocs. */
  6711. #define BFD_JUMP_TABLE_DYNAMIC(NAME) \
  6712. NAME##_get_dynamic_symtab_upper_bound, \
  6713. NAME##_canonicalize_dynamic_symtab, \
  6714. NAME##_get_synthetic_symtab, \
  6715. NAME##_get_dynamic_reloc_upper_bound, \
  6716. NAME##_canonicalize_dynamic_reloc
  6717. /* Get the amount of memory required to hold the dynamic symbols. */
  6718. long (*_bfd_get_dynamic_symtab_upper_bound) (bfd *);
  6719. /* Read in the dynamic symbols. */
  6720. long (*_bfd_canonicalize_dynamic_symtab) (bfd *, struct bfd_symbol **);
  6721. /* Create synthetized symbols. */
  6722. long (*_bfd_get_synthetic_symtab) (bfd *, long, struct bfd_symbol **,
  6723. long, struct bfd_symbol **,
  6724. struct bfd_symbol **);
  6725. /* Get the amount of memory required to hold the dynamic relocs. */
  6726. long (*_bfd_get_dynamic_reloc_upper_bound) (bfd *);
  6727. /* Read in the dynamic relocs. */
  6728. long (*_bfd_canonicalize_dynamic_reloc) (bfd *, arelent **,
  6729. struct bfd_symbol **);
  6730. A pointer to an alternative bfd_target in case the current one is not
  6731. satisfactory. This can happen when the target cpu supports both big and
  6732. little endian code, and target chosen by the linker has the wrong
  6733. endianness. The function open_output() in ld/ldlang.c uses this field
  6734. to find an alternative output format that is suitable.
  6735. /* Opposite endian version of this target. */
  6736. const struct bfd_target *alternative_target;
  6737. /* Data for use by back-end routines, which isn't
  6738. generic enough to belong in this structure. */
  6739. const void *backend_data;
  6740. } bfd_target;
  6741. 2.12.1.1 'bfd_set_default_target'
  6742. .................................
  6743. *Synopsis*
  6744. bfd_boolean bfd_set_default_target (const char *name);
  6745. *Description*
  6746. Set the default target vector to use when recognizing a BFD. This takes
  6747. the name of the target, which may be a BFD target name or a
  6748. configuration triplet.
  6749. 2.12.1.2 'bfd_find_target'
  6750. ..........................
  6751. *Synopsis*
  6752. const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
  6753. *Description*
  6754. Return a pointer to the transfer vector for the object target named
  6755. TARGET_NAME. If TARGET_NAME is 'NULL', choose the one in the
  6756. environment variable 'GNUTARGET'; if that is null or not defined, then
  6757. choose the first entry in the target list. Passing in the string
  6758. "default" or setting the environment variable to "default" will cause
  6759. the first entry in the target list to be returned, and
  6760. "target_defaulted" will be set in the BFD if ABFD isn't 'NULL'. This
  6761. causes 'bfd_check_format' to loop over all the targets to find the one
  6762. that matches the file being read.
  6763. 2.12.1.3 'bfd_get_target_info'
  6764. ..............................
  6765. *Synopsis*
  6766. const bfd_target *bfd_get_target_info (const char *target_name,
  6767. bfd *abfd,
  6768. bfd_boolean *is_bigendian,
  6769. int *underscoring,
  6770. const char **def_target_arch);
  6771. *Description*
  6772. Return a pointer to the transfer vector for the object target named
  6773. TARGET_NAME. If TARGET_NAME is 'NULL', choose the one in the
  6774. environment variable 'GNUTARGET'; if that is null or not defined, then
  6775. choose the first entry in the target list. Passing in the string
  6776. "default" or setting the environment variable to "default" will cause
  6777. the first entry in the target list to be returned, and
  6778. "target_defaulted" will be set in the BFD if ABFD isn't 'NULL'. This
  6779. causes 'bfd_check_format' to loop over all the targets to find the one
  6780. that matches the file being read. If IS_BIGENDIAN is not 'NULL', then
  6781. set this value to target's endian mode. True for big-endian, FALSE for
  6782. little-endian or for invalid target. If UNDERSCORING is not 'NULL',
  6783. then set this value to target's underscoring mode. Zero for
  6784. none-underscoring, -1 for invalid target, else the value of target
  6785. vector's symbol underscoring. If DEF_TARGET_ARCH is not 'NULL', then
  6786. set it to the architecture string specified by the target_name.
  6787. 2.12.1.4 'bfd_target_list'
  6788. ..........................
  6789. *Synopsis*
  6790. const char ** bfd_target_list (void);
  6791. *Description*
  6792. Return a freshly malloced NULL-terminated vector of the names of all the
  6793. valid BFD targets. Do not modify the names.
  6794. 2.12.1.5 'bfd_iterate_over_targets'
  6795. ...................................
  6796. *Synopsis*
  6797. const bfd_target *bfd_iterate_over_targets
  6798. (int (*func) (const bfd_target *, void *),
  6799. void *data);
  6800. *Description*
  6801. Call FUNC for each target in the list of BFD target vectors, passing
  6802. DATA to FUNC. Stop iterating if FUNC returns a non-zero result, and
  6803. return that target vector. Return NULL if FUNC always returns zero.
  6804. 2.12.1.6 'bfd_flavour_name'
  6805. ...........................
  6806. *Synopsis*
  6807. const char *bfd_flavour_name (enum bfd_flavour flavour);
  6808. *Description*
  6809. Return the string form of FLAVOUR.
  6810. 
  6811. File: bfd.info, Node: Architectures, Next: Opening and Closing, Prev: Targets, Up: BFD front end
  6812. 2.13 Architectures
  6813. ==================
  6814. BFD keeps one atom in a BFD describing the architecture of the data
  6815. attached to the BFD: a pointer to a 'bfd_arch_info_type'.
  6816. Pointers to structures can be requested independently of a BFD so
  6817. that an architecture's information can be interrogated without access to
  6818. an open BFD.
  6819. The architecture information is provided by each architecture
  6820. package. The set of default architectures is selected by the macro
  6821. 'SELECT_ARCHITECTURES'. This is normally set up in the
  6822. 'config/TARGET.mt' file of your choice. If the name is not defined,
  6823. then all the architectures supported are included.
  6824. When BFD starts up, all the architectures are called with an
  6825. initialize method. It is up to the architecture back end to insert as
  6826. many items into the list of architectures as it wants to; generally this
  6827. would be one for each machine and one for the default case (an item with
  6828. a machine field of 0).
  6829. BFD's idea of an architecture is implemented in 'archures.c'.
  6830. 2.13.1 bfd_architecture
  6831. -----------------------
  6832. *Description*
  6833. This enum gives the object file's CPU architecture, in a global
  6834. sense--i.e., what processor family does it belong to? Another field
  6835. indicates which processor within the family is in use. The machine
  6836. gives a number which distinguishes different versions of the
  6837. architecture, containing, for example, 68020 for Motorola 68020.
  6838. enum bfd_architecture
  6839. {
  6840. bfd_arch_unknown, /* File arch not known. */
  6841. bfd_arch_obscure, /* Arch known, not one of these. */
  6842. bfd_arch_m68k, /* Motorola 68xxx. */
  6843. #define bfd_mach_m68000 1
  6844. #define bfd_mach_m68008 2
  6845. #define bfd_mach_m68010 3
  6846. #define bfd_mach_m68020 4
  6847. #define bfd_mach_m68030 5
  6848. #define bfd_mach_m68040 6
  6849. #define bfd_mach_m68060 7
  6850. #define bfd_mach_cpu32 8
  6851. #define bfd_mach_fido 9
  6852. #define bfd_mach_mcf_isa_a_nodiv 10
  6853. #define bfd_mach_mcf_isa_a 11
  6854. #define bfd_mach_mcf_isa_a_mac 12
  6855. #define bfd_mach_mcf_isa_a_emac 13
  6856. #define bfd_mach_mcf_isa_aplus 14
  6857. #define bfd_mach_mcf_isa_aplus_mac 15
  6858. #define bfd_mach_mcf_isa_aplus_emac 16
  6859. #define bfd_mach_mcf_isa_b_nousp 17
  6860. #define bfd_mach_mcf_isa_b_nousp_mac 18
  6861. #define bfd_mach_mcf_isa_b_nousp_emac 19
  6862. #define bfd_mach_mcf_isa_b 20
  6863. #define bfd_mach_mcf_isa_b_mac 21
  6864. #define bfd_mach_mcf_isa_b_emac 22
  6865. #define bfd_mach_mcf_isa_b_float 23
  6866. #define bfd_mach_mcf_isa_b_float_mac 24
  6867. #define bfd_mach_mcf_isa_b_float_emac 25
  6868. #define bfd_mach_mcf_isa_c 26
  6869. #define bfd_mach_mcf_isa_c_mac 27
  6870. #define bfd_mach_mcf_isa_c_emac 28
  6871. #define bfd_mach_mcf_isa_c_nodiv 29
  6872. #define bfd_mach_mcf_isa_c_nodiv_mac 30
  6873. #define bfd_mach_mcf_isa_c_nodiv_emac 31
  6874. bfd_arch_vax, /* DEC Vax. */
  6875. bfd_arch_or1k, /* OpenRISC 1000. */
  6876. #define bfd_mach_or1k 1
  6877. #define bfd_mach_or1knd 2
  6878. bfd_arch_sparc, /* SPARC. */
  6879. #define bfd_mach_sparc 1
  6880. /* The difference between v8plus and v9 is that v9 is a true 64 bit env. */
  6881. #define bfd_mach_sparc_sparclet 2
  6882. #define bfd_mach_sparc_sparclite 3
  6883. #define bfd_mach_sparc_v8plus 4
  6884. #define bfd_mach_sparc_v8plusa 5 /* with ultrasparc add'ns. */
  6885. #define bfd_mach_sparc_sparclite_le 6
  6886. #define bfd_mach_sparc_v9 7
  6887. #define bfd_mach_sparc_v9a 8 /* with ultrasparc add'ns. */
  6888. #define bfd_mach_sparc_v8plusb 9 /* with cheetah add'ns. */
  6889. #define bfd_mach_sparc_v9b 10 /* with cheetah add'ns. */
  6890. #define bfd_mach_sparc_v8plusc 11 /* with UA2005 and T1 add'ns. */
  6891. #define bfd_mach_sparc_v9c 12 /* with UA2005 and T1 add'ns. */
  6892. #define bfd_mach_sparc_v8plusd 13 /* with UA2007 and T3 add'ns. */
  6893. #define bfd_mach_sparc_v9d 14 /* with UA2007 and T3 add'ns. */
  6894. #define bfd_mach_sparc_v8pluse 15 /* with OSA2001 and T4 add'ns (no IMA). */
  6895. #define bfd_mach_sparc_v9e 16 /* with OSA2001 and T4 add'ns (no IMA). */
  6896. #define bfd_mach_sparc_v8plusv 17 /* with OSA2011 and T4 and IMA and FJMAU add'ns. */
  6897. #define bfd_mach_sparc_v9v 18 /* with OSA2011 and T4 and IMA and FJMAU add'ns. */
  6898. #define bfd_mach_sparc_v8plusm 19 /* with OSA2015 and M7 add'ns. */
  6899. #define bfd_mach_sparc_v9m 20 /* with OSA2015 and M7 add'ns. */
  6900. #define bfd_mach_sparc_v8plusm8 21 /* with OSA2017 and M8 add'ns. */
  6901. #define bfd_mach_sparc_v9m8 22 /* with OSA2017 and M8 add'ns. */
  6902. /* Nonzero if MACH has the v9 instruction set. */
  6903. #define bfd_mach_sparc_v9_p(mach) \
  6904. ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9m8 \
  6905. && (mach) != bfd_mach_sparc_sparclite_le)
  6906. /* Nonzero if MACH is a 64 bit sparc architecture. */
  6907. #define bfd_mach_sparc_64bit_p(mach) \
  6908. ((mach) >= bfd_mach_sparc_v9 \
  6909. && (mach) != bfd_mach_sparc_v8plusb \
  6910. && (mach) != bfd_mach_sparc_v8plusc \
  6911. && (mach) != bfd_mach_sparc_v8plusd \
  6912. && (mach) != bfd_mach_sparc_v8pluse \
  6913. && (mach) != bfd_mach_sparc_v8plusv \
  6914. && (mach) != bfd_mach_sparc_v8plusm \
  6915. && (mach) != bfd_mach_sparc_v8plusm8)
  6916. bfd_arch_spu, /* PowerPC SPU. */
  6917. #define bfd_mach_spu 256
  6918. bfd_arch_mips, /* MIPS Rxxxx. */
  6919. #define bfd_mach_mips3000 3000
  6920. #define bfd_mach_mips3900 3900
  6921. #define bfd_mach_mips4000 4000
  6922. #define bfd_mach_mips4010 4010
  6923. #define bfd_mach_mips4100 4100
  6924. #define bfd_mach_mips4111 4111
  6925. #define bfd_mach_mips4120 4120
  6926. #define bfd_mach_mips4300 4300
  6927. #define bfd_mach_mips4400 4400
  6928. #define bfd_mach_mips4600 4600
  6929. #define bfd_mach_mips4650 4650
  6930. #define bfd_mach_mips5000 5000
  6931. #define bfd_mach_mips5400 5400
  6932. #define bfd_mach_mips5500 5500
  6933. #define bfd_mach_mips5900 5900
  6934. #define bfd_mach_mips6000 6000
  6935. #define bfd_mach_mips7000 7000
  6936. #define bfd_mach_mips8000 8000
  6937. #define bfd_mach_mips9000 9000
  6938. #define bfd_mach_mips10000 10000
  6939. #define bfd_mach_mips12000 12000
  6940. #define bfd_mach_mips14000 14000
  6941. #define bfd_mach_mips16000 16000
  6942. #define bfd_mach_mips16 16
  6943. #define bfd_mach_mips5 5
  6944. #define bfd_mach_mips_loongson_2e 3001
  6945. #define bfd_mach_mips_loongson_2f 3002
  6946. #define bfd_mach_mips_gs464 3003
  6947. #define bfd_mach_mips_gs464e 3004
  6948. #define bfd_mach_mips_gs264e 3005
  6949. #define bfd_mach_mips_sb1 12310201 /* octal 'SB', 01. */
  6950. #define bfd_mach_mips_octeon 6501
  6951. #define bfd_mach_mips_octeonp 6601
  6952. #define bfd_mach_mips_octeon2 6502
  6953. #define bfd_mach_mips_octeon3 6503
  6954. #define bfd_mach_mips_xlr 887682 /* decimal 'XLR'. */
  6955. #define bfd_mach_mips_interaptiv_mr2 736550 /* decimal 'IA2'. */
  6956. #define bfd_mach_mipsisa32 32
  6957. #define bfd_mach_mipsisa32r2 33
  6958. #define bfd_mach_mipsisa32r3 34
  6959. #define bfd_mach_mipsisa32r5 36
  6960. #define bfd_mach_mipsisa32r6 37
  6961. #define bfd_mach_mipsisa64 64
  6962. #define bfd_mach_mipsisa64r2 65
  6963. #define bfd_mach_mipsisa64r3 66
  6964. #define bfd_mach_mipsisa64r5 68
  6965. #define bfd_mach_mipsisa64r6 69
  6966. #define bfd_mach_mips_micromips 96
  6967. bfd_arch_i386, /* Intel 386. */
  6968. #define bfd_mach_i386_intel_syntax (1 << 0)
  6969. #define bfd_mach_i386_i8086 (1 << 1)
  6970. #define bfd_mach_i386_i386 (1 << 2)
  6971. #define bfd_mach_x86_64 (1 << 3)
  6972. #define bfd_mach_x64_32 (1 << 4)
  6973. #define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
  6974. #define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
  6975. #define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
  6976. bfd_arch_l1om, /* Intel L1OM. */
  6977. #define bfd_mach_l1om (1 << 5)
  6978. #define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syntax)
  6979. bfd_arch_k1om, /* Intel K1OM. */
  6980. #define bfd_mach_k1om (1 << 6)
  6981. #define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
  6982. #define bfd_mach_i386_nacl (1 << 7)
  6983. #define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl)
  6984. #define bfd_mach_x86_64_nacl (bfd_mach_x86_64 | bfd_mach_i386_nacl)
  6985. #define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl)
  6986. bfd_arch_iamcu, /* Intel MCU. */
  6987. #define bfd_mach_iamcu (1 << 8)
  6988. #define bfd_mach_i386_iamcu (bfd_mach_i386_i386 | bfd_mach_iamcu)
  6989. #define bfd_mach_i386_iamcu_intel_syntax (bfd_mach_i386_iamcu | bfd_mach_i386_intel_syntax)
  6990. bfd_arch_romp, /* IBM ROMP PC/RT. */
  6991. bfd_arch_convex, /* Convex. */
  6992. bfd_arch_m98k, /* Motorola 98xxx. */
  6993. bfd_arch_pyramid, /* Pyramid Technology. */
  6994. bfd_arch_h8300, /* Renesas H8/300 (formerly Hitachi H8/300). */
  6995. #define bfd_mach_h8300 1
  6996. #define bfd_mach_h8300h 2
  6997. #define bfd_mach_h8300s 3
  6998. #define bfd_mach_h8300hn 4
  6999. #define bfd_mach_h8300sn 5
  7000. #define bfd_mach_h8300sx 6
  7001. #define bfd_mach_h8300sxn 7
  7002. bfd_arch_pdp11, /* DEC PDP-11. */
  7003. bfd_arch_plugin,
  7004. bfd_arch_powerpc, /* PowerPC. */
  7005. #define bfd_mach_ppc 32
  7006. #define bfd_mach_ppc64 64
  7007. #define bfd_mach_ppc_403 403
  7008. #define bfd_mach_ppc_403gc 4030
  7009. #define bfd_mach_ppc_405 405
  7010. #define bfd_mach_ppc_505 505
  7011. #define bfd_mach_ppc_601 601
  7012. #define bfd_mach_ppc_602 602
  7013. #define bfd_mach_ppc_603 603
  7014. #define bfd_mach_ppc_ec603e 6031
  7015. #define bfd_mach_ppc_604 604
  7016. #define bfd_mach_ppc_620 620
  7017. #define bfd_mach_ppc_630 630
  7018. #define bfd_mach_ppc_750 750
  7019. #define bfd_mach_ppc_860 860
  7020. #define bfd_mach_ppc_a35 35
  7021. #define bfd_mach_ppc_rs64ii 642
  7022. #define bfd_mach_ppc_rs64iii 643
  7023. #define bfd_mach_ppc_7400 7400
  7024. #define bfd_mach_ppc_e500 500
  7025. #define bfd_mach_ppc_e500mc 5001
  7026. #define bfd_mach_ppc_e500mc64 5005
  7027. #define bfd_mach_ppc_e5500 5006
  7028. #define bfd_mach_ppc_e6500 5007
  7029. #define bfd_mach_ppc_titan 83
  7030. #define bfd_mach_ppc_vle 84
  7031. bfd_arch_rs6000, /* IBM RS/6000. */
  7032. #define bfd_mach_rs6k 6000
  7033. #define bfd_mach_rs6k_rs1 6001
  7034. #define bfd_mach_rs6k_rsc 6003
  7035. #define bfd_mach_rs6k_rs2 6002
  7036. bfd_arch_hppa, /* HP PA RISC. */
  7037. #define bfd_mach_hppa10 10
  7038. #define bfd_mach_hppa11 11
  7039. #define bfd_mach_hppa20 20
  7040. #define bfd_mach_hppa20w 25
  7041. bfd_arch_d10v, /* Mitsubishi D10V. */
  7042. #define bfd_mach_d10v 1
  7043. #define bfd_mach_d10v_ts2 2
  7044. #define bfd_mach_d10v_ts3 3
  7045. bfd_arch_d30v, /* Mitsubishi D30V. */
  7046. bfd_arch_dlx, /* DLX. */
  7047. bfd_arch_m68hc11, /* Motorola 68HC11. */
  7048. bfd_arch_m68hc12, /* Motorola 68HC12. */
  7049. #define bfd_mach_m6812_default 0
  7050. #define bfd_mach_m6812 1
  7051. #define bfd_mach_m6812s 2
  7052. bfd_arch_m9s12x, /* Freescale S12X. */
  7053. bfd_arch_m9s12xg, /* Freescale XGATE. */
  7054. bfd_arch_s12z, /* Freescale S12Z. */
  7055. #define bfd_mach_s12z_default 0
  7056. bfd_arch_z8k, /* Zilog Z8000. */
  7057. #define bfd_mach_z8001 1
  7058. #define bfd_mach_z8002 2
  7059. bfd_arch_sh, /* Renesas / SuperH SH (formerly Hitachi SH). */
  7060. #define bfd_mach_sh 1
  7061. #define bfd_mach_sh2 0x20
  7062. #define bfd_mach_sh_dsp 0x2d
  7063. #define bfd_mach_sh2a 0x2a
  7064. #define bfd_mach_sh2a_nofpu 0x2b
  7065. #define bfd_mach_sh2a_nofpu_or_sh4_nommu_nofpu 0x2a1
  7066. #define bfd_mach_sh2a_nofpu_or_sh3_nommu 0x2a2
  7067. #define bfd_mach_sh2a_or_sh4 0x2a3
  7068. #define bfd_mach_sh2a_or_sh3e 0x2a4
  7069. #define bfd_mach_sh2e 0x2e
  7070. #define bfd_mach_sh3 0x30
  7071. #define bfd_mach_sh3_nommu 0x31
  7072. #define bfd_mach_sh3_dsp 0x3d
  7073. #define bfd_mach_sh3e 0x3e
  7074. #define bfd_mach_sh4 0x40
  7075. #define bfd_mach_sh4_nofpu 0x41
  7076. #define bfd_mach_sh4_nommu_nofpu 0x42
  7077. #define bfd_mach_sh4a 0x4a
  7078. #define bfd_mach_sh4a_nofpu 0x4b
  7079. #define bfd_mach_sh4al_dsp 0x4d
  7080. bfd_arch_alpha, /* Dec Alpha. */
  7081. #define bfd_mach_alpha_ev4 0x10
  7082. #define bfd_mach_alpha_ev5 0x20
  7083. #define bfd_mach_alpha_ev6 0x30
  7084. bfd_arch_arm, /* Advanced Risc Machines ARM. */
  7085. #define bfd_mach_arm_unknown 0
  7086. #define bfd_mach_arm_2 1
  7087. #define bfd_mach_arm_2a 2
  7088. #define bfd_mach_arm_3 3
  7089. #define bfd_mach_arm_3M 4
  7090. #define bfd_mach_arm_4 5
  7091. #define bfd_mach_arm_4T 6
  7092. #define bfd_mach_arm_5 7
  7093. #define bfd_mach_arm_5T 8
  7094. #define bfd_mach_arm_5TE 9
  7095. #define bfd_mach_arm_XScale 10
  7096. #define bfd_mach_arm_ep9312 11
  7097. #define bfd_mach_arm_iWMMXt 12
  7098. #define bfd_mach_arm_iWMMXt2 13
  7099. #define bfd_mach_arm_5TEJ 14
  7100. #define bfd_mach_arm_6 15
  7101. #define bfd_mach_arm_6KZ 16
  7102. #define bfd_mach_arm_6T2 17
  7103. #define bfd_mach_arm_6K 18
  7104. #define bfd_mach_arm_7 19
  7105. #define bfd_mach_arm_6M 20
  7106. #define bfd_mach_arm_6SM 21
  7107. #define bfd_mach_arm_7EM 22
  7108. #define bfd_mach_arm_8 23
  7109. #define bfd_mach_arm_8R 24
  7110. #define bfd_mach_arm_8M_BASE 25
  7111. #define bfd_mach_arm_8M_MAIN 26
  7112. bfd_arch_nds32, /* Andes NDS32. */
  7113. #define bfd_mach_n1 1
  7114. #define bfd_mach_n1h 2
  7115. #define bfd_mach_n1h_v2 3
  7116. #define bfd_mach_n1h_v3 4
  7117. #define bfd_mach_n1h_v3m 5
  7118. bfd_arch_ns32k, /* National Semiconductors ns32000. */
  7119. bfd_arch_tic30, /* Texas Instruments TMS320C30. */
  7120. bfd_arch_tic4x, /* Texas Instruments TMS320C3X/4X. */
  7121. #define bfd_mach_tic3x 30
  7122. #define bfd_mach_tic4x 40
  7123. bfd_arch_tic54x, /* Texas Instruments TMS320C54X. */
  7124. bfd_arch_tic6x, /* Texas Instruments TMS320C6X. */
  7125. bfd_arch_tic80, /* TI TMS320c80 (MVP). */
  7126. bfd_arch_v850, /* NEC V850. */
  7127. bfd_arch_v850_rh850,/* NEC V850 (using RH850 ABI). */
  7128. #define bfd_mach_v850 1
  7129. #define bfd_mach_v850e 'E'
  7130. #define bfd_mach_v850e1 '1'
  7131. #define bfd_mach_v850e2 0x4532
  7132. #define bfd_mach_v850e2v3 0x45325633
  7133. #define bfd_mach_v850e3v5 0x45335635 /* ('E'|'3'|'V'|'5'). */
  7134. bfd_arch_arc, /* ARC Cores. */
  7135. #define bfd_mach_arc_a4 0
  7136. #define bfd_mach_arc_a5 1
  7137. #define bfd_mach_arc_arc600 2
  7138. #define bfd_mach_arc_arc601 4
  7139. #define bfd_mach_arc_arc700 3
  7140. #define bfd_mach_arc_arcv2 5
  7141. bfd_arch_m32c, /* Renesas M16C/M32C. */
  7142. #define bfd_mach_m16c 0x75
  7143. #define bfd_mach_m32c 0x78
  7144. bfd_arch_m32r, /* Renesas M32R (formerly Mitsubishi M32R/D). */
  7145. #define bfd_mach_m32r 1 /* For backwards compatibility. */
  7146. #define bfd_mach_m32rx 'x'
  7147. #define bfd_mach_m32r2 '2'
  7148. bfd_arch_mn10200, /* Matsushita MN10200. */
  7149. bfd_arch_mn10300, /* Matsushita MN10300. */
  7150. #define bfd_mach_mn10300 300
  7151. #define bfd_mach_am33 330
  7152. #define bfd_mach_am33_2 332
  7153. bfd_arch_fr30,
  7154. #define bfd_mach_fr30 0x46523330
  7155. bfd_arch_frv,
  7156. #define bfd_mach_frv 1
  7157. #define bfd_mach_frvsimple 2
  7158. #define bfd_mach_fr300 300
  7159. #define bfd_mach_fr400 400
  7160. #define bfd_mach_fr450 450
  7161. #define bfd_mach_frvtomcat 499 /* fr500 prototype. */
  7162. #define bfd_mach_fr500 500
  7163. #define bfd_mach_fr550 550
  7164. bfd_arch_moxie, /* The moxie processor. */
  7165. #define bfd_mach_moxie 1
  7166. bfd_arch_ft32, /* The ft32 processor. */
  7167. #define bfd_mach_ft32 1
  7168. #define bfd_mach_ft32b 2
  7169. bfd_arch_mcore,
  7170. bfd_arch_mep,
  7171. #define bfd_mach_mep 1
  7172. #define bfd_mach_mep_h1 0x6831
  7173. #define bfd_mach_mep_c5 0x6335
  7174. bfd_arch_metag,
  7175. #define bfd_mach_metag 1
  7176. bfd_arch_ia64, /* HP/Intel ia64. */
  7177. #define bfd_mach_ia64_elf64 64
  7178. #define bfd_mach_ia64_elf32 32
  7179. bfd_arch_ip2k, /* Ubicom IP2K microcontrollers. */
  7180. #define bfd_mach_ip2022 1
  7181. #define bfd_mach_ip2022ext 2
  7182. bfd_arch_iq2000, /* Vitesse IQ2000. */
  7183. #define bfd_mach_iq2000 1
  7184. #define bfd_mach_iq10 2
  7185. bfd_arch_epiphany, /* Adapteva EPIPHANY. */
  7186. #define bfd_mach_epiphany16 1
  7187. #define bfd_mach_epiphany32 2
  7188. bfd_arch_mt,
  7189. #define bfd_mach_ms1 1
  7190. #define bfd_mach_mrisc2 2
  7191. #define bfd_mach_ms2 3
  7192. bfd_arch_pj,
  7193. bfd_arch_avr, /* Atmel AVR microcontrollers. */
  7194. #define bfd_mach_avr1 1
  7195. #define bfd_mach_avr2 2
  7196. #define bfd_mach_avr25 25
  7197. #define bfd_mach_avr3 3
  7198. #define bfd_mach_avr31 31
  7199. #define bfd_mach_avr35 35
  7200. #define bfd_mach_avr4 4
  7201. #define bfd_mach_avr5 5
  7202. #define bfd_mach_avr51 51
  7203. #define bfd_mach_avr6 6
  7204. #define bfd_mach_avrtiny 100
  7205. #define bfd_mach_avrxmega1 101
  7206. #define bfd_mach_avrxmega2 102
  7207. #define bfd_mach_avrxmega3 103
  7208. #define bfd_mach_avrxmega4 104
  7209. #define bfd_mach_avrxmega5 105
  7210. #define bfd_mach_avrxmega6 106
  7211. #define bfd_mach_avrxmega7 107
  7212. bfd_arch_bfin, /* ADI Blackfin. */
  7213. #define bfd_mach_bfin 1
  7214. bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */
  7215. #define bfd_mach_cr16 1
  7216. bfd_arch_cr16c, /* National Semiconductor CompactRISC. */
  7217. #define bfd_mach_cr16c 1
  7218. bfd_arch_crx, /* National Semiconductor CRX. */
  7219. #define bfd_mach_crx 1
  7220. bfd_arch_cris, /* Axis CRIS. */
  7221. #define bfd_mach_cris_v0_v10 255
  7222. #define bfd_mach_cris_v32 32
  7223. #define bfd_mach_cris_v10_v32 1032
  7224. bfd_arch_riscv,
  7225. #define bfd_mach_riscv32 132
  7226. #define bfd_mach_riscv64 164
  7227. bfd_arch_rl78,
  7228. #define bfd_mach_rl78 0x75
  7229. bfd_arch_rx, /* Renesas RX. */
  7230. #define bfd_mach_rx 0x75
  7231. #define bfd_mach_rx_v2 0x76
  7232. #define bfd_mach_rx_v3 0x77
  7233. bfd_arch_s390, /* IBM s390. */
  7234. #define bfd_mach_s390_31 31
  7235. #define bfd_mach_s390_64 64
  7236. bfd_arch_score, /* Sunplus score. */
  7237. #define bfd_mach_score3 3
  7238. #define bfd_mach_score7 7
  7239. bfd_arch_mmix, /* Donald Knuth's educational processor. */
  7240. bfd_arch_xstormy16,
  7241. #define bfd_mach_xstormy16 1
  7242. bfd_arch_msp430, /* Texas Instruments MSP430 architecture. */
  7243. #define bfd_mach_msp11 11
  7244. #define bfd_mach_msp110 110
  7245. #define bfd_mach_msp12 12
  7246. #define bfd_mach_msp13 13
  7247. #define bfd_mach_msp14 14
  7248. #define bfd_mach_msp15 15
  7249. #define bfd_mach_msp16 16
  7250. #define bfd_mach_msp20 20
  7251. #define bfd_mach_msp21 21
  7252. #define bfd_mach_msp22 22
  7253. #define bfd_mach_msp23 23
  7254. #define bfd_mach_msp24 24
  7255. #define bfd_mach_msp26 26
  7256. #define bfd_mach_msp31 31
  7257. #define bfd_mach_msp32 32
  7258. #define bfd_mach_msp33 33
  7259. #define bfd_mach_msp41 41
  7260. #define bfd_mach_msp42 42
  7261. #define bfd_mach_msp43 43
  7262. #define bfd_mach_msp44 44
  7263. #define bfd_mach_msp430x 45
  7264. #define bfd_mach_msp46 46
  7265. #define bfd_mach_msp47 47
  7266. #define bfd_mach_msp54 54
  7267. bfd_arch_xc16x, /* Infineon's XC16X Series. */
  7268. #define bfd_mach_xc16x 1
  7269. #define bfd_mach_xc16xl 2
  7270. #define bfd_mach_xc16xs 3
  7271. bfd_arch_xgate, /* Freescale XGATE. */
  7272. #define bfd_mach_xgate 1
  7273. bfd_arch_xtensa, /* Tensilica's Xtensa cores. */
  7274. #define bfd_mach_xtensa 1
  7275. bfd_arch_z80,
  7276. #define bfd_mach_z80strict 1 /* No undocumented opcodes. */
  7277. #define bfd_mach_z80 3 /* With ixl, ixh, iyl, and iyh. */
  7278. #define bfd_mach_z80full 7 /* All undocumented instructions. */
  7279. #define bfd_mach_r800 11 /* R800: successor with multiplication. */
  7280. bfd_arch_lm32, /* Lattice Mico32. */
  7281. #define bfd_mach_lm32 1
  7282. bfd_arch_microblaze,/* Xilinx MicroBlaze. */
  7283. bfd_arch_tilepro, /* Tilera TILEPro. */
  7284. bfd_arch_tilegx, /* Tilera TILE-Gx. */
  7285. #define bfd_mach_tilepro 1
  7286. #define bfd_mach_tilegx 1
  7287. #define bfd_mach_tilegx32 2
  7288. bfd_arch_aarch64, /* AArch64. */
  7289. #define bfd_mach_aarch64 0
  7290. #define bfd_mach_aarch64_ilp32 32
  7291. bfd_arch_nios2, /* Nios II. */
  7292. #define bfd_mach_nios2 0
  7293. #define bfd_mach_nios2r1 1
  7294. #define bfd_mach_nios2r2 2
  7295. bfd_arch_visium, /* Visium. */
  7296. #define bfd_mach_visium 1
  7297. bfd_arch_wasm32, /* WebAssembly. */
  7298. #define bfd_mach_wasm32 1
  7299. bfd_arch_pru, /* PRU. */
  7300. #define bfd_mach_pru 0
  7301. bfd_arch_nfp, /* Netronome Flow Processor */
  7302. #define bfd_mach_nfp3200 0x3200
  7303. #define bfd_mach_nfp6000 0x6000
  7304. bfd_arch_csky, /* C-SKY. */
  7305. #define bfd_mach_ck_unknown 0
  7306. #define bfd_mach_ck510 1
  7307. #define bfd_mach_ck610 2
  7308. #define bfd_mach_ck801 3
  7309. #define bfd_mach_ck802 4
  7310. #define bfd_mach_ck803 5
  7311. #define bfd_mach_ck807 6
  7312. #define bfd_mach_ck810 7
  7313. bfd_arch_last
  7314. };
  7315. 2.13.2 bfd_arch_info
  7316. --------------------
  7317. *Description*
  7318. This structure contains information on architectures for use within BFD.
  7319. typedef struct bfd_arch_info
  7320. {
  7321. int bits_per_word;
  7322. int bits_per_address;
  7323. int bits_per_byte;
  7324. enum bfd_architecture arch;
  7325. unsigned long mach;
  7326. const char *arch_name;
  7327. const char *printable_name;
  7328. unsigned int section_align_power;
  7329. /* TRUE if this is the default machine for the architecture.
  7330. The default arch should be the first entry for an arch so that
  7331. all the entries for that arch can be accessed via next. */
  7332. bfd_boolean the_default;
  7333. const struct bfd_arch_info * (*compatible) (const struct bfd_arch_info *,
  7334. const struct bfd_arch_info *);
  7335. bfd_boolean (*scan) (const struct bfd_arch_info *, const char *);
  7336. /* Allocate via bfd_malloc and return a fill buffer of size COUNT. If
  7337. IS_BIGENDIAN is TRUE, the order of bytes is big endian. If CODE is
  7338. TRUE, the buffer contains code. */
  7339. void *(*fill) (bfd_size_type count, bfd_boolean is_bigendian,
  7340. bfd_boolean code);
  7341. const struct bfd_arch_info *next;
  7342. }
  7343. bfd_arch_info_type;
  7344. 2.13.2.1 'bfd_printable_name'
  7345. .............................
  7346. *Synopsis*
  7347. const char *bfd_printable_name (bfd *abfd);
  7348. *Description*
  7349. Return a printable string representing the architecture and machine from
  7350. the pointer to the architecture info structure.
  7351. 2.13.2.2 'bfd_scan_arch'
  7352. ........................
  7353. *Synopsis*
  7354. const bfd_arch_info_type *bfd_scan_arch (const char *string);
  7355. *Description*
  7356. Figure out if BFD supports any cpu which could be described with the
  7357. name STRING. Return a pointer to an 'arch_info' structure if a machine
  7358. is found, otherwise NULL.
  7359. 2.13.2.3 'bfd_arch_list'
  7360. ........................
  7361. *Synopsis*
  7362. const char **bfd_arch_list (void);
  7363. *Description*
  7364. Return a freshly malloced NULL-terminated vector of the names of all the
  7365. valid BFD architectures. Do not modify the names.
  7366. 2.13.2.4 'bfd_arch_get_compatible'
  7367. ..................................
  7368. *Synopsis*
  7369. const bfd_arch_info_type *bfd_arch_get_compatible
  7370. (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
  7371. *Description*
  7372. Determine whether two BFDs' architectures and machine types are
  7373. compatible. Calculates the lowest common denominator between the two
  7374. architectures and machine types implied by the BFDs and returns a
  7375. pointer to an 'arch_info' structure describing the compatible machine.
  7376. 2.13.2.5 'bfd_default_arch_struct'
  7377. ..................................
  7378. *Description*
  7379. The 'bfd_default_arch_struct' is an item of 'bfd_arch_info_type' which
  7380. has been initialized to a fairly generic state. A BFD starts life by
  7381. pointing to this structure, until the correct back end has determined
  7382. the real architecture of the file.
  7383. extern const bfd_arch_info_type bfd_default_arch_struct;
  7384. 2.13.2.6 'bfd_set_arch_info'
  7385. ............................
  7386. *Synopsis*
  7387. void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg);
  7388. *Description*
  7389. Set the architecture info of ABFD to ARG.
  7390. 2.13.2.7 'bfd_default_set_arch_mach'
  7391. ....................................
  7392. *Synopsis*
  7393. bfd_boolean bfd_default_set_arch_mach
  7394. (bfd *abfd, enum bfd_architecture arch, unsigned long mach);
  7395. *Description*
  7396. Set the architecture and machine type in BFD ABFD to ARCH and MACH.
  7397. Find the correct pointer to a structure and insert it into the
  7398. 'arch_info' pointer.
  7399. 2.13.2.8 'bfd_get_arch'
  7400. .......................
  7401. *Synopsis*
  7402. enum bfd_architecture bfd_get_arch (bfd *abfd);
  7403. *Description*
  7404. Return the enumerated type which describes the BFD ABFD's architecture.
  7405. 2.13.2.9 'bfd_get_mach'
  7406. .......................
  7407. *Synopsis*
  7408. unsigned long bfd_get_mach (bfd *abfd);
  7409. *Description*
  7410. Return the long type which describes the BFD ABFD's machine.
  7411. 2.13.2.10 'bfd_arch_bits_per_byte'
  7412. ..................................
  7413. *Synopsis*
  7414. unsigned int bfd_arch_bits_per_byte (bfd *abfd);
  7415. *Description*
  7416. Return the number of bits in one of the BFD ABFD's architecture's bytes.
  7417. 2.13.2.11 'bfd_arch_bits_per_address'
  7418. .....................................
  7419. *Synopsis*
  7420. unsigned int bfd_arch_bits_per_address (bfd *abfd);
  7421. *Description*
  7422. Return the number of bits in one of the BFD ABFD's architecture's
  7423. addresses.
  7424. 2.13.2.12 'bfd_default_compatible'
  7425. ..................................
  7426. *Synopsis*
  7427. const bfd_arch_info_type *bfd_default_compatible
  7428. (const bfd_arch_info_type *a, const bfd_arch_info_type *b);
  7429. *Description*
  7430. The default function for testing for compatibility.
  7431. 2.13.2.13 'bfd_default_scan'
  7432. ............................
  7433. *Synopsis*
  7434. bfd_boolean bfd_default_scan
  7435. (const struct bfd_arch_info *info, const char *string);
  7436. *Description*
  7437. The default function for working out whether this is an architecture hit
  7438. and a machine hit.
  7439. 2.13.2.14 'bfd_get_arch_info'
  7440. .............................
  7441. *Synopsis*
  7442. const bfd_arch_info_type *bfd_get_arch_info (bfd *abfd);
  7443. *Description*
  7444. Return the architecture info struct in ABFD.
  7445. 2.13.2.15 'bfd_lookup_arch'
  7446. ...........................
  7447. *Synopsis*
  7448. const bfd_arch_info_type *bfd_lookup_arch
  7449. (enum bfd_architecture arch, unsigned long machine);
  7450. *Description*
  7451. Look for the architecture info structure which matches the arguments
  7452. ARCH and MACHINE. A machine of 0 matches the machine/architecture
  7453. structure which marks itself as the default.
  7454. 2.13.2.16 'bfd_printable_arch_mach'
  7455. ...................................
  7456. *Synopsis*
  7457. const char *bfd_printable_arch_mach
  7458. (enum bfd_architecture arch, unsigned long machine);
  7459. *Description*
  7460. Return a printable string representing the architecture and machine
  7461. type.
  7462. This routine is depreciated.
  7463. 2.13.2.17 'bfd_octets_per_byte'
  7464. ...............................
  7465. *Synopsis*
  7466. unsigned int bfd_octets_per_byte (bfd *abfd);
  7467. *Description*
  7468. Return the number of octets (8-bit quantities) per target byte (minimum
  7469. addressable unit). In most cases, this will be one, but some DSP
  7470. targets have 16, 32, or even 48 bits per byte.
  7471. 2.13.2.18 'bfd_arch_mach_octets_per_byte'
  7472. .........................................
  7473. *Synopsis*
  7474. unsigned int bfd_arch_mach_octets_per_byte
  7475. (enum bfd_architecture arch, unsigned long machine);
  7476. *Description*
  7477. See bfd_octets_per_byte.
  7478. This routine is provided for those cases where a bfd * is not
  7479. available
  7480. 2.13.2.19 'bfd_arch_default_fill'
  7481. .................................
  7482. *Synopsis*
  7483. void *bfd_arch_default_fill (bfd_size_type count,
  7484. bfd_boolean is_bigendian,
  7485. bfd_boolean code);
  7486. *Description*
  7487. Allocate via bfd_malloc and return a fill buffer of size COUNT. If
  7488. IS_BIGENDIAN is TRUE, the order of bytes is big endian. If CODE is
  7489. TRUE, the buffer contains code.
  7490. 
  7491. File: bfd.info, Node: Opening and Closing, Next: Internal, Prev: Architectures, Up: BFD front end
  7492. /* Set to N to open the next N BFDs using an alternate id space. */
  7493. extern unsigned int bfd_use_reserved_id;
  7494. 2.14 Opening and closing BFDs
  7495. =============================
  7496. 2.14.1 Functions for opening and closing
  7497. ----------------------------------------
  7498. 2.14.1.1 'bfd_fopen'
  7499. ....................
  7500. *Synopsis*
  7501. bfd *bfd_fopen (const char *filename, const char *target,
  7502. const char *mode, int fd);
  7503. *Description*
  7504. Open the file FILENAME with the target TARGET. Return a pointer to the
  7505. created BFD. If FD is not -1, then 'fdopen' is used to open the file;
  7506. otherwise, 'fopen' is used. MODE is passed directly to 'fopen' or
  7507. 'fdopen'.
  7508. Calls 'bfd_find_target', so TARGET is interpreted as by that
  7509. function.
  7510. The new BFD is marked as cacheable iff FD is -1.
  7511. If 'NULL' is returned then an error has occured. Possible errors are
  7512. 'bfd_error_no_memory', 'bfd_error_invalid_target' or 'system_call'
  7513. error.
  7514. On error, FD is always closed.
  7515. A copy of the FILENAME argument is stored in the newly created BFD.
  7516. It can be accessed via the bfd_get_filename() macro.
  7517. 2.14.1.2 'bfd_openr'
  7518. ....................
  7519. *Synopsis*
  7520. bfd *bfd_openr (const char *filename, const char *target);
  7521. *Description*
  7522. Open the file FILENAME (using 'fopen') with the target TARGET. Return a
  7523. pointer to the created BFD.
  7524. Calls 'bfd_find_target', so TARGET is interpreted as by that
  7525. function.
  7526. If 'NULL' is returned then an error has occured. Possible errors are
  7527. 'bfd_error_no_memory', 'bfd_error_invalid_target' or 'system_call'
  7528. error.
  7529. A copy of the FILENAME argument is stored in the newly created BFD.
  7530. It can be accessed via the bfd_get_filename() macro.
  7531. 2.14.1.3 'bfd_fdopenr'
  7532. ......................
  7533. *Synopsis*
  7534. bfd *bfd_fdopenr (const char *filename, const char *target, int fd);
  7535. *Description*
  7536. 'bfd_fdopenr' is to 'bfd_fopenr' much like 'fdopen' is to 'fopen'. It
  7537. opens a BFD on a file already described by the FD supplied.
  7538. When the file is later 'bfd_close'd, the file descriptor will be
  7539. closed. If the caller desires that this file descriptor be cached by
  7540. BFD (opened as needed, closed as needed to free descriptors for other
  7541. opens), with the supplied FD used as an initial file descriptor (but
  7542. subject to closure at any time), call bfd_set_cacheable(bfd, 1) on the
  7543. returned BFD. The default is to assume no caching; the file descriptor
  7544. will remain open until 'bfd_close', and will not be affected by BFD
  7545. operations on other files.
  7546. Possible errors are 'bfd_error_no_memory', 'bfd_error_invalid_target'
  7547. and 'bfd_error_system_call'.
  7548. On error, FD is closed.
  7549. A copy of the FILENAME argument is stored in the newly created BFD.
  7550. It can be accessed via the bfd_get_filename() macro.
  7551. 2.14.1.4 'bfd_openstreamr'
  7552. ..........................
  7553. *Synopsis*
  7554. bfd *bfd_openstreamr (const char * filename, const char * target,
  7555. void * stream);
  7556. *Description*
  7557. Open a BFD for read access on an existing stdio stream. When the BFD is
  7558. passed to 'bfd_close', the stream will be closed.
  7559. A copy of the FILENAME argument is stored in the newly created BFD.
  7560. It can be accessed via the bfd_get_filename() macro.
  7561. 2.14.1.5 'bfd_openr_iovec'
  7562. ..........................
  7563. *Synopsis*
  7564. bfd *bfd_openr_iovec (const char *filename, const char *target,
  7565. void *(*open_func) (struct bfd *nbfd,
  7566. void *open_closure),
  7567. void *open_closure,
  7568. file_ptr (*pread_func) (struct bfd *nbfd,
  7569. void *stream,
  7570. void *buf,
  7571. file_ptr nbytes,
  7572. file_ptr offset),
  7573. int (*close_func) (struct bfd *nbfd,
  7574. void *stream),
  7575. int (*stat_func) (struct bfd *abfd,
  7576. void *stream,
  7577. struct stat *sb));
  7578. *Description*
  7579. Create and return a BFD backed by a read-only STREAM. The STREAM is
  7580. created using OPEN_FUNC, accessed using PREAD_FUNC and destroyed using
  7581. CLOSE_FUNC.
  7582. Calls 'bfd_find_target', so TARGET is interpreted as by that
  7583. function.
  7584. Calls OPEN_FUNC (which can call 'bfd_zalloc' and 'bfd_get_filename')
  7585. to obtain the read-only stream backing the BFD. OPEN_FUNC either
  7586. succeeds returning the non-'NULL' STREAM, or fails returning 'NULL'
  7587. (setting 'bfd_error').
  7588. Calls PREAD_FUNC to request NBYTES of data from STREAM starting at
  7589. OFFSET (e.g., via a call to 'bfd_read'). PREAD_FUNC either succeeds
  7590. returning the number of bytes read (which can be less than NBYTES when
  7591. end-of-file), or fails returning -1 (setting 'bfd_error').
  7592. Calls CLOSE_FUNC when the BFD is later closed using 'bfd_close'.
  7593. CLOSE_FUNC either succeeds returning 0, or fails returning -1 (setting
  7594. 'bfd_error').
  7595. Calls STAT_FUNC to fill in a stat structure for bfd_stat,
  7596. bfd_get_size, and bfd_get_mtime calls. STAT_FUNC returns 0 on success,
  7597. or returns -1 on failure (setting 'bfd_error').
  7598. If 'bfd_openr_iovec' returns 'NULL' then an error has occurred.
  7599. Possible errors are 'bfd_error_no_memory', 'bfd_error_invalid_target'
  7600. and 'bfd_error_system_call'.
  7601. A copy of the FILENAME argument is stored in the newly created BFD.
  7602. It can be accessed via the bfd_get_filename() macro.
  7603. 2.14.1.6 'bfd_openw'
  7604. ....................
  7605. *Synopsis*
  7606. bfd *bfd_openw (const char *filename, const char *target);
  7607. *Description*
  7608. Create a BFD, associated with file FILENAME, using the file format
  7609. TARGET, and return a pointer to it.
  7610. Possible errors are 'bfd_error_system_call', 'bfd_error_no_memory',
  7611. 'bfd_error_invalid_target'.
  7612. A copy of the FILENAME argument is stored in the newly created BFD.
  7613. It can be accessed via the bfd_get_filename() macro.
  7614. 2.14.1.7 'bfd_close'
  7615. ....................
  7616. *Synopsis*
  7617. bfd_boolean bfd_close (bfd *abfd);
  7618. *Description*
  7619. Close a BFD. If the BFD was open for writing, then pending operations
  7620. are completed and the file written out and closed. If the created file
  7621. is executable, then 'chmod' is called to mark it as such.
  7622. All memory attached to the BFD is released.
  7623. The file descriptor associated with the BFD is closed (even if it was
  7624. passed in to BFD by 'bfd_fdopenr').
  7625. *Returns*
  7626. 'TRUE' is returned if all is ok, otherwise 'FALSE'.
  7627. 2.14.1.8 'bfd_close_all_done'
  7628. .............................
  7629. *Synopsis*
  7630. bfd_boolean bfd_close_all_done (bfd *);
  7631. *Description*
  7632. Close a BFD. Differs from 'bfd_close' since it does not complete any
  7633. pending operations. This routine would be used if the application had
  7634. just used BFD for swapping and didn't want to use any of the writing
  7635. code.
  7636. If the created file is executable, then 'chmod' is called to mark it
  7637. as such.
  7638. All memory attached to the BFD is released.
  7639. *Returns*
  7640. 'TRUE' is returned if all is ok, otherwise 'FALSE'.
  7641. 2.14.1.9 'bfd_create'
  7642. .....................
  7643. *Synopsis*
  7644. bfd *bfd_create (const char *filename, bfd *templ);
  7645. *Description*
  7646. Create a new BFD in the manner of 'bfd_openw', but without opening a
  7647. file. The new BFD takes the target from the target used by TEMPL. The
  7648. format is always set to 'bfd_object'.
  7649. A copy of the FILENAME argument is stored in the newly created BFD.
  7650. It can be accessed via the bfd_get_filename() macro.
  7651. 2.14.1.10 'bfd_make_writable'
  7652. .............................
  7653. *Synopsis*
  7654. bfd_boolean bfd_make_writable (bfd *abfd);
  7655. *Description*
  7656. Takes a BFD as created by 'bfd_create' and converts it into one like as
  7657. returned by 'bfd_openw'. It does this by converting the BFD to
  7658. BFD_IN_MEMORY. It's assumed that you will call 'bfd_make_readable' on
  7659. this bfd later.
  7660. *Returns*
  7661. 'TRUE' is returned if all is ok, otherwise 'FALSE'.
  7662. 2.14.1.11 'bfd_make_readable'
  7663. .............................
  7664. *Synopsis*
  7665. bfd_boolean bfd_make_readable (bfd *abfd);
  7666. *Description*
  7667. Takes a BFD as created by 'bfd_create' and 'bfd_make_writable' and
  7668. converts it into one like as returned by 'bfd_openr'. It does this by
  7669. writing the contents out to the memory buffer, then reversing the
  7670. direction.
  7671. *Returns*
  7672. 'TRUE' is returned if all is ok, otherwise 'FALSE'.
  7673. 2.14.1.12 'bfd_alloc'
  7674. .....................
  7675. *Synopsis*
  7676. void *bfd_alloc (bfd *abfd, bfd_size_type wanted);
  7677. *Description*
  7678. Allocate a block of WANTED bytes of memory attached to 'abfd' and return
  7679. a pointer to it.
  7680. 2.14.1.13 'bfd_alloc2'
  7681. ......................
  7682. *Synopsis*
  7683. void *bfd_alloc2 (bfd *abfd, bfd_size_type nmemb, bfd_size_type size);
  7684. *Description*
  7685. Allocate a block of NMEMB elements of SIZE bytes each of memory attached
  7686. to 'abfd' and return a pointer to it.
  7687. 2.14.1.14 'bfd_zalloc'
  7688. ......................
  7689. *Synopsis*
  7690. void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
  7691. *Description*
  7692. Allocate a block of WANTED bytes of zeroed memory attached to 'abfd' and
  7693. return a pointer to it.
  7694. 2.14.1.15 'bfd_zalloc2'
  7695. .......................
  7696. *Synopsis*
  7697. void *bfd_zalloc2 (bfd *abfd, bfd_size_type nmemb, bfd_size_type size);
  7698. *Description*
  7699. Allocate a block of NMEMB elements of SIZE bytes each of zeroed memory
  7700. attached to 'abfd' and return a pointer to it.
  7701. 2.14.1.16 'bfd_calc_gnu_debuglink_crc32'
  7702. ........................................
  7703. *Synopsis*
  7704. unsigned long bfd_calc_gnu_debuglink_crc32
  7705. (unsigned long crc, const unsigned char *buf, bfd_size_type len);
  7706. *Description*
  7707. Computes a CRC value as used in the .gnu_debuglink section. Advances
  7708. the previously computed CRC value by computing and adding in the crc32
  7709. for LEN bytes of BUF.
  7710. *Returns*
  7711. Return the updated CRC32 value.
  7712. 2.14.1.17 'bfd_get_debug_link_info_1'
  7713. .....................................
  7714. *Synopsis*
  7715. char *bfd_get_debug_link_info_1 (bfd *abfd, void *crc32_out);
  7716. *Description*
  7717. Extracts the filename and CRC32 value for any separate debug information
  7718. file associated with ABFD.
  7719. The CRC32_OUT parameter is an untyped pointer because this routine is
  7720. used as a 'get_func_type' function, but it is expected to be an unsigned
  7721. long pointer.
  7722. *Returns*
  7723. The filename of the associated debug information file, or NULL if there
  7724. is no such file. If the filename was found then the contents of
  7725. CRC32_OUT are updated to hold the corresponding CRC32 value for the
  7726. file.
  7727. The returned filename is allocated with 'malloc'; freeing it is the
  7728. responsibility of the caller.
  7729. 2.14.1.18 'bfd_get_debug_link_info'
  7730. ...................................
  7731. *Synopsis*
  7732. char *bfd_get_debug_link_info (bfd *abfd, unsigned long *crc32_out);
  7733. *Description*
  7734. Extracts the filename and CRC32 value for any separate debug information
  7735. file associated with ABFD.
  7736. *Returns*
  7737. The filename of the associated debug information file, or NULL if there
  7738. is no such file. If the filename was found then the contents of
  7739. CRC32_OUT are updated to hold the corresponding CRC32 value for the
  7740. file.
  7741. The returned filename is allocated with 'malloc'; freeing it is the
  7742. responsibility of the caller.
  7743. 2.14.1.19 'bfd_get_alt_debug_link_info'
  7744. .......................................
  7745. *Synopsis*
  7746. char *bfd_get_alt_debug_link_info (bfd * abfd,
  7747. bfd_size_type *buildid_len,
  7748. bfd_byte **buildid_out);
  7749. *Description*
  7750. Fetch the filename and BuildID value for any alternate debuginfo
  7751. associated with ABFD. Return NULL if no such info found, otherwise
  7752. return filename and update BUILDID_LEN and BUILDID_OUT. The returned
  7753. filename and build_id are allocated with 'malloc'; freeing them is the
  7754. responsibility of the caller.
  7755. 2.14.1.20 'separate_debug_file_exists'
  7756. ......................................
  7757. *Synopsis*
  7758. bfd_boolean separate_debug_file_exists
  7759. (char *name, void *crc32_p);
  7760. *Description*
  7761. Checks to see if NAME is a file and if its contents match CRC32, which
  7762. is a pointer to an 'unsigned long' containing a CRC32.
  7763. The CRC32_P parameter is an untyped pointer because this routine is
  7764. used as a 'check_func_type' function.
  7765. 2.14.1.21 'separate_alt_debug_file_exists'
  7766. ..........................................
  7767. *Synopsis*
  7768. bfd_boolean separate_alt_debug_file_exists
  7769. (char *name, void *unused);
  7770. *Description*
  7771. Checks to see if NAME is a file.
  7772. 2.14.1.22 'find_separate_debug_file'
  7773. ....................................
  7774. *Synopsis*
  7775. char *find_separate_debug_file
  7776. (bfd *abfd, const char *dir, bfd_boolean include_dirs,
  7777. get_func_type get, check_func_type check, void *data);
  7778. *Description*
  7779. Searches for a debug information file corresponding to ABFD.
  7780. The name of the separate debug info file is returned by the GET
  7781. function. This function scans various fixed locations in the
  7782. filesystem, including the file tree rooted at DIR. If the INCLUDE_DIRS
  7783. parameter is true then the directory components of ABFD's filename will
  7784. be included in the searched locations.
  7785. DATA is passed unmodified to the GET and CHECK functions. It is
  7786. generally used to implement build-id-like matching in the callback
  7787. functions.
  7788. *Returns*
  7789. Returns the filename of the first file to be found which receives a TRUE
  7790. result from the CHECK function. Returns NULL if no valid file could be
  7791. found.
  7792. 2.14.1.23 'bfd_follow_gnu_debuglink'
  7793. ....................................
  7794. *Synopsis*
  7795. char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
  7796. *Description*
  7797. Takes a BFD and searches it for a .gnu_debuglink section. If this
  7798. section is found, it examines the section for the name and checksum of a
  7799. '.debug' file containing auxiliary debugging information. It then
  7800. searches the filesystem for this .debug file in some standard locations,
  7801. including the directory tree rooted at DIR, and if found returns the
  7802. full filename.
  7803. If DIR is NULL, the search will take place starting at the current
  7804. directory.
  7805. *Returns*
  7806. 'NULL' on any errors or failure to locate the .debug file, otherwise a
  7807. pointer to a heap-allocated string containing the filename. The caller
  7808. is responsible for freeing this string.
  7809. 2.14.1.24 'bfd_follow_gnu_debugaltlink'
  7810. .......................................
  7811. *Synopsis*
  7812. char *bfd_follow_gnu_debugaltlink (bfd *abfd, const char *dir);
  7813. *Description*
  7814. Takes a BFD and searches it for a .gnu_debugaltlink section. If this
  7815. section is found, it examines the section for the name of a file
  7816. containing auxiliary debugging information. It then searches the
  7817. filesystem for this file in a set of standard locations, including the
  7818. directory tree rooted at DIR, and if found returns the full filename.
  7819. If DIR is NULL, the search will take place starting at the current
  7820. directory.
  7821. *Returns*
  7822. 'NULL' on any errors or failure to locate the debug file, otherwise a
  7823. pointer to a heap-allocated string containing the filename. The caller
  7824. is responsible for freeing this string.
  7825. 2.14.1.25 'bfd_create_gnu_debuglink_section'
  7826. ............................................
  7827. *Synopsis*
  7828. struct bfd_section *bfd_create_gnu_debuglink_section
  7829. (bfd *abfd, const char *filename);
  7830. *Description*
  7831. Takes a BFD and adds a .gnu_debuglink section to it. The section is
  7832. sized to be big enough to contain a link to the specified FILENAME.
  7833. *Returns*
  7834. A pointer to the new section is returned if all is ok. Otherwise 'NULL'
  7835. is returned and bfd_error is set.
  7836. 2.14.1.26 'bfd_fill_in_gnu_debuglink_section'
  7837. .............................................
  7838. *Synopsis*
  7839. bfd_boolean bfd_fill_in_gnu_debuglink_section
  7840. (bfd *abfd, struct bfd_section *sect, const char *filename);
  7841. *Description*
  7842. Takes a BFD and containing a .gnu_debuglink section SECT and fills in
  7843. the contents of the section to contain a link to the specified FILENAME.
  7844. The filename should be relative to the current directory.
  7845. *Returns*
  7846. 'TRUE' is returned if all is ok. Otherwise 'FALSE' is returned and
  7847. bfd_error is set.
  7848. 2.14.1.27 'get_build_id'
  7849. ........................
  7850. *Synopsis*
  7851. struct bfd_build_id * get_build_id (bfd *abfd);
  7852. *Description*
  7853. Finds the build-id associated with ABFD. If the build-id is extracted
  7854. from the note section then a build-id structure is built for it, using
  7855. memory allocated to ABFD, and this is then attached to the ABFD.
  7856. *Returns*
  7857. Returns a pointer to the build-id structure if a build-id could be
  7858. found. If no build-id is found NULL is returned and error code is set.
  7859. 2.14.1.28 'get_build_id_name'
  7860. .............................
  7861. *Synopsis*
  7862. char * get_build_id_name (bfd *abfd, void *build_id_out_p)
  7863. *Description*
  7864. Searches ABFD for a build-id, and then constructs a pathname from it.
  7865. The path is computed as .build-id/NN/NN+NN.debug where NNNN+NN is the
  7866. build-id value as a hexadecimal string.
  7867. *Returns*
  7868. Returns the constructed filename or NULL upon error. It is the caller's
  7869. responsibility to free the memory used to hold the filename. If a
  7870. filename is returned then the BUILD_ID_OUT_P parameter (which points to
  7871. a 'struct bfd_build_id' pointer) is set to a pointer to the build_id
  7872. structure.
  7873. 2.14.1.29 'check_build_id_file'
  7874. ...............................
  7875. *Synopsis*
  7876. bfd_boolean check_build_id_file (char *name, void *buildid_p);
  7877. *Description*
  7878. Checks to see if NAME is a readable file and if its build-id matches
  7879. BUILDID.
  7880. *Returns*
  7881. Returns TRUE if the file exists, is readable, and contains a build-id
  7882. which matches the build-id pointed at by BUILD_ID_P (which is really a
  7883. 'struct bfd_build_id **').
  7884. 2.14.1.30 'bfd_follow_build_id_debuglink'
  7885. .........................................
  7886. *Synopsis*
  7887. char *bfd_follow_build_id_debuglink (bfd *abfd, const char *dir);
  7888. *Description*
  7889. Takes ABFD and searches it for a .note.gnu.build-id section. If this
  7890. section is found, it extracts the value of the NT_GNU_BUILD_ID note,
  7891. which should be a hexadecimal value NNNN+NN (for 32+ hex digits). It
  7892. then searches the filesystem for a file named .BUILD-ID/NN/NN+NN.DEBUG
  7893. in a set of standard locations, including the directory tree rooted at
  7894. DIR. The filename of the first matching file to be found is returned.
  7895. A matching file should contain a .note.gnu.build-id section with the
  7896. same NNNN+NN note as ABFD, although this check is currently not
  7897. implemented.
  7898. If DIR is NULL, the search will take place starting at the current
  7899. directory.
  7900. *Returns*
  7901. 'NULL' on any errors or failure to locate the debug file, otherwise a
  7902. pointer to a heap-allocated string containing the filename. The caller
  7903. is responsible for freeing this string.
  7904. 
  7905. File: bfd.info, Node: Internal, Next: File Caching, Prev: Opening and Closing, Up: BFD front end
  7906. 2.15 Implementation details
  7907. ===========================
  7908. 2.15.1 Internal functions
  7909. -------------------------
  7910. *Description*
  7911. These routines are used within BFD. They are not intended for export,
  7912. but are documented here for completeness.
  7913. 2.15.1.1 'bfd_write_bigendian_4byte_int'
  7914. ........................................
  7915. *Synopsis*
  7916. bfd_boolean bfd_write_bigendian_4byte_int (bfd *, unsigned int);
  7917. *Description*
  7918. Write a 4 byte integer I to the output BFD ABFD, in big endian order
  7919. regardless of what else is going on. This is useful in archives.
  7920. 2.15.1.2 'bfd_put_size'
  7921. .......................
  7922. 2.15.1.3 'bfd_get_size'
  7923. .......................
  7924. *Description*
  7925. These macros as used for reading and writing raw data in sections; each
  7926. access (except for bytes) is vectored through the target format of the
  7927. BFD and mangled accordingly. The mangling performs any necessary endian
  7928. translations and removes alignment restrictions. Note that types
  7929. accepted and returned by these macros are identical so they can be
  7930. swapped around in macros--for example, 'libaout.h' defines 'GET_WORD' to
  7931. either 'bfd_get_32' or 'bfd_get_64'.
  7932. In the put routines, VAL must be a 'bfd_vma'. If we are on a system
  7933. without prototypes, the caller is responsible for making sure that is
  7934. true, with a cast if necessary. We don't cast them in the macro
  7935. definitions because that would prevent 'lint' or 'gcc -Wall' from
  7936. detecting sins such as passing a pointer. To detect calling these with
  7937. less than a 'bfd_vma', use 'gcc -Wconversion' on a host with 64 bit
  7938. 'bfd_vma''s.
  7939. /* Byte swapping macros for user section data. */
  7940. #define bfd_put_8(abfd, val, ptr) \
  7941. ((void) (*((unsigned char *) (ptr)) = (val) & 0xff))
  7942. #define bfd_put_signed_8 \
  7943. bfd_put_8
  7944. #define bfd_get_8(abfd, ptr) \
  7945. (*(const unsigned char *) (ptr) & 0xff)
  7946. #define bfd_get_signed_8(abfd, ptr) \
  7947. (((*(const unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
  7948. #define bfd_put_16(abfd, val, ptr) \
  7949. BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
  7950. #define bfd_put_signed_16 \
  7951. bfd_put_16
  7952. #define bfd_get_16(abfd, ptr) \
  7953. BFD_SEND (abfd, bfd_getx16, (ptr))
  7954. #define bfd_get_signed_16(abfd, ptr) \
  7955. BFD_SEND (abfd, bfd_getx_signed_16, (ptr))
  7956. #define bfd_put_24(abfd, val, ptr) \
  7957. do \
  7958. if (bfd_big_endian (abfd)) \
  7959. bfd_putb24 ((val), (ptr)); \
  7960. else \
  7961. bfd_putl24 ((val), (ptr)); \
  7962. while (0)
  7963. bfd_vma bfd_getb24 (const void *p);
  7964. bfd_vma bfd_getl24 (const void *p);
  7965. #define bfd_get_24(abfd, ptr) \
  7966. (bfd_big_endian (abfd) ? bfd_getb24 (ptr) : bfd_getl24 (ptr))
  7967. #define bfd_put_32(abfd, val, ptr) \
  7968. BFD_SEND (abfd, bfd_putx32, ((val),(ptr)))
  7969. #define bfd_put_signed_32 \
  7970. bfd_put_32
  7971. #define bfd_get_32(abfd, ptr) \
  7972. BFD_SEND (abfd, bfd_getx32, (ptr))
  7973. #define bfd_get_signed_32(abfd, ptr) \
  7974. BFD_SEND (abfd, bfd_getx_signed_32, (ptr))
  7975. #define bfd_put_64(abfd, val, ptr) \
  7976. BFD_SEND (abfd, bfd_putx64, ((val), (ptr)))
  7977. #define bfd_put_signed_64 \
  7978. bfd_put_64
  7979. #define bfd_get_64(abfd, ptr) \
  7980. BFD_SEND (abfd, bfd_getx64, (ptr))
  7981. #define bfd_get_signed_64(abfd, ptr) \
  7982. BFD_SEND (abfd, bfd_getx_signed_64, (ptr))
  7983. #define bfd_get(bits, abfd, ptr) \
  7984. ((bits) == 8 ? (bfd_vma) bfd_get_8 (abfd, ptr) \
  7985. : (bits) == 16 ? bfd_get_16 (abfd, ptr) \
  7986. : (bits) == 32 ? bfd_get_32 (abfd, ptr) \
  7987. : (bits) == 64 ? bfd_get_64 (abfd, ptr) \
  7988. : (abort (), (bfd_vma) - 1))
  7989. #define bfd_put(bits, abfd, val, ptr) \
  7990. ((bits) == 8 ? bfd_put_8 (abfd, val, ptr) \
  7991. : (bits) == 16 ? bfd_put_16 (abfd, val, ptr) \
  7992. : (bits) == 32 ? bfd_put_32 (abfd, val, ptr) \
  7993. : (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \
  7994. : (abort (), (void) 0))
  7995. 2.15.1.4 'bfd_h_put_size'
  7996. .........................
  7997. *Description*
  7998. These macros have the same function as their 'bfd_get_x' brethren,
  7999. except that they are used for removing information for the header
  8000. records of object files. Believe it or not, some object files keep
  8001. their header records in big endian order and their data in little endian
  8002. order.
  8003. /* Byte swapping macros for file header data. */
  8004. #define bfd_h_put_8(abfd, val, ptr) \
  8005. bfd_put_8 (abfd, val, ptr)
  8006. #define bfd_h_put_signed_8(abfd, val, ptr) \
  8007. bfd_put_8 (abfd, val, ptr)
  8008. #define bfd_h_get_8(abfd, ptr) \
  8009. bfd_get_8 (abfd, ptr)
  8010. #define bfd_h_get_signed_8(abfd, ptr) \
  8011. bfd_get_signed_8 (abfd, ptr)
  8012. #define bfd_h_put_16(abfd, val, ptr) \
  8013. BFD_SEND (abfd, bfd_h_putx16, (val, ptr))
  8014. #define bfd_h_put_signed_16 \
  8015. bfd_h_put_16
  8016. #define bfd_h_get_16(abfd, ptr) \
  8017. BFD_SEND (abfd, bfd_h_getx16, (ptr))
  8018. #define bfd_h_get_signed_16(abfd, ptr) \
  8019. BFD_SEND (abfd, bfd_h_getx_signed_16, (ptr))
  8020. #define bfd_h_put_32(abfd, val, ptr) \
  8021. BFD_SEND (abfd, bfd_h_putx32, (val, ptr))
  8022. #define bfd_h_put_signed_32 \
  8023. bfd_h_put_32
  8024. #define bfd_h_get_32(abfd, ptr) \
  8025. BFD_SEND (abfd, bfd_h_getx32, (ptr))
  8026. #define bfd_h_get_signed_32(abfd, ptr) \
  8027. BFD_SEND (abfd, bfd_h_getx_signed_32, (ptr))
  8028. #define bfd_h_put_64(abfd, val, ptr) \
  8029. BFD_SEND (abfd, bfd_h_putx64, (val, ptr))
  8030. #define bfd_h_put_signed_64 \
  8031. bfd_h_put_64
  8032. #define bfd_h_get_64(abfd, ptr) \
  8033. BFD_SEND (abfd, bfd_h_getx64, (ptr))
  8034. #define bfd_h_get_signed_64(abfd, ptr) \
  8035. BFD_SEND (abfd, bfd_h_getx_signed_64, (ptr))
  8036. /* Aliases for the above, which should eventually go away. */
  8037. #define H_PUT_64 bfd_h_put_64
  8038. #define H_PUT_32 bfd_h_put_32
  8039. #define H_PUT_16 bfd_h_put_16
  8040. #define H_PUT_8 bfd_h_put_8
  8041. #define H_PUT_S64 bfd_h_put_signed_64
  8042. #define H_PUT_S32 bfd_h_put_signed_32
  8043. #define H_PUT_S16 bfd_h_put_signed_16
  8044. #define H_PUT_S8 bfd_h_put_signed_8
  8045. #define H_GET_64 bfd_h_get_64
  8046. #define H_GET_32 bfd_h_get_32
  8047. #define H_GET_16 bfd_h_get_16
  8048. #define H_GET_8 bfd_h_get_8
  8049. #define H_GET_S64 bfd_h_get_signed_64
  8050. #define H_GET_S32 bfd_h_get_signed_32
  8051. #define H_GET_S16 bfd_h_get_signed_16
  8052. #define H_GET_S8 bfd_h_get_signed_8
  8053. 2.15.1.5 'bfd_log2'
  8054. ...................
  8055. *Synopsis*
  8056. unsigned int bfd_log2 (bfd_vma x);
  8057. *Description*
  8058. Return the log base 2 of the value supplied, rounded up. E.g., an X of
  8059. 1025 returns 11. A X of 0 returns 0.
  8060. 
  8061. File: bfd.info, Node: File Caching, Next: Linker Functions, Prev: Internal, Up: BFD front end
  8062. 2.16 File caching
  8063. =================
  8064. The file caching mechanism is embedded within BFD and allows the
  8065. application to open as many BFDs as it wants without regard to the
  8066. underlying operating system's file descriptor limit (often as low as 20
  8067. open files). The module in 'cache.c' maintains a least recently used
  8068. list of 'bfd_cache_max_open' files, and exports the name
  8069. 'bfd_cache_lookup', which runs around and makes sure that the required
  8070. BFD is open. If not, then it chooses a file to close, closes it and
  8071. opens the one wanted, returning its file handle.
  8072. 2.16.1 Caching functions
  8073. ------------------------
  8074. 2.16.1.1 'bfd_cache_init'
  8075. .........................
  8076. *Synopsis*
  8077. bfd_boolean bfd_cache_init (bfd *abfd);
  8078. *Description*
  8079. Add a newly opened BFD to the cache.
  8080. 2.16.1.2 'bfd_cache_close'
  8081. ..........................
  8082. *Synopsis*
  8083. bfd_boolean bfd_cache_close (bfd *abfd);
  8084. *Description*
  8085. Remove the BFD ABFD from the cache. If the attached file is open, then
  8086. close it too.
  8087. *Returns*
  8088. 'FALSE' is returned if closing the file fails, 'TRUE' is returned if all
  8089. is well.
  8090. 2.16.1.3 'bfd_cache_close_all'
  8091. ..............................
  8092. *Synopsis*
  8093. bfd_boolean bfd_cache_close_all (void);
  8094. *Description*
  8095. Remove all BFDs from the cache. If the attached file is open, then
  8096. close it too.
  8097. *Returns*
  8098. 'FALSE' is returned if closing one of the file fails, 'TRUE' is returned
  8099. if all is well.
  8100. 2.16.1.4 'bfd_open_file'
  8101. ........................
  8102. *Synopsis*
  8103. FILE* bfd_open_file (bfd *abfd);
  8104. *Description*
  8105. Call the OS to open a file for ABFD. Return the 'FILE *' (possibly
  8106. 'NULL') that results from this operation. Set up the BFD so that future
  8107. accesses know the file is open. If the 'FILE *' returned is 'NULL',
  8108. then it won't have been put in the cache, so it won't have to be removed
  8109. from it.
  8110. 
  8111. File: bfd.info, Node: Linker Functions, Next: Hash Tables, Prev: File Caching, Up: BFD front end
  8112. 2.17 Linker Functions
  8113. =====================
  8114. The linker uses three special entry points in the BFD target vector. It
  8115. is not necessary to write special routines for these entry points when
  8116. creating a new BFD back end, since generic versions are provided.
  8117. However, writing them can speed up linking and make it use significantly
  8118. less runtime memory.
  8119. The first routine creates a hash table used by the other routines.
  8120. The second routine adds the symbols from an object file to the hash
  8121. table. The third routine takes all the object files and links them
  8122. together to create the output file. These routines are designed so that
  8123. the linker proper does not need to know anything about the symbols in
  8124. the object files that it is linking. The linker merely arranges the
  8125. sections as directed by the linker script and lets BFD handle the
  8126. details of symbols and relocs.
  8127. The second routine and third routines are passed a pointer to a
  8128. 'struct bfd_link_info' structure (defined in 'bfdlink.h') which holds
  8129. information relevant to the link, including the linker hash table (which
  8130. was created by the first routine) and a set of callback functions to the
  8131. linker proper.
  8132. The generic linker routines are in 'linker.c', and use the header
  8133. file 'genlink.h'. As of this writing, the only back ends which have
  8134. implemented versions of these routines are a.out (in 'aoutx.h') and
  8135. ECOFF (in 'ecoff.c'). The a.out routines are used as examples
  8136. throughout this section.
  8137. * Menu:
  8138. * Creating a Linker Hash Table::
  8139. * Adding Symbols to the Hash Table::
  8140. * Performing the Final Link::
  8141. 
  8142. File: bfd.info, Node: Creating a Linker Hash Table, Next: Adding Symbols to the Hash Table, Prev: Linker Functions, Up: Linker Functions
  8143. 2.17.1 Creating a linker hash table
  8144. -----------------------------------
  8145. The linker routines must create a hash table, which must be derived from
  8146. 'struct bfd_link_hash_table' described in 'bfdlink.c'. *Note Hash
  8147. Tables::, for information on how to create a derived hash table. This
  8148. entry point is called using the target vector of the linker output file.
  8149. The '_bfd_link_hash_table_create' entry point must allocate and
  8150. initialize an instance of the desired hash table. If the back end does
  8151. not require any additional information to be stored with the entries in
  8152. the hash table, the entry point may simply create a 'struct
  8153. bfd_link_hash_table'. Most likely, however, some additional information
  8154. will be needed.
  8155. For example, with each entry in the hash table the a.out linker keeps
  8156. the index the symbol has in the final output file (this index number is
  8157. used so that when doing a relocatable link the symbol index used in the
  8158. output file can be quickly filled in when copying over a reloc). The
  8159. a.out linker code defines the required structures and functions for a
  8160. hash table derived from 'struct bfd_link_hash_table'. The a.out linker
  8161. hash table is created by the function
  8162. 'NAME(aout,link_hash_table_create)'; it simply allocates space for the
  8163. hash table, initializes it, and returns a pointer to it.
  8164. When writing the linker routines for a new back end, you will
  8165. generally not know exactly which fields will be required until you have
  8166. finished. You should simply create a new hash table which defines no
  8167. additional fields, and then simply add fields as they become necessary.
  8168. 
  8169. File: bfd.info, Node: Adding Symbols to the Hash Table, Next: Performing the Final Link, Prev: Creating a Linker Hash Table, Up: Linker Functions
  8170. 2.17.2 Adding symbols to the hash table
  8171. ---------------------------------------
  8172. The linker proper will call the '_bfd_link_add_symbols' entry point for
  8173. each object file or archive which is to be linked (typically these are
  8174. the files named on the command line, but some may also come from the
  8175. linker script). The entry point is responsible for examining the file.
  8176. For an object file, BFD must add any relevant symbol information to the
  8177. hash table. For an archive, BFD must determine which elements of the
  8178. archive should be used and adding them to the link.
  8179. The a.out version of this entry point is
  8180. 'NAME(aout,link_add_symbols)'.
  8181. * Menu:
  8182. * Differing file formats::
  8183. * Adding symbols from an object file::
  8184. * Adding symbols from an archive::
  8185. 
  8186. File: bfd.info, Node: Differing file formats, Next: Adding symbols from an object file, Prev: Adding Symbols to the Hash Table, Up: Adding Symbols to the Hash Table
  8187. 2.17.2.1 Differing file formats
  8188. ...............................
  8189. Normally all the files involved in a link will be of the same format,
  8190. but it is also possible to link together different format object files,
  8191. and the back end must support that. The '_bfd_link_add_symbols' entry
  8192. point is called via the target vector of the file to be added. This has
  8193. an important consequence: the function may not assume that the hash
  8194. table is the type created by the corresponding
  8195. '_bfd_link_hash_table_create' vector. All the '_bfd_link_add_symbols'
  8196. function can assume about the hash table is that it is derived from
  8197. 'struct bfd_link_hash_table'.
  8198. Sometimes the '_bfd_link_add_symbols' function must store some
  8199. information in the hash table entry to be used by the '_bfd_final_link'
  8200. function. In such a case the output bfd xvec must be checked to make
  8201. sure that the hash table was created by an object file of the same
  8202. format.
  8203. The '_bfd_final_link' routine must be prepared to handle a hash entry
  8204. without any extra information added by the '_bfd_link_add_symbols'
  8205. function. A hash entry without extra information will also occur when
  8206. the linker script directs the linker to create a symbol. Note that,
  8207. regardless of how a hash table entry is added, all the fields will be
  8208. initialized to some sort of null value by the hash table entry
  8209. initialization function.
  8210. See 'ecoff_link_add_externals' for an example of how to check the
  8211. output bfd before saving information (in this case, the ECOFF external
  8212. symbol debugging information) in a hash table entry.
  8213. 
  8214. File: bfd.info, Node: Adding symbols from an object file, Next: Adding symbols from an archive, Prev: Differing file formats, Up: Adding Symbols to the Hash Table
  8215. 2.17.2.2 Adding symbols from an object file
  8216. ...........................................
  8217. When the '_bfd_link_add_symbols' routine is passed an object file, it
  8218. must add all externally visible symbols in that object file to the hash
  8219. table. The actual work of adding the symbol to the hash table is
  8220. normally handled by the function '_bfd_generic_link_add_one_symbol'.
  8221. The '_bfd_link_add_symbols' routine is responsible for reading all the
  8222. symbols from the object file and passing the correct information to
  8223. '_bfd_generic_link_add_one_symbol'.
  8224. The '_bfd_link_add_symbols' routine should not use
  8225. 'bfd_canonicalize_symtab' to read the symbols. The point of providing
  8226. this routine is to avoid the overhead of converting the symbols into
  8227. generic 'asymbol' structures.
  8228. '_bfd_generic_link_add_one_symbol' handles the details of combining
  8229. common symbols, warning about multiple definitions, and so forth. It
  8230. takes arguments which describe the symbol to add, notably symbol flags,
  8231. a section, and an offset. The symbol flags include such things as
  8232. 'BSF_WEAK' or 'BSF_INDIRECT'. The section is a section in the object
  8233. file, or something like 'bfd_und_section_ptr' for an undefined symbol or
  8234. 'bfd_com_section_ptr' for a common symbol.
  8235. If the '_bfd_final_link' routine is also going to need to read the
  8236. symbol information, the '_bfd_link_add_symbols' routine should save it
  8237. somewhere attached to the object file BFD. However, the information
  8238. should only be saved if the 'keep_memory' field of the 'info' argument
  8239. is TRUE, so that the '-no-keep-memory' linker switch is effective.
  8240. The a.out function which adds symbols from an object file is
  8241. 'aout_link_add_object_symbols', and most of the interesting work is in
  8242. 'aout_link_add_symbols'. The latter saves pointers to the hash tables
  8243. entries created by '_bfd_generic_link_add_one_symbol' indexed by symbol
  8244. number, so that the '_bfd_final_link' routine does not have to call the
  8245. hash table lookup routine to locate the entry.
  8246. 
  8247. File: bfd.info, Node: Adding symbols from an archive, Prev: Adding symbols from an object file, Up: Adding Symbols to the Hash Table
  8248. 2.17.2.3 Adding symbols from an archive
  8249. .......................................
  8250. When the '_bfd_link_add_symbols' routine is passed an archive, it must
  8251. look through the symbols defined by the archive and decide which
  8252. elements of the archive should be included in the link. For each such
  8253. element it must call the 'add_archive_element' linker callback, and it
  8254. must add the symbols from the object file to the linker hash table.
  8255. (The callback may in fact indicate that a replacement BFD should be
  8256. used, in which case the symbols from that BFD should be added to the
  8257. linker hash table instead.)
  8258. In most cases the work of looking through the symbols in the archive
  8259. should be done by the '_bfd_generic_link_add_archive_symbols' function.
  8260. '_bfd_generic_link_add_archive_symbols' is passed a function to call to
  8261. make the final decision about adding an archive element to the link and
  8262. to do the actual work of adding the symbols to the linker hash table.
  8263. If the element is to be included, the 'add_archive_element' linker
  8264. callback routine must be called with the element as an argument, and the
  8265. element's symbols must be added to the linker hash table just as though
  8266. the element had itself been passed to the '_bfd_link_add_symbols'
  8267. function.
  8268. When the a.out '_bfd_link_add_symbols' function receives an archive,
  8269. it calls '_bfd_generic_link_add_archive_symbols' passing
  8270. 'aout_link_check_archive_element' as the function argument.
  8271. 'aout_link_check_archive_element' calls 'aout_link_check_ar_symbols'.
  8272. If the latter decides to add the element (an element is only added if it
  8273. provides a real, non-common, definition for a previously undefined or
  8274. common symbol) it calls the 'add_archive_element' callback and then
  8275. 'aout_link_check_archive_element' calls 'aout_link_add_symbols' to
  8276. actually add the symbols to the linker hash table - possibly those of a
  8277. substitute BFD, if the 'add_archive_element' callback avails itself of
  8278. that option.
  8279. The ECOFF back end is unusual in that it does not normally call
  8280. '_bfd_generic_link_add_archive_symbols', because ECOFF archives already
  8281. contain a hash table of symbols. The ECOFF back end searches the
  8282. archive itself to avoid the overhead of creating a new hash table.
  8283. 
  8284. File: bfd.info, Node: Performing the Final Link, Prev: Adding Symbols to the Hash Table, Up: Linker Functions
  8285. 2.17.3 Performing the final link
  8286. --------------------------------
  8287. When all the input files have been processed, the linker calls the
  8288. '_bfd_final_link' entry point of the output BFD. This routine is
  8289. responsible for producing the final output file, which has several
  8290. aspects. It must relocate the contents of the input sections and copy
  8291. the data into the output sections. It must build an output symbol table
  8292. including any local symbols from the input files and the global symbols
  8293. from the hash table. When producing relocatable output, it must modify
  8294. the input relocs and write them into the output file. There may also be
  8295. object format dependent work to be done.
  8296. The linker will also call the 'write_object_contents' entry point
  8297. when the BFD is closed. The two entry points must work together in
  8298. order to produce the correct output file.
  8299. The details of how this works are inevitably dependent upon the
  8300. specific object file format. The a.out '_bfd_final_link' routine is
  8301. 'NAME(aout,final_link)'.
  8302. * Menu:
  8303. * Information provided by the linker::
  8304. * Relocating the section contents::
  8305. * Writing the symbol table::
  8306. 
  8307. File: bfd.info, Node: Information provided by the linker, Next: Relocating the section contents, Prev: Performing the Final Link, Up: Performing the Final Link
  8308. 2.17.3.1 Information provided by the linker
  8309. ...........................................
  8310. Before the linker calls the '_bfd_final_link' entry point, it sets up
  8311. some data structures for the function to use.
  8312. The 'input_bfds' field of the 'bfd_link_info' structure will point to
  8313. a list of all the input files included in the link. These files are
  8314. linked through the 'link.next' field of the 'bfd' structure.
  8315. Each section in the output file will have a list of 'link_order'
  8316. structures attached to the 'map_head.link_order' field (the 'link_order'
  8317. structure is defined in 'bfdlink.h'). These structures describe how to
  8318. create the contents of the output section in terms of the contents of
  8319. various input sections, fill constants, and, eventually, other types of
  8320. information. They also describe relocs that must be created by the BFD
  8321. backend, but do not correspond to any input file; this is used to
  8322. support -Ur, which builds constructors while generating a relocatable
  8323. object file.
  8324. 
  8325. File: bfd.info, Node: Relocating the section contents, Next: Writing the symbol table, Prev: Information provided by the linker, Up: Performing the Final Link
  8326. 2.17.3.2 Relocating the section contents
  8327. ........................................
  8328. The '_bfd_final_link' function should look through the 'link_order'
  8329. structures attached to each section of the output file. Each
  8330. 'link_order' structure should either be handled specially, or it should
  8331. be passed to the function '_bfd_default_link_order' which will do the
  8332. right thing ('_bfd_default_link_order' is defined in 'linker.c').
  8333. For efficiency, a 'link_order' of type 'bfd_indirect_link_order'
  8334. whose associated section belongs to a BFD of the same format as the
  8335. output BFD must be handled specially. This type of 'link_order'
  8336. describes part of an output section in terms of a section belonging to
  8337. one of the input files. The '_bfd_final_link' function should read the
  8338. contents of the section and any associated relocs, apply the relocs to
  8339. the section contents, and write out the modified section contents. If
  8340. performing a relocatable link, the relocs themselves must also be
  8341. modified and written out.
  8342. The functions '_bfd_relocate_contents' and '_bfd_final_link_relocate'
  8343. provide some general support for performing the actual relocations,
  8344. notably overflow checking. Their arguments include information about
  8345. the symbol the relocation is against and a 'reloc_howto_type' argument
  8346. which describes the relocation to perform. These functions are defined
  8347. in 'reloc.c'.
  8348. The a.out function which handles reading, relocating, and writing
  8349. section contents is 'aout_link_input_section'. The actual relocation is
  8350. done in 'aout_link_input_section_std' and 'aout_link_input_section_ext'.
  8351. 
  8352. File: bfd.info, Node: Writing the symbol table, Prev: Relocating the section contents, Up: Performing the Final Link
  8353. 2.17.3.3 Writing the symbol table
  8354. .................................
  8355. The '_bfd_final_link' function must gather all the symbols in the input
  8356. files and write them out. It must also write out all the symbols in the
  8357. global hash table. This must be controlled by the 'strip' and 'discard'
  8358. fields of the 'bfd_link_info' structure.
  8359. The local symbols of the input files will not have been entered into
  8360. the linker hash table. The '_bfd_final_link' routine must consider each
  8361. input file and include the symbols in the output file. It may be
  8362. convenient to do this when looking through the 'link_order' structures,
  8363. or it may be done by stepping through the 'input_bfds' list.
  8364. The '_bfd_final_link' routine must also traverse the global hash
  8365. table to gather all the externally visible symbols. It is possible that
  8366. most of the externally visible symbols may be written out when
  8367. considering the symbols of each input file, but it is still necessary to
  8368. traverse the hash table since the linker script may have defined some
  8369. symbols that are not in any of the input files.
  8370. The 'strip' field of the 'bfd_link_info' structure controls which
  8371. symbols are written out. The possible values are listed in 'bfdlink.h'.
  8372. If the value is 'strip_some', then the 'keep_hash' field of the
  8373. 'bfd_link_info' structure is a hash table of symbols to keep; each
  8374. symbol should be looked up in this hash table, and only symbols which
  8375. are present should be included in the output file.
  8376. If the 'strip' field of the 'bfd_link_info' structure permits local
  8377. symbols to be written out, the 'discard' field is used to further
  8378. controls which local symbols are included in the output file. If the
  8379. value is 'discard_l', then all local symbols which begin with a certain
  8380. prefix are discarded; this is controlled by the
  8381. 'bfd_is_local_label_name' entry point.
  8382. The a.out backend handles symbols by calling
  8383. 'aout_link_write_symbols' on each input BFD and then traversing the
  8384. global hash table with the function 'aout_link_write_other_symbol'. It
  8385. builds a string table while writing out the symbols, which is written to
  8386. the output file at the end of 'NAME(aout,final_link)'.
  8387. 2.17.3.4 'bfd_link_split_section'
  8388. .................................
  8389. *Synopsis*
  8390. bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
  8391. *Description*
  8392. Return nonzero if SEC should be split during a reloceatable or final
  8393. link.
  8394. #define bfd_link_split_section(abfd, sec) \
  8395. BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
  8396. 2.17.3.5 'bfd_section_already_linked'
  8397. .....................................
  8398. *Synopsis*
  8399. bfd_boolean bfd_section_already_linked (bfd *abfd,
  8400. asection *sec,
  8401. struct bfd_link_info *info);
  8402. *Description*
  8403. Check if DATA has been already linked during a reloceatable or final
  8404. link. Return TRUE if it has.
  8405. #define bfd_section_already_linked(abfd, sec, info) \
  8406. BFD_SEND (abfd, _section_already_linked, (abfd, sec, info))
  8407. 2.17.3.6 'bfd_generic_define_common_symbol'
  8408. ...........................................
  8409. *Synopsis*
  8410. bfd_boolean bfd_generic_define_common_symbol
  8411. (bfd *output_bfd, struct bfd_link_info *info,
  8412. struct bfd_link_hash_entry *h);
  8413. *Description*
  8414. Convert common symbol H into a defined symbol. Return TRUE on success
  8415. and FALSE on failure.
  8416. #define bfd_define_common_symbol(output_bfd, info, h) \
  8417. BFD_SEND (output_bfd, _bfd_define_common_symbol, (output_bfd, info, h))
  8418. 2.17.3.7 '_bfd_generic_link_hide_symbol'
  8419. ........................................
  8420. *Synopsis*
  8421. void _bfd_generic_link_hide_symbol
  8422. (bfd *output_bfd, struct bfd_link_info *info,
  8423. struct bfd_link_hash_entry *h);
  8424. *Description*
  8425. Hide symbol H. This is an internal function. It should not be called
  8426. from outside the BFD library.
  8427. #define bfd_link_hide_symbol(output_bfd, info, h) \
  8428. BFD_SEND (output_bfd, _bfd_link_hide_symbol, (output_bfd, info, h))
  8429. 2.17.3.8 'bfd_generic_define_start_stop'
  8430. ........................................
  8431. *Synopsis*
  8432. struct bfd_link_hash_entry *bfd_generic_define_start_stop
  8433. (struct bfd_link_info *info,
  8434. const char *symbol, asection *sec);
  8435. *Description*
  8436. Define a __start, __stop, .startof. or .sizeof. symbol. Return the
  8437. symbol or NULL if no such undefined symbol exists.
  8438. #define bfd_define_start_stop(output_bfd, info, symbol, sec) \
  8439. BFD_SEND (output_bfd, _bfd_define_start_stop, (info, symbol, sec))
  8440. 2.17.3.9 'bfd_find_version_for_sym'
  8441. ...................................
  8442. *Synopsis*
  8443. struct bfd_elf_version_tree * bfd_find_version_for_sym
  8444. (struct bfd_elf_version_tree *verdefs,
  8445. const char *sym_name, bfd_boolean *hide);
  8446. *Description*
  8447. Search an elf version script tree for symbol versioning info and export
  8448. / don't-export status for a given symbol. Return non-NULL on success
  8449. and NULL on failure; also sets the output 'hide' boolean parameter.
  8450. 2.17.3.10 'bfd_hide_sym_by_version'
  8451. ...................................
  8452. *Synopsis*
  8453. bfd_boolean bfd_hide_sym_by_version
  8454. (struct bfd_elf_version_tree *verdefs, const char *sym_name);
  8455. *Description*
  8456. Search an elf version script tree for symbol versioning info for a given
  8457. symbol. Return TRUE if the symbol is hidden.
  8458. 2.17.3.11 'bfd_link_check_relocs'
  8459. .................................
  8460. *Synopsis*
  8461. bfd_boolean bfd_link_check_relocs
  8462. (bfd *abfd, struct bfd_link_info *info);
  8463. *Description*
  8464. Checks the relocs in ABFD for validity. Does not execute the relocs.
  8465. Return TRUE if everything is OK, FALSE otherwise. This is the external
  8466. entry point to this code.
  8467. 2.17.3.12 '_bfd_generic_link_check_relocs'
  8468. ..........................................
  8469. *Synopsis*
  8470. bfd_boolean _bfd_generic_link_check_relocs
  8471. (bfd *abfd, struct bfd_link_info *info);
  8472. *Description*
  8473. Stub function for targets that do not implement reloc checking. Return
  8474. TRUE. This is an internal function. It should not be called from
  8475. outside the BFD library.
  8476. 2.17.3.13 'bfd_merge_private_bfd_data'
  8477. ......................................
  8478. *Synopsis*
  8479. bfd_boolean bfd_merge_private_bfd_data
  8480. (bfd *ibfd, struct bfd_link_info *info);
  8481. *Description*
  8482. Merge private BFD information from the BFD IBFD to the the output file
  8483. BFD when linking. Return 'TRUE' on success, 'FALSE' on error. Possible
  8484. error returns are:
  8485. * 'bfd_error_no_memory' - Not enough memory exists to create private
  8486. data for OBFD.
  8487. #define bfd_merge_private_bfd_data(ibfd, info) \
  8488. BFD_SEND ((info)->output_bfd, _bfd_merge_private_bfd_data, \
  8489. (ibfd, info))
  8490. 2.17.3.14 '_bfd_generic_verify_endian_match'
  8491. ............................................
  8492. *Synopsis*
  8493. bfd_boolean _bfd_generic_verify_endian_match
  8494. (bfd *ibfd, struct bfd_link_info *info);
  8495. *Description*
  8496. Can be used from / for bfd_merge_private_bfd_data to check that
  8497. endianness matches between input and output file. Returns TRUE for a
  8498. match, otherwise returns FALSE and emits an error.
  8499. 
  8500. File: bfd.info, Node: Hash Tables, Prev: Linker Functions, Up: BFD front end
  8501. 2.18 Hash Tables
  8502. ================
  8503. BFD provides a simple set of hash table functions. Routines are
  8504. provided to initialize a hash table, to free a hash table, to look up a
  8505. string in a hash table and optionally create an entry for it, and to
  8506. traverse a hash table. There is currently no routine to delete an
  8507. string from a hash table.
  8508. The basic hash table does not permit any data to be stored with a
  8509. string. However, a hash table is designed to present a base class from
  8510. which other types of hash tables may be derived. These derived types
  8511. may store additional information with the string. Hash tables were
  8512. implemented in this way, rather than simply providing a data pointer in
  8513. a hash table entry, because they were designed for use by the linker
  8514. back ends. The linker may create thousands of hash table entries, and
  8515. the overhead of allocating private data and storing and following
  8516. pointers becomes noticeable.
  8517. The basic hash table code is in 'hash.c'.
  8518. * Menu:
  8519. * Creating and Freeing a Hash Table::
  8520. * Looking Up or Entering a String::
  8521. * Traversing a Hash Table::
  8522. * Deriving a New Hash Table Type::
  8523. 
  8524. File: bfd.info, Node: Creating and Freeing a Hash Table, Next: Looking Up or Entering a String, Prev: Hash Tables, Up: Hash Tables
  8525. 2.18.1 Creating and freeing a hash table
  8526. ----------------------------------------
  8527. To create a hash table, create an instance of a 'struct bfd_hash_table'
  8528. (defined in 'bfd.h') and call 'bfd_hash_table_init' (if you know
  8529. approximately how many entries you will need, the function
  8530. 'bfd_hash_table_init_n', which takes a SIZE argument, may be used).
  8531. 'bfd_hash_table_init' returns 'FALSE' if some sort of error occurs.
  8532. The function 'bfd_hash_table_init' take as an argument a function to
  8533. use to create new entries. For a basic hash table, use the function
  8534. 'bfd_hash_newfunc'. *Note Deriving a New Hash Table Type::, for why you
  8535. would want to use a different value for this argument.
  8536. 'bfd_hash_table_init' will create an objalloc which will be used to
  8537. allocate new entries. You may allocate memory on this objalloc using
  8538. 'bfd_hash_allocate'.
  8539. Use 'bfd_hash_table_free' to free up all the memory that has been
  8540. allocated for a hash table. This will not free up the 'struct
  8541. bfd_hash_table' itself, which you must provide.
  8542. Use 'bfd_hash_set_default_size' to set the default size of hash table
  8543. to use.
  8544. 
  8545. File: bfd.info, Node: Looking Up or Entering a String, Next: Traversing a Hash Table, Prev: Creating and Freeing a Hash Table, Up: Hash Tables
  8546. 2.18.2 Looking up or entering a string
  8547. --------------------------------------
  8548. The function 'bfd_hash_lookup' is used both to look up a string in the
  8549. hash table and to create a new entry.
  8550. If the CREATE argument is 'FALSE', 'bfd_hash_lookup' will look up a
  8551. string. If the string is found, it will returns a pointer to a 'struct
  8552. bfd_hash_entry'. If the string is not found in the table
  8553. 'bfd_hash_lookup' will return 'NULL'. You should not modify any of the
  8554. fields in the returns 'struct bfd_hash_entry'.
  8555. If the CREATE argument is 'TRUE', the string will be entered into the
  8556. hash table if it is not already there. Either way a pointer to a
  8557. 'struct bfd_hash_entry' will be returned, either to the existing
  8558. structure or to a newly created one. In this case, a 'NULL' return
  8559. means that an error occurred.
  8560. If the CREATE argument is 'TRUE', and a new entry is created, the
  8561. COPY argument is used to decide whether to copy the string onto the hash
  8562. table objalloc or not. If COPY is passed as 'FALSE', you must be
  8563. careful not to deallocate or modify the string as long as the hash table
  8564. exists.
  8565. 
  8566. File: bfd.info, Node: Traversing a Hash Table, Next: Deriving a New Hash Table Type, Prev: Looking Up or Entering a String, Up: Hash Tables
  8567. 2.18.3 Traversing a hash table
  8568. ------------------------------
  8569. The function 'bfd_hash_traverse' may be used to traverse a hash table,
  8570. calling a function on each element. The traversal is done in a random
  8571. order.
  8572. 'bfd_hash_traverse' takes as arguments a function and a generic 'void
  8573. *' pointer. The function is called with a hash table entry (a 'struct
  8574. bfd_hash_entry *') and the generic pointer passed to
  8575. 'bfd_hash_traverse'. The function must return a 'boolean' value, which
  8576. indicates whether to continue traversing the hash table. If the
  8577. function returns 'FALSE', 'bfd_hash_traverse' will stop the traversal
  8578. and return immediately.
  8579. 
  8580. File: bfd.info, Node: Deriving a New Hash Table Type, Prev: Traversing a Hash Table, Up: Hash Tables
  8581. 2.18.4 Deriving a new hash table type
  8582. -------------------------------------
  8583. Many uses of hash tables want to store additional information which each
  8584. entry in the hash table. Some also find it convenient to store
  8585. additional information with the hash table itself. This may be done
  8586. using a derived hash table.
  8587. Since C is not an object oriented language, creating a derived hash
  8588. table requires sticking together some boilerplate routines with a few
  8589. differences specific to the type of hash table you want to create.
  8590. An example of a derived hash table is the linker hash table. The
  8591. structures for this are defined in 'bfdlink.h'. The functions are in
  8592. 'linker.c'.
  8593. You may also derive a hash table from an already derived hash table.
  8594. For example, the a.out linker backend code uses a hash table derived
  8595. from the linker hash table.
  8596. * Menu:
  8597. * Define the Derived Structures::
  8598. * Write the Derived Creation Routine::
  8599. * Write Other Derived Routines::
  8600. 
  8601. File: bfd.info, Node: Define the Derived Structures, Next: Write the Derived Creation Routine, Prev: Deriving a New Hash Table Type, Up: Deriving a New Hash Table Type
  8602. 2.18.4.1 Define the derived structures
  8603. ......................................
  8604. You must define a structure for an entry in the hash table, and a
  8605. structure for the hash table itself.
  8606. The first field in the structure for an entry in the hash table must
  8607. be of the type used for an entry in the hash table you are deriving
  8608. from. If you are deriving from a basic hash table this is 'struct
  8609. bfd_hash_entry', which is defined in 'bfd.h'. The first field in the
  8610. structure for the hash table itself must be of the type of the hash
  8611. table you are deriving from itself. If you are deriving from a basic
  8612. hash table, this is 'struct bfd_hash_table'.
  8613. For example, the linker hash table defines 'struct
  8614. bfd_link_hash_entry' (in 'bfdlink.h'). The first field, 'root', is of
  8615. type 'struct bfd_hash_entry'. Similarly, the first field in 'struct
  8616. bfd_link_hash_table', 'table', is of type 'struct bfd_hash_table'.
  8617. 
  8618. File: bfd.info, Node: Write the Derived Creation Routine, Next: Write Other Derived Routines, Prev: Define the Derived Structures, Up: Deriving a New Hash Table Type
  8619. 2.18.4.2 Write the derived creation routine
  8620. ...........................................
  8621. You must write a routine which will create and initialize an entry in
  8622. the hash table. This routine is passed as the function argument to
  8623. 'bfd_hash_table_init'.
  8624. In order to permit other hash tables to be derived from the hash
  8625. table you are creating, this routine must be written in a standard way.
  8626. The first argument to the creation routine is a pointer to a hash
  8627. table entry. This may be 'NULL', in which case the routine should
  8628. allocate the right amount of space. Otherwise the space has already
  8629. been allocated by a hash table type derived from this one.
  8630. After allocating space, the creation routine must call the creation
  8631. routine of the hash table type it is derived from, passing in a pointer
  8632. to the space it just allocated. This will initialize any fields used by
  8633. the base hash table.
  8634. Finally the creation routine must initialize any local fields for the
  8635. new hash table type.
  8636. Here is a boilerplate example of a creation routine. FUNCTION_NAME
  8637. is the name of the routine. ENTRY_TYPE is the type of an entry in the
  8638. hash table you are creating. BASE_NEWFUNC is the name of the creation
  8639. routine of the hash table type your hash table is derived from.
  8640. struct bfd_hash_entry *
  8641. FUNCTION_NAME (struct bfd_hash_entry *entry,
  8642. struct bfd_hash_table *table,
  8643. const char *string)
  8644. {
  8645. struct ENTRY_TYPE *ret = (ENTRY_TYPE *) entry;
  8646. /* Allocate the structure if it has not already been allocated by a
  8647. derived class. */
  8648. if (ret == NULL)
  8649. {
  8650. ret = bfd_hash_allocate (table, sizeof (* ret));
  8651. if (ret == NULL)
  8652. return NULL;
  8653. }
  8654. /* Call the allocation method of the base class. */
  8655. ret = ((ENTRY_TYPE *)
  8656. BASE_NEWFUNC ((struct bfd_hash_entry *) ret, table, string));
  8657. /* Initialize the local fields here. */
  8658. return (struct bfd_hash_entry *) ret;
  8659. }
  8660. *Description*
  8661. The creation routine for the linker hash table, which is in 'linker.c',
  8662. looks just like this example. FUNCTION_NAME is
  8663. '_bfd_link_hash_newfunc'. ENTRY_TYPE is 'struct bfd_link_hash_entry'.
  8664. BASE_NEWFUNC is 'bfd_hash_newfunc', the creation routine for a basic
  8665. hash table.
  8666. '_bfd_link_hash_newfunc' also initializes the local fields in a
  8667. linker hash table entry: 'type', 'written' and 'next'.
  8668. 
  8669. File: bfd.info, Node: Write Other Derived Routines, Prev: Write the Derived Creation Routine, Up: Deriving a New Hash Table Type
  8670. 2.18.4.3 Write other derived routines
  8671. .....................................
  8672. You will want to write other routines for your new hash table, as well.
  8673. You will want an initialization routine which calls the
  8674. initialization routine of the hash table you are deriving from and
  8675. initializes any other local fields. For the linker hash table, this is
  8676. '_bfd_link_hash_table_init' in 'linker.c'.
  8677. You will want a lookup routine which calls the lookup routine of the
  8678. hash table you are deriving from and casts the result. The linker hash
  8679. table uses 'bfd_link_hash_lookup' in 'linker.c' (this actually takes an
  8680. additional argument which it uses to decide how to return the looked up
  8681. value).
  8682. You may want a traversal routine. This should just call the
  8683. traversal routine of the hash table you are deriving from with
  8684. appropriate casts. The linker hash table uses 'bfd_link_hash_traverse'
  8685. in 'linker.c'.
  8686. These routines may simply be defined as macros. For example, the
  8687. a.out backend linker hash table, which is derived from the linker hash
  8688. table, uses macros for the lookup and traversal routines. These are
  8689. 'aout_link_hash_lookup' and 'aout_link_hash_traverse' in aoutx.h.
  8690. 
  8691. File: bfd.info, Node: BFD back ends, Next: GNU Free Documentation License, Prev: BFD front end, Up: Top
  8692. 3 BFD back ends
  8693. ***************
  8694. * Menu:
  8695. * What to Put Where::
  8696. * aout :: a.out backends
  8697. * coff :: coff backends
  8698. * elf :: elf backends
  8699. * mmo :: mmo backend
  8700. 
  8701. File: bfd.info, Node: What to Put Where, Next: aout, Prev: BFD back ends, Up: BFD back ends
  8702. 3.1 What to Put Where
  8703. =====================
  8704. All of BFD lives in one directory.
  8705. 
  8706. File: bfd.info, Node: aout, Next: coff, Prev: What to Put Where, Up: BFD back ends
  8707. 3.2 a.out backends
  8708. ==================
  8709. *Description*
  8710. BFD supports a number of different flavours of a.out format, though the
  8711. major differences are only the sizes of the structures on disk, and the
  8712. shape of the relocation information.
  8713. The support is split into a basic support file 'aoutx.h' and other
  8714. files which derive functions from the base. One derivation file is
  8715. 'aoutf1.h' (for a.out flavour 1), and adds to the basic a.out functions
  8716. support for sun3, sun4, and 386 a.out files, to create a target jump
  8717. vector for a specific target.
  8718. This information is further split out into more specific files for
  8719. each machine, including 'sunos.c' for sun3 and sun4, and 'demo64.c' for
  8720. a demonstration of a 64 bit a.out format.
  8721. The base file 'aoutx.h' defines general mechanisms for reading and
  8722. writing records to and from disk and various other methods which BFD
  8723. requires. It is included by 'aout32.c' and 'aout64.c' to form the names
  8724. 'aout_32_swap_exec_header_in', 'aout_64_swap_exec_header_in', etc.
  8725. As an example, this is what goes on to make the back end for a sun4,
  8726. from 'aout32.c':
  8727. #define ARCH_SIZE 32
  8728. #include "aoutx.h"
  8729. Which exports names:
  8730. ...
  8731. aout_32_canonicalize_reloc
  8732. aout_32_find_nearest_line
  8733. aout_32_get_lineno
  8734. aout_32_get_reloc_upper_bound
  8735. ...
  8736. from 'sunos.c':
  8737. #define TARGET_NAME "a.out-sunos-big"
  8738. #define VECNAME sparc_aout_sunos_be_vec
  8739. #include "aoutf1.h"
  8740. requires all the names from 'aout32.c', and produces the jump vector
  8741. sparc_aout_sunos_be_vec
  8742. The file 'host-aout.c' is a special case. It is for a large set of
  8743. hosts that use "more or less standard" a.out files, and for which
  8744. cross-debugging is not interesting. It uses the standard 32-bit a.out
  8745. support routines, but determines the file offsets and addresses of the
  8746. text, data, and BSS sections, the machine architecture and machine type,
  8747. and the entry point address, in a host-dependent manner. Once these
  8748. values have been determined, generic code is used to handle the object
  8749. file.
  8750. When porting it to run on a new system, you must supply:
  8751. HOST_PAGE_SIZE
  8752. HOST_SEGMENT_SIZE
  8753. HOST_MACHINE_ARCH (optional)
  8754. HOST_MACHINE_MACHINE (optional)
  8755. HOST_TEXT_START_ADDR
  8756. HOST_STACK_END_ADDR
  8757. in the file '../include/sys/h-XXX.h' (for your host). These values,
  8758. plus the structures and macros defined in 'a.out.h' on your host system,
  8759. will produce a BFD target that will access ordinary a.out files on your
  8760. host. To configure a new machine to use 'host-aout.c', specify:
  8761. TDEFAULTS = -DDEFAULT_VECTOR=host_aout_big_vec
  8762. TDEPFILES= host-aout.o trad-core.o
  8763. in the 'config/XXX.mt' file, and modify 'configure.ac' to use the
  8764. 'XXX.mt' file (by setting "'bfd_target=XXX'") when your configuration is
  8765. selected.
  8766. 3.2.1 Relocations
  8767. -----------------
  8768. *Description*
  8769. The file 'aoutx.h' provides for both the _standard_ and _extended_ forms
  8770. of a.out relocation records.
  8771. The standard records contain only an address, a symbol index, and a
  8772. type field. The extended records also have a full integer for an
  8773. addend.
  8774. 3.2.2 Internal entry points
  8775. ---------------------------
  8776. *Description*
  8777. 'aoutx.h' exports several routines for accessing the contents of an
  8778. a.out file, which are gathered and exported in turn by various format
  8779. specific files (eg sunos.c).
  8780. 3.2.2.1 'aout_SIZE_swap_exec_header_in'
  8781. .......................................
  8782. *Synopsis*
  8783. void aout_SIZE_swap_exec_header_in,
  8784. (bfd *abfd,
  8785. struct external_exec *bytes,
  8786. struct internal_exec *execp);
  8787. *Description*
  8788. Swap the information in an executable header RAW_BYTES taken from a raw
  8789. byte stream memory image into the internal exec header structure EXECP.
  8790. 3.2.2.2 'aout_SIZE_swap_exec_header_out'
  8791. ........................................
  8792. *Synopsis*
  8793. void aout_SIZE_swap_exec_header_out
  8794. (bfd *abfd,
  8795. struct internal_exec *execp,
  8796. struct external_exec *raw_bytes);
  8797. *Description*
  8798. Swap the information in an internal exec header structure EXECP into the
  8799. buffer RAW_BYTES ready for writing to disk.
  8800. 3.2.2.3 'aout_SIZE_some_aout_object_p'
  8801. ......................................
  8802. *Synopsis*
  8803. const bfd_target *aout_SIZE_some_aout_object_p
  8804. (bfd *abfd,
  8805. struct internal_exec *execp,
  8806. const bfd_target *(*callback_to_real_object_p) (bfd *));
  8807. *Description*
  8808. Some a.out variant thinks that the file open in ABFD checking is an
  8809. a.out file. Do some more checking, and set up for access if it really
  8810. is. Call back to the calling environment's "finish up" function just
  8811. before returning, to handle any last-minute setup.
  8812. 3.2.2.4 'aout_SIZE_mkobject'
  8813. ............................
  8814. *Synopsis*
  8815. bfd_boolean aout_SIZE_mkobject, (bfd *abfd);
  8816. *Description*
  8817. Initialize BFD ABFD for use with a.out files.
  8818. 3.2.2.5 'aout_SIZE_machine_type'
  8819. ................................
  8820. *Synopsis*
  8821. enum machine_type aout_SIZE_machine_type
  8822. (enum bfd_architecture arch,
  8823. unsigned long machine,
  8824. bfd_boolean *unknown);
  8825. *Description*
  8826. Keep track of machine architecture and machine type for a.out's. Return
  8827. the 'machine_type' for a particular architecture and machine, or
  8828. 'M_UNKNOWN' if that exact architecture and machine can't be represented
  8829. in a.out format.
  8830. If the architecture is understood, machine type 0 (default) is always
  8831. understood.
  8832. 3.2.2.6 'aout_SIZE_set_arch_mach'
  8833. .................................
  8834. *Synopsis*
  8835. bfd_boolean aout_SIZE_set_arch_mach,
  8836. (bfd *,
  8837. enum bfd_architecture arch,
  8838. unsigned long machine);
  8839. *Description*
  8840. Set the architecture and the machine of the BFD ABFD to the values ARCH
  8841. and MACHINE. Verify that ABFD's format can support the architecture
  8842. required.
  8843. 3.2.2.7 'aout_SIZE_new_section_hook'
  8844. ....................................
  8845. *Synopsis*
  8846. bfd_boolean aout_SIZE_new_section_hook,
  8847. (bfd *abfd,
  8848. asection *newsect);
  8849. *Description*
  8850. Called by the BFD in response to a 'bfd_make_section' request.
  8851. 
  8852. File: bfd.info, Node: coff, Next: elf, Prev: aout, Up: BFD back ends
  8853. 3.3 coff backends
  8854. =================
  8855. BFD supports a number of different flavours of coff format. The major
  8856. differences between formats are the sizes and alignments of fields in
  8857. structures on disk, and the occasional extra field.
  8858. Coff in all its varieties is implemented with a few common files and
  8859. a number of implementation specific files. For example, the i386 coff
  8860. format is implemented in the file 'coff-i386.c'. This file '#include's
  8861. 'coff/i386.h' which defines the external structure of the coff format
  8862. for the i386, and 'coff/internal.h' which defines the internal
  8863. structure. 'coff-i386.c' also defines the relocations used by the i386
  8864. coff format *Note Relocations::.
  8865. 3.3.1 Porting to a new version of coff
  8866. --------------------------------------
  8867. The recommended method is to select from the existing implementations
  8868. the version of coff which is most like the one you want to use. For
  8869. example, we'll say that i386 coff is the one you select, and that your
  8870. coff flavour is called foo. Copy 'i386coff.c' to 'foocoff.c', copy
  8871. '../include/coff/i386.h' to '../include/coff/foo.h', and add the lines
  8872. to 'targets.c' and 'Makefile.in' so that your new back end is used.
  8873. Alter the shapes of the structures in '../include/coff/foo.h' so that
  8874. they match what you need. You will probably also have to add '#ifdef's
  8875. to the code in 'coff/internal.h' and 'coffcode.h' if your version of
  8876. coff is too wild.
  8877. You can verify that your new BFD backend works quite simply by
  8878. building 'objdump' from the 'binutils' directory, and making sure that
  8879. its version of what's going on and your host system's idea (assuming it
  8880. has the pretty standard coff dump utility, usually called 'att-dump' or
  8881. just 'dump') are the same. Then clean up your code, and send what
  8882. you've done to Cygnus. Then your stuff will be in the next release, and
  8883. you won't have to keep integrating it.
  8884. 3.3.2 How the coff backend works
  8885. --------------------------------
  8886. 3.3.2.1 File layout
  8887. ...................
  8888. The Coff backend is split into generic routines that are applicable to
  8889. any Coff target and routines that are specific to a particular target.
  8890. The target-specific routines are further split into ones which are
  8891. basically the same for all Coff targets except that they use the
  8892. external symbol format or use different values for certain constants.
  8893. The generic routines are in 'coffgen.c'. These routines work for any
  8894. Coff target. They use some hooks into the target specific code; the
  8895. hooks are in a 'bfd_coff_backend_data' structure, one of which exists
  8896. for each target.
  8897. The essentially similar target-specific routines are in 'coffcode.h'.
  8898. This header file includes executable C code. The various Coff targets
  8899. first include the appropriate Coff header file, make any special defines
  8900. that are needed, and then include 'coffcode.h'.
  8901. Some of the Coff targets then also have additional routines in the
  8902. target source file itself.
  8903. 3.3.2.2 Coff long section names
  8904. ...............................
  8905. In the standard Coff object format, section names are limited to the
  8906. eight bytes available in the 's_name' field of the 'SCNHDR' section
  8907. header structure. The format requires the field to be NUL-padded, but
  8908. not necessarily NUL-terminated, so the longest section names permitted
  8909. are a full eight characters.
  8910. The Microsoft PE variants of the Coff object file format add an
  8911. extension to support the use of long section names. This extension is
  8912. defined in section 4 of the Microsoft PE/COFF specification (rev 8.1).
  8913. If a section name is too long to fit into the section header's 's_name'
  8914. field, it is instead placed into the string table, and the 's_name'
  8915. field is filled with a slash ("/") followed by the ASCII decimal
  8916. representation of the offset of the full name relative to the string
  8917. table base.
  8918. Note that this implies that the extension can only be used in object
  8919. files, as executables do not contain a string table. The standard
  8920. specifies that long section names from objects emitted into executable
  8921. images are to be truncated.
  8922. However, as a GNU extension, BFD can generate executable images that
  8923. contain a string table and long section names. This would appear to be
  8924. technically valid, as the standard only says that Coff debugging
  8925. information is deprecated, not forbidden, and in practice it works,
  8926. although some tools that parse PE files expecting the MS standard format
  8927. may become confused; 'PEview' is one known example.
  8928. The functionality is supported in BFD by code implemented under the
  8929. control of the macro 'COFF_LONG_SECTION_NAMES'. If not defined, the
  8930. format does not support long section names in any way. If defined, it
  8931. is used to initialise a flag, '_bfd_coff_long_section_names', and a hook
  8932. function pointer, '_bfd_coff_set_long_section_names', in the Coff
  8933. backend data structure. The flag controls the generation of long
  8934. section names in output BFDs at runtime; if it is false, as it will be
  8935. by default when generating an executable image, long section names are
  8936. truncated; if true, the long section names extension is employed. The
  8937. hook points to a function that allows the value of the flag to be
  8938. altered at runtime, on formats that support long section names at all;
  8939. on other formats it points to a stub that returns an error indication.
  8940. With input BFDs, the flag is set according to whether any long
  8941. section names are detected while reading the section headers. For a
  8942. completely new BFD, the flag is set to the default for the target
  8943. format. This information can be used by a client of the BFD library
  8944. when deciding what output format to generate, and means that a BFD that
  8945. is opened for read and subsequently converted to a writeable BFD and
  8946. modified in-place will retain whatever format it had on input.
  8947. If 'COFF_LONG_SECTION_NAMES' is simply defined (blank), or is defined
  8948. to the value "1", then long section names are enabled by default; if it
  8949. is defined to the value zero, they are disabled by default (but still
  8950. accepted in input BFDs). The header 'coffcode.h' defines a macro,
  8951. 'COFF_DEFAULT_LONG_SECTION_NAMES', which is used in the backends to
  8952. initialise the backend data structure fields appropriately; see the
  8953. comments for further detail.
  8954. 3.3.2.3 Bit twiddling
  8955. .....................
  8956. Each flavour of coff supported in BFD has its own header file describing
  8957. the external layout of the structures. There is also an internal
  8958. description of the coff layout, in 'coff/internal.h'. A major function
  8959. of the coff backend is swapping the bytes and twiddling the bits to
  8960. translate the external form of the structures into the normal internal
  8961. form. This is all performed in the 'bfd_swap'_thing_direction routines.
  8962. Some elements are different sizes between different versions of coff; it
  8963. is the duty of the coff version specific include file to override the
  8964. definitions of various packing routines in 'coffcode.h'. E.g., the size
  8965. of line number entry in coff is sometimes 16 bits, and sometimes 32
  8966. bits. '#define'ing 'PUT_LNSZ_LNNO' and 'GET_LNSZ_LNNO' will select the
  8967. correct one. No doubt, some day someone will find a version of coff
  8968. which has a varying field size not catered to at the moment. To port
  8969. BFD, that person will have to add more '#defines'. Three of the bit
  8970. twiddling routines are exported to 'gdb'; 'coff_swap_aux_in',
  8971. 'coff_swap_sym_in' and 'coff_swap_lineno_in'. 'GDB' reads the symbol
  8972. table on its own, but uses BFD to fix things up. More of the bit
  8973. twiddlers are exported for 'gas'; 'coff_swap_aux_out',
  8974. 'coff_swap_sym_out', 'coff_swap_lineno_out', 'coff_swap_reloc_out',
  8975. 'coff_swap_filehdr_out', 'coff_swap_aouthdr_out',
  8976. 'coff_swap_scnhdr_out'. 'Gas' currently keeps track of all the symbol
  8977. table and reloc drudgery itself, thereby saving the internal BFD
  8978. overhead, but uses BFD to swap things on the way out, making cross ports
  8979. much safer. Doing so also allows BFD (and thus the linker) to use the
  8980. same header files as 'gas', which makes one avenue to disaster
  8981. disappear.
  8982. 3.3.2.4 Symbol reading
  8983. ......................
  8984. The simple canonical form for symbols used by BFD is not rich enough to
  8985. keep all the information available in a coff symbol table. The back end
  8986. gets around this problem by keeping the original symbol table around,
  8987. "behind the scenes".
  8988. When a symbol table is requested (through a call to
  8989. 'bfd_canonicalize_symtab'), a request gets through to
  8990. 'coff_get_normalized_symtab'. This reads the symbol table from the coff
  8991. file and swaps all the structures inside into the internal form. It
  8992. also fixes up all the pointers in the table (represented in the file by
  8993. offsets from the first symbol in the table) into physical pointers to
  8994. elements in the new internal table. This involves some work since the
  8995. meanings of fields change depending upon context: a field that is a
  8996. pointer to another structure in the symbol table at one moment may be
  8997. the size in bytes of a structure at the next. Another pass is made over
  8998. the table. All symbols which mark file names ('C_FILE' symbols) are
  8999. modified so that the internal string points to the value in the auxent
  9000. (the real filename) rather than the normal text associated with the
  9001. symbol ('".file"').
  9002. At this time the symbol names are moved around. Coff stores all
  9003. symbols less than nine characters long physically within the symbol
  9004. table; longer strings are kept at the end of the file in the string
  9005. table. This pass moves all strings into memory and replaces them with
  9006. pointers to the strings.
  9007. The symbol table is massaged once again, this time to create the
  9008. canonical table used by the BFD application. Each symbol is inspected
  9009. in turn, and a decision made (using the 'sclass' field) about the
  9010. various flags to set in the 'asymbol'. *Note Symbols::. The generated
  9011. canonical table shares strings with the hidden internal symbol table.
  9012. Any linenumbers are read from the coff file too, and attached to the
  9013. symbols which own the functions the linenumbers belong to.
  9014. 3.3.2.5 Symbol writing
  9015. ......................
  9016. Writing a symbol to a coff file which didn't come from a coff file will
  9017. lose any debugging information. The 'asymbol' structure remembers the
  9018. BFD from which the symbol was taken, and on output the back end makes
  9019. sure that the same destination target as source target is present.
  9020. When the symbols have come from a coff file then all the debugging
  9021. information is preserved.
  9022. Symbol tables are provided for writing to the back end in a vector of
  9023. pointers to pointers. This allows applications like the linker to
  9024. accumulate and output large symbol tables without having to do too much
  9025. byte copying.
  9026. This function runs through the provided symbol table and patches each
  9027. symbol marked as a file place holder ('C_FILE') to point to the next
  9028. file place holder in the list. It also marks each 'offset' field in the
  9029. list with the offset from the first symbol of the current symbol.
  9030. Another function of this procedure is to turn the canonical value
  9031. form of BFD into the form used by coff. Internally, BFD expects symbol
  9032. values to be offsets from a section base; so a symbol physically at
  9033. 0x120, but in a section starting at 0x100, would have the value 0x20.
  9034. Coff expects symbols to contain their final value, so symbols have their
  9035. values changed at this point to reflect their sum with their owning
  9036. section. This transformation uses the 'output_section' field of the
  9037. 'asymbol''s 'asection' *Note Sections::.
  9038. * 'coff_mangle_symbols'
  9039. This routine runs though the provided symbol table and uses the
  9040. offsets generated by the previous pass and the pointers generated when
  9041. the symbol table was read in to create the structured hierarchy required
  9042. by coff. It changes each pointer to a symbol into the index into the
  9043. symbol table of the asymbol.
  9044. * 'coff_write_symbols'
  9045. This routine runs through the symbol table and patches up the symbols
  9046. from their internal form into the coff way, calls the bit twiddlers, and
  9047. writes out the table to the file.
  9048. 3.3.2.6 'coff_symbol_type'
  9049. ..........................
  9050. *Description*
  9051. The hidden information for an 'asymbol' is described in a
  9052. 'combined_entry_type':
  9053. typedef struct coff_ptr_struct
  9054. {
  9055. /* Remembers the offset from the first symbol in the file for
  9056. this symbol. Generated by coff_renumber_symbols. */
  9057. unsigned int offset;
  9058. /* Should the value of this symbol be renumbered. Used for
  9059. XCOFF C_BSTAT symbols. Set by coff_slurp_symbol_table. */
  9060. unsigned int fix_value : 1;
  9061. /* Should the tag field of this symbol be renumbered.
  9062. Created by coff_pointerize_aux. */
  9063. unsigned int fix_tag : 1;
  9064. /* Should the endidx field of this symbol be renumbered.
  9065. Created by coff_pointerize_aux. */
  9066. unsigned int fix_end : 1;
  9067. /* Should the x_csect.x_scnlen field be renumbered.
  9068. Created by coff_pointerize_aux. */
  9069. unsigned int fix_scnlen : 1;
  9070. /* Fix up an XCOFF C_BINCL/C_EINCL symbol. The value is the
  9071. index into the line number entries. Set by coff_slurp_symbol_table. */
  9072. unsigned int fix_line : 1;
  9073. /* The container for the symbol structure as read and translated
  9074. from the file. */
  9075. union
  9076. {
  9077. union internal_auxent auxent;
  9078. struct internal_syment syment;
  9079. } u;
  9080. /* Selector for the union above. */
  9081. bfd_boolean is_sym;
  9082. } combined_entry_type;
  9083. /* Each canonical asymbol really looks like this: */
  9084. typedef struct coff_symbol_struct
  9085. {
  9086. /* The actual symbol which the rest of BFD works with */
  9087. asymbol symbol;
  9088. /* A pointer to the hidden information for this symbol */
  9089. combined_entry_type *native;
  9090. /* A pointer to the linenumber information for this symbol */
  9091. struct lineno_cache_entry *lineno;
  9092. /* Have the line numbers been relocated yet ? */
  9093. bfd_boolean done_lineno;
  9094. } coff_symbol_type;
  9095. 3.3.2.7 'bfd_coff_backend_data'
  9096. ...............................
  9097. /* COFF symbol classifications. */
  9098. enum coff_symbol_classification
  9099. {
  9100. /* Global symbol. */
  9101. COFF_SYMBOL_GLOBAL,
  9102. /* Common symbol. */
  9103. COFF_SYMBOL_COMMON,
  9104. /* Undefined symbol. */
  9105. COFF_SYMBOL_UNDEFINED,
  9106. /* Local symbol. */
  9107. COFF_SYMBOL_LOCAL,
  9108. /* PE section symbol. */
  9109. COFF_SYMBOL_PE_SECTION
  9110. };
  9111. typedef asection * (*coff_gc_mark_hook_fn)
  9112. (asection *, struct bfd_link_info *, struct internal_reloc *,
  9113. struct coff_link_hash_entry *, struct internal_syment *);
  9114. Special entry points for gdb to swap in coff symbol table parts:
  9115. typedef struct
  9116. {
  9117. void (*_bfd_coff_swap_aux_in)
  9118. (bfd *, void *, int, int, int, int, void *);
  9119. void (*_bfd_coff_swap_sym_in)
  9120. (bfd *, void *, void *);
  9121. void (*_bfd_coff_swap_lineno_in)
  9122. (bfd *, void *, void *);
  9123. unsigned int (*_bfd_coff_swap_aux_out)
  9124. (bfd *, void *, int, int, int, int, void *);
  9125. unsigned int (*_bfd_coff_swap_sym_out)
  9126. (bfd *, void *, void *);
  9127. unsigned int (*_bfd_coff_swap_lineno_out)
  9128. (bfd *, void *, void *);
  9129. unsigned int (*_bfd_coff_swap_reloc_out)
  9130. (bfd *, void *, void *);
  9131. unsigned int (*_bfd_coff_swap_filehdr_out)
  9132. (bfd *, void *, void *);
  9133. unsigned int (*_bfd_coff_swap_aouthdr_out)
  9134. (bfd *, void *, void *);
  9135. unsigned int (*_bfd_coff_swap_scnhdr_out)
  9136. (bfd *, void *, void *);
  9137. unsigned int _bfd_filhsz;
  9138. unsigned int _bfd_aoutsz;
  9139. unsigned int _bfd_scnhsz;
  9140. unsigned int _bfd_symesz;
  9141. unsigned int _bfd_auxesz;
  9142. unsigned int _bfd_relsz;
  9143. unsigned int _bfd_linesz;
  9144. unsigned int _bfd_filnmlen;
  9145. bfd_boolean _bfd_coff_long_filenames;
  9146. bfd_boolean _bfd_coff_long_section_names;
  9147. bfd_boolean (*_bfd_coff_set_long_section_names)
  9148. (bfd *, int);
  9149. unsigned int _bfd_coff_default_section_alignment_power;
  9150. bfd_boolean _bfd_coff_force_symnames_in_strings;
  9151. unsigned int _bfd_coff_debug_string_prefix_length;
  9152. unsigned int _bfd_coff_max_nscns;
  9153. void (*_bfd_coff_swap_filehdr_in)
  9154. (bfd *, void *, void *);
  9155. void (*_bfd_coff_swap_aouthdr_in)
  9156. (bfd *, void *, void *);
  9157. void (*_bfd_coff_swap_scnhdr_in)
  9158. (bfd *, void *, void *);
  9159. void (*_bfd_coff_swap_reloc_in)
  9160. (bfd *abfd, void *, void *);
  9161. bfd_boolean (*_bfd_coff_bad_format_hook)
  9162. (bfd *, void *);
  9163. bfd_boolean (*_bfd_coff_set_arch_mach_hook)
  9164. (bfd *, void *);
  9165. void * (*_bfd_coff_mkobject_hook)
  9166. (bfd *, void *, void *);
  9167. bfd_boolean (*_bfd_styp_to_sec_flags_hook)
  9168. (bfd *, void *, const char *, asection *, flagword *);
  9169. void (*_bfd_set_alignment_hook)
  9170. (bfd *, asection *, void *);
  9171. bfd_boolean (*_bfd_coff_slurp_symbol_table)
  9172. (bfd *);
  9173. bfd_boolean (*_bfd_coff_symname_in_debug)
  9174. (bfd *, struct internal_syment *);
  9175. bfd_boolean (*_bfd_coff_pointerize_aux_hook)
  9176. (bfd *, combined_entry_type *, combined_entry_type *,
  9177. unsigned int, combined_entry_type *);
  9178. bfd_boolean (*_bfd_coff_print_aux)
  9179. (bfd *, FILE *, combined_entry_type *, combined_entry_type *,
  9180. combined_entry_type *, unsigned int);
  9181. void (*_bfd_coff_reloc16_extra_cases)
  9182. (bfd *, struct bfd_link_info *, struct bfd_link_order *, arelent *,
  9183. bfd_byte *, unsigned int *, unsigned int *);
  9184. int (*_bfd_coff_reloc16_estimate)
  9185. (bfd *, asection *, arelent *, unsigned int,
  9186. struct bfd_link_info *);
  9187. enum coff_symbol_classification (*_bfd_coff_classify_symbol)
  9188. (bfd *, struct internal_syment *);
  9189. bfd_boolean (*_bfd_coff_compute_section_file_positions)
  9190. (bfd *);
  9191. bfd_boolean (*_bfd_coff_start_final_link)
  9192. (bfd *, struct bfd_link_info *);
  9193. bfd_boolean (*_bfd_coff_relocate_section)
  9194. (bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
  9195. struct internal_reloc *, struct internal_syment *, asection **);
  9196. reloc_howto_type *(*_bfd_coff_rtype_to_howto)
  9197. (bfd *, asection *, struct internal_reloc *,
  9198. struct coff_link_hash_entry *, struct internal_syment *, bfd_vma *);
  9199. bfd_boolean (*_bfd_coff_adjust_symndx)
  9200. (bfd *, struct bfd_link_info *, bfd *, asection *,
  9201. struct internal_reloc *, bfd_boolean *);
  9202. bfd_boolean (*_bfd_coff_link_add_one_symbol)
  9203. (struct bfd_link_info *, bfd *, const char *, flagword,
  9204. asection *, bfd_vma, const char *, bfd_boolean, bfd_boolean,
  9205. struct bfd_link_hash_entry **);
  9206. bfd_boolean (*_bfd_coff_link_output_has_begun)
  9207. (bfd *, struct coff_final_link_info *);
  9208. bfd_boolean (*_bfd_coff_final_link_postscript)
  9209. (bfd *, struct coff_final_link_info *);
  9210. bfd_boolean (*_bfd_coff_print_pdata)
  9211. (bfd *, void *);
  9212. } bfd_coff_backend_data;
  9213. #define coff_backend_info(abfd) \
  9214. ((bfd_coff_backend_data *) (abfd)->xvec->backend_data)
  9215. #define bfd_coff_swap_aux_in(a,e,t,c,ind,num,i) \
  9216. ((coff_backend_info (a)->_bfd_coff_swap_aux_in) (a,e,t,c,ind,num,i))
  9217. #define bfd_coff_swap_sym_in(a,e,i) \
  9218. ((coff_backend_info (a)->_bfd_coff_swap_sym_in) (a,e,i))
  9219. #define bfd_coff_swap_lineno_in(a,e,i) \
  9220. ((coff_backend_info ( a)->_bfd_coff_swap_lineno_in) (a,e,i))
  9221. #define bfd_coff_swap_reloc_out(abfd, i, o) \
  9222. ((coff_backend_info (abfd)->_bfd_coff_swap_reloc_out) (abfd, i, o))
  9223. #define bfd_coff_swap_lineno_out(abfd, i, o) \
  9224. ((coff_backend_info (abfd)->_bfd_coff_swap_lineno_out) (abfd, i, o))
  9225. #define bfd_coff_swap_aux_out(a,i,t,c,ind,num,o) \
  9226. ((coff_backend_info (a)->_bfd_coff_swap_aux_out) (a,i,t,c,ind,num,o))
  9227. #define bfd_coff_swap_sym_out(abfd, i,o) \
  9228. ((coff_backend_info (abfd)->_bfd_coff_swap_sym_out) (abfd, i, o))
  9229. #define bfd_coff_swap_scnhdr_out(abfd, i,o) \
  9230. ((coff_backend_info (abfd)->_bfd_coff_swap_scnhdr_out) (abfd, i, o))
  9231. #define bfd_coff_swap_filehdr_out(abfd, i,o) \
  9232. ((coff_backend_info (abfd)->_bfd_coff_swap_filehdr_out) (abfd, i, o))
  9233. #define bfd_coff_swap_aouthdr_out(abfd, i,o) \
  9234. ((coff_backend_info (abfd)->_bfd_coff_swap_aouthdr_out) (abfd, i, o))
  9235. #define bfd_coff_filhsz(abfd) (coff_backend_info (abfd)->_bfd_filhsz)
  9236. #define bfd_coff_aoutsz(abfd) (coff_backend_info (abfd)->_bfd_aoutsz)
  9237. #define bfd_coff_scnhsz(abfd) (coff_backend_info (abfd)->_bfd_scnhsz)
  9238. #define bfd_coff_symesz(abfd) (coff_backend_info (abfd)->_bfd_symesz)
  9239. #define bfd_coff_auxesz(abfd) (coff_backend_info (abfd)->_bfd_auxesz)
  9240. #define bfd_coff_relsz(abfd) (coff_backend_info (abfd)->_bfd_relsz)
  9241. #define bfd_coff_linesz(abfd) (coff_backend_info (abfd)->_bfd_linesz)
  9242. #define bfd_coff_filnmlen(abfd) (coff_backend_info (abfd)->_bfd_filnmlen)
  9243. #define bfd_coff_long_filenames(abfd) \
  9244. (coff_backend_info (abfd)->_bfd_coff_long_filenames)
  9245. #define bfd_coff_long_section_names(abfd) \
  9246. (coff_backend_info (abfd)->_bfd_coff_long_section_names)
  9247. #define bfd_coff_set_long_section_names(abfd, enable) \
  9248. ((coff_backend_info (abfd)->_bfd_coff_set_long_section_names) (abfd, enable))
  9249. #define bfd_coff_default_section_alignment_power(abfd) \
  9250. (coff_backend_info (abfd)->_bfd_coff_default_section_alignment_power)
  9251. #define bfd_coff_max_nscns(abfd) \
  9252. (coff_backend_info (abfd)->_bfd_coff_max_nscns)
  9253. #define bfd_coff_swap_filehdr_in(abfd, i,o) \
  9254. ((coff_backend_info (abfd)->_bfd_coff_swap_filehdr_in) (abfd, i, o))
  9255. #define bfd_coff_swap_aouthdr_in(abfd, i,o) \
  9256. ((coff_backend_info (abfd)->_bfd_coff_swap_aouthdr_in) (abfd, i, o))
  9257. #define bfd_coff_swap_scnhdr_in(abfd, i,o) \
  9258. ((coff_backend_info (abfd)->_bfd_coff_swap_scnhdr_in) (abfd, i, o))
  9259. #define bfd_coff_swap_reloc_in(abfd, i, o) \
  9260. ((coff_backend_info (abfd)->_bfd_coff_swap_reloc_in) (abfd, i, o))
  9261. #define bfd_coff_bad_format_hook(abfd, filehdr) \
  9262. ((coff_backend_info (abfd)->_bfd_coff_bad_format_hook) (abfd, filehdr))
  9263. #define bfd_coff_set_arch_mach_hook(abfd, filehdr)\
  9264. ((coff_backend_info (abfd)->_bfd_coff_set_arch_mach_hook) (abfd, filehdr))
  9265. #define bfd_coff_mkobject_hook(abfd, filehdr, aouthdr)\
  9266. ((coff_backend_info (abfd)->_bfd_coff_mkobject_hook)\
  9267. (abfd, filehdr, aouthdr))
  9268. #define bfd_coff_styp_to_sec_flags_hook(abfd, scnhdr, name, section, flags_ptr)\
  9269. ((coff_backend_info (abfd)->_bfd_styp_to_sec_flags_hook)\
  9270. (abfd, scnhdr, name, section, flags_ptr))
  9271. #define bfd_coff_set_alignment_hook(abfd, sec, scnhdr)\
  9272. ((coff_backend_info (abfd)->_bfd_set_alignment_hook) (abfd, sec, scnhdr))
  9273. #define bfd_coff_slurp_symbol_table(abfd)\
  9274. ((coff_backend_info (abfd)->_bfd_coff_slurp_symbol_table) (abfd))
  9275. #define bfd_coff_symname_in_debug(abfd, sym)\
  9276. ((coff_backend_info (abfd)->_bfd_coff_symname_in_debug) (abfd, sym))
  9277. #define bfd_coff_force_symnames_in_strings(abfd)\
  9278. (coff_backend_info (abfd)->_bfd_coff_force_symnames_in_strings)
  9279. #define bfd_coff_debug_string_prefix_length(abfd)\
  9280. (coff_backend_info (abfd)->_bfd_coff_debug_string_prefix_length)
  9281. #define bfd_coff_print_aux(abfd, file, base, symbol, aux, indaux)\
  9282. ((coff_backend_info (abfd)->_bfd_coff_print_aux)\
  9283. (abfd, file, base, symbol, aux, indaux))
  9284. #define bfd_coff_reloc16_extra_cases(abfd, link_info, link_order,\
  9285. reloc, data, src_ptr, dst_ptr)\
  9286. ((coff_backend_info (abfd)->_bfd_coff_reloc16_extra_cases)\
  9287. (abfd, link_info, link_order, reloc, data, src_ptr, dst_ptr))
  9288. #define bfd_coff_reloc16_estimate(abfd, section, reloc, shrink, link_info)\
  9289. ((coff_backend_info (abfd)->_bfd_coff_reloc16_estimate)\
  9290. (abfd, section, reloc, shrink, link_info))
  9291. #define bfd_coff_classify_symbol(abfd, sym)\
  9292. ((coff_backend_info (abfd)->_bfd_coff_classify_symbol)\
  9293. (abfd, sym))
  9294. #define bfd_coff_compute_section_file_positions(abfd)\
  9295. ((coff_backend_info (abfd)->_bfd_coff_compute_section_file_positions)\
  9296. (abfd))
  9297. #define bfd_coff_start_final_link(obfd, info)\
  9298. ((coff_backend_info (obfd)->_bfd_coff_start_final_link)\
  9299. (obfd, info))
  9300. #define bfd_coff_relocate_section(obfd,info,ibfd,o,con,rel,isyms,secs)\
  9301. ((coff_backend_info (ibfd)->_bfd_coff_relocate_section)\
  9302. (obfd, info, ibfd, o, con, rel, isyms, secs))
  9303. #define bfd_coff_rtype_to_howto(abfd, sec, rel, h, sym, addendp)\
  9304. ((coff_backend_info (abfd)->_bfd_coff_rtype_to_howto)\
  9305. (abfd, sec, rel, h, sym, addendp))
  9306. #define bfd_coff_adjust_symndx(obfd, info, ibfd, sec, rel, adjustedp)\
  9307. ((coff_backend_info (abfd)->_bfd_coff_adjust_symndx)\
  9308. (obfd, info, ibfd, sec, rel, adjustedp))
  9309. #define bfd_coff_link_add_one_symbol(info, abfd, name, flags, section,\
  9310. value, string, cp, coll, hashp)\
  9311. ((coff_backend_info (abfd)->_bfd_coff_link_add_one_symbol)\
  9312. (info, abfd, name, flags, section, value, string, cp, coll, hashp))
  9313. #define bfd_coff_link_output_has_begun(a,p) \
  9314. ((coff_backend_info (a)->_bfd_coff_link_output_has_begun) (a, p))
  9315. #define bfd_coff_final_link_postscript(a,p) \
  9316. ((coff_backend_info (a)->_bfd_coff_final_link_postscript) (a, p))
  9317. #define bfd_coff_have_print_pdata(a) \
  9318. (coff_backend_info (a)->_bfd_coff_print_pdata)
  9319. #define bfd_coff_print_pdata(a,p) \
  9320. ((coff_backend_info (a)->_bfd_coff_print_pdata) (a, p))
  9321. /* Macro: Returns true if the bfd is a PE executable as opposed to a
  9322. PE object file. */
  9323. #define bfd_pei_p(abfd) \
  9324. (CONST_STRNEQ ((abfd)->xvec->name, "pei-"))
  9325. 3.3.2.8 Writing relocations
  9326. ...........................
  9327. To write relocations, the back end steps though the canonical relocation
  9328. table and create an 'internal_reloc'. The symbol index to use is
  9329. removed from the 'offset' field in the symbol table supplied. The
  9330. address comes directly from the sum of the section base address and the
  9331. relocation offset; the type is dug directly from the howto field. Then
  9332. the 'internal_reloc' is swapped into the shape of an 'external_reloc'
  9333. and written out to disk.
  9334. 3.3.2.9 Reading linenumbers
  9335. ...........................
  9336. Creating the linenumber table is done by reading in the entire coff
  9337. linenumber table, and creating another table for internal use.
  9338. A coff linenumber table is structured so that each function is marked
  9339. as having a line number of 0. Each line within the function is an
  9340. offset from the first line in the function. The base of the line number
  9341. information for the table is stored in the symbol associated with the
  9342. function.
  9343. Note: The PE format uses line number 0 for a flag indicating a new
  9344. source file.
  9345. The information is copied from the external to the internal table,
  9346. and each symbol which marks a function is marked by pointing its...
  9347. How does this work ?
  9348. 3.3.2.10 Reading relocations
  9349. ............................
  9350. Coff relocations are easily transformed into the internal BFD form
  9351. ('arelent').
  9352. Reading a coff relocation table is done in the following stages:
  9353. * Read the entire coff relocation table into memory.
  9354. * Process each relocation in turn; first swap it from the external to
  9355. the internal form.
  9356. * Turn the symbol referenced in the relocation's symbol index into a
  9357. pointer into the canonical symbol table. This table is the same as
  9358. the one returned by a call to 'bfd_canonicalize_symtab'. The back
  9359. end will call that routine and save the result if a
  9360. canonicalization hasn't been done.
  9361. * The reloc index is turned into a pointer to a howto structure, in a
  9362. back end specific way. For instance, the 386 uses the 'r_type' to
  9363. directly produce an index into a howto table vector.
  9364. 
  9365. File: bfd.info, Node: elf, Next: mmo, Prev: coff, Up: BFD back ends
  9366. 3.4 ELF backends
  9367. ================
  9368. BFD support for ELF formats is being worked on. Currently, the best
  9369. supported back ends are for sparc and i386 (running svr4 or Solaris 2).
  9370. Documentation of the internals of the support code still needs to be
  9371. written. The code is changing quickly enough that we haven't bothered
  9372. yet.
  9373. 
  9374. File: bfd.info, Node: mmo, Prev: elf, Up: BFD back ends
  9375. 3.5 mmo backend
  9376. ===============
  9377. The mmo object format is used exclusively together with Professor Donald
  9378. E. Knuth's educational 64-bit processor MMIX. The simulator 'mmix' which
  9379. is available at <http://mmix.cs.hm.edu/src/index.html> understands this
  9380. format. That package also includes a combined assembler and linker
  9381. called 'mmixal'. The mmo format has no advantages feature-wise compared
  9382. to e.g. ELF. It is a simple non-relocatable object format with no
  9383. support for archives or debugging information, except for symbol value
  9384. information and line numbers (which is not yet implemented in BFD). See
  9385. <http://mmix.cs.hm.edu/> for more information about MMIX. The ELF format
  9386. is used for intermediate object files in the BFD implementation.
  9387. * Menu:
  9388. * File layout::
  9389. * Symbol-table::
  9390. * mmo section mapping::
  9391. 
  9392. File: bfd.info, Node: File layout, Next: Symbol-table, Prev: mmo, Up: mmo
  9393. 3.5.1 File layout
  9394. -----------------
  9395. The mmo file contents is not partitioned into named sections as with
  9396. e.g. ELF. Memory areas is formed by specifying the location of the data
  9397. that follows. Only the memory area '0x0000...00' to '0x01ff...ff' is
  9398. executable, so it is used for code (and constants) and the area
  9399. '0x2000...00' to '0x20ff...ff' is used for writable data. *Note mmo
  9400. section mapping::.
  9401. There is provision for specifying "special data" of 65536 different
  9402. types. We use type 80 (decimal), arbitrarily chosen the same as the ELF
  9403. 'e_machine' number for MMIX, filling it with section information
  9404. normally found in ELF objects. *Note mmo section mapping::.
  9405. Contents is entered as 32-bit words, xor:ed over previous contents,
  9406. always zero-initialized. A word that starts with the byte '0x98' forms
  9407. a command called a 'lopcode', where the next byte distinguished between
  9408. the thirteen lopcodes. The two remaining bytes, called the 'Y' and 'Z'
  9409. fields, or the 'YZ' field (a 16-bit big-endian number), are used for
  9410. various purposes different for each lopcode. As documented in
  9411. <http://mmix.cs.hm.edu/doc/mmixal.pdf>, the lopcodes are:
  9412. 'lop_quote'
  9413. 0x98000001. The next word is contents, regardless of whether it
  9414. starts with 0x98 or not.
  9415. 'lop_loc'
  9416. 0x9801YYZZ, where 'Z' is 1 or 2. This is a location directive,
  9417. setting the location for the next data to the next 32-bit word (for
  9418. Z = 1) or 64-bit word (for Z = 2), plus Y * 2^56. Normally 'Y' is
  9419. 0 for the text segment and 2 for the data segment. Beware that the
  9420. low bits of non- tetrabyte-aligned values are silently discarded
  9421. when being automatically incremented and when storing contents (in
  9422. contrast to e.g. its use as current location when followed by
  9423. lop_fixo et al before the next possibly-quoted tetrabyte contents).
  9424. 'lop_skip'
  9425. 0x9802YYZZ. Increase the current location by 'YZ' bytes.
  9426. 'lop_fixo'
  9427. 0x9803YYZZ, where 'Z' is 1 or 2. Store the current location as 64
  9428. bits into the location pointed to by the next 32-bit (Z = 1) or
  9429. 64-bit (Z = 2) word, plus Y * 2^56.
  9430. 'lop_fixr'
  9431. 0x9804YYZZ. 'YZ' is stored into the current location plus 2 - 4 *
  9432. YZ.
  9433. 'lop_fixrx'
  9434. 0x980500ZZ. 'Z' is 16 or 24. A value 'L' derived from the
  9435. following 32-bit word are used in a manner similar to 'YZ' in
  9436. lop_fixr: it is xor:ed into the current location minus 4 * L. The
  9437. first byte of the word is 0 or 1. If it is 1, then L = (LOWEST 24
  9438. BITS OF WORD) - 2^Z, if 0, then L = (LOWEST 24 BITS OF WORD).
  9439. 'lop_file'
  9440. 0x9806YYZZ. 'Y' is the file number, 'Z' is count of 32-bit words.
  9441. Set the file number to 'Y' and the line counter to 0. The next Z *
  9442. 4 bytes contain the file name, padded with zeros if the count is
  9443. not a multiple of four. The same 'Y' may occur multiple times, but
  9444. 'Z' must be 0 for all but the first occurrence.
  9445. 'lop_line'
  9446. 0x9807YYZZ. 'YZ' is the line number. Together with lop_file, it
  9447. forms the source location for the next 32-bit word. Note that for
  9448. each non-lopcode 32-bit word, line numbers are assumed incremented
  9449. by one.
  9450. 'lop_spec'
  9451. 0x9808YYZZ. 'YZ' is the type number. Data until the next lopcode
  9452. other than lop_quote forms special data of type 'YZ'. *Note mmo
  9453. section mapping::.
  9454. Other types than 80, (or type 80 with a content that does not
  9455. parse) is stored in sections named '.MMIX.spec_data.N' where N is
  9456. the 'YZ'-type. The flags for such a sections say not to allocate
  9457. or load the data. The vma is 0. Contents of multiple occurrences
  9458. of special data N is concatenated to the data of the previous
  9459. lop_spec Ns. The location in data or code at which the lop_spec
  9460. occurred is lost.
  9461. 'lop_pre'
  9462. 0x980901ZZ. The first lopcode in a file. The 'Z' field forms the
  9463. length of header information in 32-bit words, where the first word
  9464. tells the time in seconds since '00:00:00 GMT Jan 1 1970'.
  9465. 'lop_post'
  9466. 0x980a00ZZ. Z > 32. This lopcode follows after all
  9467. content-generating lopcodes in a program. The 'Z' field denotes
  9468. the value of 'rG' at the beginning of the program. The following
  9469. 256 - Z big-endian 64-bit words are loaded into global registers
  9470. '$G' ... '$255'.
  9471. 'lop_stab'
  9472. 0x980b0000. The next-to-last lopcode in a program. Must follow
  9473. immediately after the lop_post lopcode and its data. After this
  9474. lopcode follows all symbols in a compressed format (*note
  9475. Symbol-table::).
  9476. 'lop_end'
  9477. 0x980cYYZZ. The last lopcode in a program. It must follow the
  9478. lop_stab lopcode and its data. The 'YZ' field contains the number
  9479. of 32-bit words of symbol table information after the preceding
  9480. lop_stab lopcode.
  9481. Note that the lopcode "fixups"; 'lop_fixr', 'lop_fixrx' and
  9482. 'lop_fixo' are not generated by BFD, but are handled. They are
  9483. generated by 'mmixal'.
  9484. This trivial one-label, one-instruction file:
  9485. :Main TRAP 1,2,3
  9486. can be represented this way in mmo:
  9487. 0x98090101 - lop_pre, one 32-bit word with timestamp.
  9488. <timestamp>
  9489. 0x98010002 - lop_loc, text segment, using a 64-bit address.
  9490. Note that mmixal does not emit this for the file above.
  9491. 0x00000000 - Address, high 32 bits.
  9492. 0x00000000 - Address, low 32 bits.
  9493. 0x98060002 - lop_file, 2 32-bit words for file-name.
  9494. 0x74657374 - "test"
  9495. 0x2e730000 - ".s\0\0"
  9496. 0x98070001 - lop_line, line 1.
  9497. 0x00010203 - TRAP 1,2,3
  9498. 0x980a00ff - lop_post, setting $255 to 0.
  9499. 0x00000000
  9500. 0x00000000
  9501. 0x980b0000 - lop_stab for ":Main" = 0, serial 1.
  9502. 0x203a4040 *Note Symbol-table::.
  9503. 0x10404020
  9504. 0x4d206120
  9505. 0x69016e00
  9506. 0x81000000
  9507. 0x980c0005 - lop_end; symbol table contained five 32-bit words.
  9508. 
  9509. File: bfd.info, Node: Symbol-table, Next: mmo section mapping, Prev: File layout, Up: mmo
  9510. 3.5.2 Symbol table format
  9511. -------------------------
  9512. From mmixal.w (or really, the generated mmixal.tex) in the MMIXware
  9513. package which also contains the 'mmix' simulator: "Symbols are stored
  9514. and retrieved by means of a 'ternary search trie', following ideas of
  9515. Bentley and Sedgewick. (See ACM-SIAM Symp. on Discrete Algorithms '8'
  9516. (1997), 360-369; R.Sedgewick, 'Algorithms in C' (Reading, Mass.
  9517. Addison-Wesley, 1998), '15.4'.) Each trie node stores a character, and
  9518. there are branches to subtries for the cases where a given character is
  9519. less than, equal to, or greater than the character in the trie. There
  9520. also is a pointer to a symbol table entry if a symbol ends at the
  9521. current node."
  9522. So it's a tree encoded as a stream of bytes. The stream of bytes
  9523. acts on a single virtual global symbol, adding and removing characters
  9524. and signalling complete symbol points. Here, we read the stream and
  9525. create symbols at the completion points.
  9526. First, there's a control byte 'm'. If any of the listed bits in 'm'
  9527. is nonzero, we execute what stands at the right, in the listed order:
  9528. (MMO3_LEFT)
  9529. 0x40 - Traverse left trie.
  9530. (Read a new command byte and recurse.)
  9531. (MMO3_SYMBITS)
  9532. 0x2f - Read the next byte as a character and store it in the
  9533. current character position; increment character position.
  9534. Test the bits of m:
  9535. (MMO3_WCHAR)
  9536. 0x80 - The character is 16-bit (so read another byte,
  9537. merge into current character.
  9538. (MMO3_TYPEBITS)
  9539. 0xf - We have a complete symbol; parse the type, value
  9540. and serial number and do what should be done
  9541. with a symbol. The type and length information
  9542. is in j = (m & 0xf).
  9543. (MMO3_REGQUAL_BITS)
  9544. j == 0xf: A register variable. The following
  9545. byte tells which register.
  9546. j <= 8: An absolute symbol. Read j bytes as the
  9547. big-endian number the symbol equals.
  9548. A j = 2 with two zero bytes denotes an
  9549. unknown symbol.
  9550. j > 8: As with j <= 8, but add (0x20 << 56)
  9551. to the value in the following j - 8
  9552. bytes.
  9553. Then comes the serial number, as a variant of
  9554. uleb128, but better named ubeb128:
  9555. Read bytes and shift the previous value left 7
  9556. (multiply by 128). Add in the new byte, repeat
  9557. until a byte has bit 7 set. The serial number
  9558. is the computed value minus 128.
  9559. (MMO3_MIDDLE)
  9560. 0x20 - Traverse middle trie. (Read a new command byte
  9561. and recurse.) Decrement character position.
  9562. (MMO3_RIGHT)
  9563. 0x10 - Traverse right trie. (Read a new command byte and
  9564. recurse.)
  9565. Let's look again at the 'lop_stab' for the trivial file (*note File
  9566. layout::).
  9567. 0x980b0000 - lop_stab for ":Main" = 0, serial 1.
  9568. 0x203a4040
  9569. 0x10404020
  9570. 0x4d206120
  9571. 0x69016e00
  9572. 0x81000000
  9573. This forms the trivial trie (note that the path between ":" and "M"
  9574. is redundant):
  9575. 203a ":"
  9576. 40 /
  9577. 40 /
  9578. 10 \
  9579. 40 /
  9580. 40 /
  9581. 204d "M"
  9582. 2061 "a"
  9583. 2069 "i"
  9584. 016e "n" is the last character in a full symbol, and
  9585. with a value represented in one byte.
  9586. 00 The value is 0.
  9587. 81 The serial number is 1.
  9588. 
  9589. File: bfd.info, Node: mmo section mapping, Prev: Symbol-table, Up: mmo
  9590. 3.5.3 mmo section mapping
  9591. -------------------------
  9592. The implementation in BFD uses special data type 80 (decimal) to
  9593. encapsulate and describe named sections, containing e.g. debug
  9594. information. If needed, any datum in the encapsulation will be quoted
  9595. using lop_quote. First comes a 32-bit word holding the number of 32-bit
  9596. words containing the zero-terminated zero-padded segment name. After
  9597. the name there's a 32-bit word holding flags describing the section
  9598. type. Then comes a 64-bit big-endian word with the section length (in
  9599. bytes), then another with the section start address. Depending on the
  9600. type of section, the contents might follow, zero-padded to 32-bit
  9601. boundary. For a loadable section (such as data or code), the contents
  9602. might follow at some later point, not necessarily immediately, as a
  9603. lop_loc with the same start address as in the section description,
  9604. followed by the contents. This in effect forms a descriptor that must
  9605. be emitted before the actual contents. Sections described this way must
  9606. not overlap.
  9607. For areas that don't have such descriptors, synthetic sections are
  9608. formed by BFD. Consecutive contents in the two memory areas
  9609. '0x0000...00' to '0x01ff...ff' and '0x2000...00' to '0x20ff...ff' are
  9610. entered in sections named '.text' and '.data' respectively. If an area
  9611. is not otherwise described, but would together with a neighboring lower
  9612. area be less than '0x40000000' bytes long, it is joined with the lower
  9613. area and the gap is zero-filled. For other cases, a new section is
  9614. formed, named '.MMIX.sec.N'. Here, N is a number, a running count
  9615. through the mmo file, starting at 0.
  9616. A loadable section specified as:
  9617. .section secname,"ax"
  9618. TETRA 1,2,3,4,-1,-2009
  9619. BYTE 80
  9620. and linked to address '0x4', is represented by the sequence:
  9621. 0x98080050 - lop_spec 80
  9622. 0x00000002 - two 32-bit words for the section name
  9623. 0x7365636e - "secn"
  9624. 0x616d6500 - "ame\0"
  9625. 0x00000033 - flags CODE, READONLY, LOAD, ALLOC
  9626. 0x00000000 - high 32 bits of section length
  9627. 0x0000001c - section length is 28 bytes; 6 * 4 + 1 + alignment to 32 bits
  9628. 0x00000000 - high 32 bits of section address
  9629. 0x00000004 - section address is 4
  9630. 0x98010002 - 64 bits with address of following data
  9631. 0x00000000 - high 32 bits of address
  9632. 0x00000004 - low 32 bits: data starts at address 4
  9633. 0x00000001 - 1
  9634. 0x00000002 - 2
  9635. 0x00000003 - 3
  9636. 0x00000004 - 4
  9637. 0xffffffff - -1
  9638. 0xfffff827 - -2009
  9639. 0x50000000 - 80 as a byte, padded with zeros.
  9640. Note that the lop_spec wrapping does not include the section
  9641. contents. Compare this to a non-loaded section specified as:
  9642. .section thirdsec
  9643. TETRA 200001,100002
  9644. BYTE 38,40
  9645. This, when linked to address '0x200000000000001c', is represented by:
  9646. 0x98080050 - lop_spec 80
  9647. 0x00000002 - two 32-bit words for the section name
  9648. 0x7365636e - "thir"
  9649. 0x616d6500 - "dsec"
  9650. 0x00000010 - flag READONLY
  9651. 0x00000000 - high 32 bits of section length
  9652. 0x0000000c - section length is 12 bytes; 2 * 4 + 2 + alignment to 32 bits
  9653. 0x20000000 - high 32 bits of address
  9654. 0x0000001c - low 32 bits of address 0x200000000000001c
  9655. 0x00030d41 - 200001
  9656. 0x000186a2 - 100002
  9657. 0x26280000 - 38, 40 as bytes, padded with zeros
  9658. For the latter example, the section contents must not be loaded in
  9659. memory, and is therefore specified as part of the special data. The
  9660. address is usually unimportant but might provide information for e.g.
  9661. the DWARF 2 debugging format.
  9662. 
  9663. File: bfd.info, Node: GNU Free Documentation License, Next: BFD Index, Prev: BFD back ends, Up: Top
  9664. Version 1.3, 3 November 2008
  9665. Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
  9666. <http://fsf.org/>
  9667. Everyone is permitted to copy and distribute verbatim copies
  9668. of this license document, but changing it is not allowed.
  9669. 0. PREAMBLE
  9670. The purpose of this License is to make a manual, textbook, or other
  9671. functional and useful document "free" in the sense of freedom: to
  9672. assure everyone the effective freedom to copy and redistribute it,
  9673. with or without modifying it, either commercially or
  9674. noncommercially. Secondarily, this License preserves for the
  9675. author and publisher a way to get credit for their work, while not
  9676. being considered responsible for modifications made by others.
  9677. This License is a kind of "copyleft", which means that derivative
  9678. works of the document must themselves be free in the same sense.
  9679. It complements the GNU General Public License, which is a copyleft
  9680. license designed for free software.
  9681. We have designed this License in order to use it for manuals for
  9682. free software, because free software needs free documentation: a
  9683. free program should come with manuals providing the same freedoms
  9684. that the software does. But this License is not limited to
  9685. software manuals; it can be used for any textual work, regardless
  9686. of subject matter or whether it is published as a printed book. We
  9687. recommend this License principally for works whose purpose is
  9688. instruction or reference.
  9689. 1. APPLICABILITY AND DEFINITIONS
  9690. This License applies to any manual or other work, in any medium,
  9691. that contains a notice placed by the copyright holder saying it can
  9692. be distributed under the terms of this License. Such a notice
  9693. grants a world-wide, royalty-free license, unlimited in duration,
  9694. to use that work under the conditions stated herein. The
  9695. "Document", below, refers to any such manual or work. Any member
  9696. of the public is a licensee, and is addressed as "you". You accept
  9697. the license if you copy, modify or distribute the work in a way
  9698. requiring permission under copyright law.
  9699. A "Modified Version" of the Document means any work containing the
  9700. Document or a portion of it, either copied verbatim, or with
  9701. modifications and/or translated into another language.
  9702. A "Secondary Section" is a named appendix or a front-matter section
  9703. of the Document that deals exclusively with the relationship of the
  9704. publishers or authors of the Document to the Document's overall
  9705. subject (or to related matters) and contains nothing that could
  9706. fall directly within that overall subject. (Thus, if the Document
  9707. is in part a textbook of mathematics, a Secondary Section may not
  9708. explain any mathematics.) The relationship could be a matter of
  9709. historical connection with the subject or with related matters, or
  9710. of legal, commercial, philosophical, ethical or political position
  9711. regarding them.
  9712. The "Invariant Sections" are certain Secondary Sections whose
  9713. titles are designated, as being those of Invariant Sections, in the
  9714. notice that says that the Document is released under this License.
  9715. If a section does not fit the above definition of Secondary then it
  9716. is not allowed to be designated as Invariant. The Document may
  9717. contain zero Invariant Sections. If the Document does not identify
  9718. any Invariant Sections then there are none.
  9719. The "Cover Texts" are certain short passages of text that are
  9720. listed, as Front-Cover Texts or Back-Cover Texts, in the notice
  9721. that says that the Document is released under this License. A
  9722. Front-Cover Text may be at most 5 words, and a Back-Cover Text may
  9723. be at most 25 words.
  9724. A "Transparent" copy of the Document means a machine-readable copy,
  9725. represented in a format whose specification is available to the
  9726. general public, that is suitable for revising the document
  9727. straightforwardly with generic text editors or (for images composed
  9728. of pixels) generic paint programs or (for drawings) some widely
  9729. available drawing editor, and that is suitable for input to text
  9730. formatters or for automatic translation to a variety of formats
  9731. suitable for input to text formatters. A copy made in an otherwise
  9732. Transparent file format whose markup, or absence of markup, has
  9733. been arranged to thwart or discourage subsequent modification by
  9734. readers is not Transparent. An image format is not Transparent if
  9735. used for any substantial amount of text. A copy that is not
  9736. "Transparent" is called "Opaque".
  9737. Examples of suitable formats for Transparent copies include plain
  9738. ASCII without markup, Texinfo input format, LaTeX input format,
  9739. SGML or XML using a publicly available DTD, and standard-conforming
  9740. simple HTML, PostScript or PDF designed for human modification.
  9741. Examples of transparent image formats include PNG, XCF and JPG.
  9742. Opaque formats include proprietary formats that can be read and
  9743. edited only by proprietary word processors, SGML or XML for which
  9744. the DTD and/or processing tools are not generally available, and
  9745. the machine-generated HTML, PostScript or PDF produced by some word
  9746. processors for output purposes only.
  9747. The "Title Page" means, for a printed book, the title page itself,
  9748. plus such following pages as are needed to hold, legibly, the
  9749. material this License requires to appear in the title page. For
  9750. works in formats which do not have any title page as such, "Title
  9751. Page" means the text near the most prominent appearance of the
  9752. work's title, preceding the beginning of the body of the text.
  9753. The "publisher" means any person or entity that distributes copies
  9754. of the Document to the public.
  9755. A section "Entitled XYZ" means a named subunit of the Document
  9756. whose title either is precisely XYZ or contains XYZ in parentheses
  9757. following text that translates XYZ in another language. (Here XYZ
  9758. stands for a specific section name mentioned below, such as
  9759. "Acknowledgements", "Dedications", "Endorsements", or "History".)
  9760. To "Preserve the Title" of such a section when you modify the
  9761. Document means that it remains a section "Entitled XYZ" according
  9762. to this definition.
  9763. The Document may include Warranty Disclaimers next to the notice
  9764. which states that this License applies to the Document. These
  9765. Warranty Disclaimers are considered to be included by reference in
  9766. this License, but only as regards disclaiming warranties: any other
  9767. implication that these Warranty Disclaimers may have is void and
  9768. has no effect on the meaning of this License.
  9769. 2. VERBATIM COPYING
  9770. You may copy and distribute the Document in any medium, either
  9771. commercially or noncommercially, provided that this License, the
  9772. copyright notices, and the license notice saying this License
  9773. applies to the Document are reproduced in all copies, and that you
  9774. add no other conditions whatsoever to those of this License. You
  9775. may not use technical measures to obstruct or control the reading
  9776. or further copying of the copies you make or distribute. However,
  9777. you may accept compensation in exchange for copies. If you
  9778. distribute a large enough number of copies you must also follow the
  9779. conditions in section 3.
  9780. You may also lend copies, under the same conditions stated above,
  9781. and you may publicly display copies.
  9782. 3. COPYING IN QUANTITY
  9783. If you publish printed copies (or copies in media that commonly
  9784. have printed covers) of the Document, numbering more than 100, and
  9785. the Document's license notice requires Cover Texts, you must
  9786. enclose the copies in covers that carry, clearly and legibly, all
  9787. these Cover Texts: Front-Cover Texts on the front cover, and
  9788. Back-Cover Texts on the back cover. Both covers must also clearly
  9789. and legibly identify you as the publisher of these copies. The
  9790. front cover must present the full title with all words of the title
  9791. equally prominent and visible. You may add other material on the
  9792. covers in addition. Copying with changes limited to the covers, as
  9793. long as they preserve the title of the Document and satisfy these
  9794. conditions, can be treated as verbatim copying in other respects.
  9795. If the required texts for either cover are too voluminous to fit
  9796. legibly, you should put the first ones listed (as many as fit
  9797. reasonably) on the actual cover, and continue the rest onto
  9798. adjacent pages.
  9799. If you publish or distribute Opaque copies of the Document
  9800. numbering more than 100, you must either include a machine-readable
  9801. Transparent copy along with each Opaque copy, or state in or with
  9802. each Opaque copy a computer-network location from which the general
  9803. network-using public has access to download using public-standard
  9804. network protocols a complete Transparent copy of the Document, free
  9805. of added material. If you use the latter option, you must take
  9806. reasonably prudent steps, when you begin distribution of Opaque
  9807. copies in quantity, to ensure that this Transparent copy will
  9808. remain thus accessible at the stated location until at least one
  9809. year after the last time you distribute an Opaque copy (directly or
  9810. through your agents or retailers) of that edition to the public.
  9811. It is requested, but not required, that you contact the authors of
  9812. the Document well before redistributing any large number of copies,
  9813. to give them a chance to provide you with an updated version of the
  9814. Document.
  9815. 4. MODIFICATIONS
  9816. You may copy and distribute a Modified Version of the Document
  9817. under the conditions of sections 2 and 3 above, provided that you
  9818. release the Modified Version under precisely this License, with the
  9819. Modified Version filling the role of the Document, thus licensing
  9820. distribution and modification of the Modified Version to whoever
  9821. possesses a copy of it. In addition, you must do these things in
  9822. the Modified Version:
  9823. A. Use in the Title Page (and on the covers, if any) a title
  9824. distinct from that of the Document, and from those of previous
  9825. versions (which should, if there were any, be listed in the
  9826. History section of the Document). You may use the same title
  9827. as a previous version if the original publisher of that
  9828. version gives permission.
  9829. B. List on the Title Page, as authors, one or more persons or
  9830. entities responsible for authorship of the modifications in
  9831. the Modified Version, together with at least five of the
  9832. principal authors of the Document (all of its principal
  9833. authors, if it has fewer than five), unless they release you
  9834. from this requirement.
  9835. C. State on the Title page the name of the publisher of the
  9836. Modified Version, as the publisher.
  9837. D. Preserve all the copyright notices of the Document.
  9838. E. Add an appropriate copyright notice for your modifications
  9839. adjacent to the other copyright notices.
  9840. F. Include, immediately after the copyright notices, a license
  9841. notice giving the public permission to use the Modified
  9842. Version under the terms of this License, in the form shown in
  9843. the Addendum below.
  9844. G. Preserve in that license notice the full lists of Invariant
  9845. Sections and required Cover Texts given in the Document's
  9846. license notice.
  9847. H. Include an unaltered copy of this License.
  9848. I. Preserve the section Entitled "History", Preserve its Title,
  9849. and add to it an item stating at least the title, year, new
  9850. authors, and publisher of the Modified Version as given on the
  9851. Title Page. If there is no section Entitled "History" in the
  9852. Document, create one stating the title, year, authors, and
  9853. publisher of the Document as given on its Title Page, then add
  9854. an item describing the Modified Version as stated in the
  9855. previous sentence.
  9856. J. Preserve the network location, if any, given in the Document
  9857. for public access to a Transparent copy of the Document, and
  9858. likewise the network locations given in the Document for
  9859. previous versions it was based on. These may be placed in the
  9860. "History" section. You may omit a network location for a work
  9861. that was published at least four years before the Document
  9862. itself, or if the original publisher of the version it refers
  9863. to gives permission.
  9864. K. For any section Entitled "Acknowledgements" or "Dedications",
  9865. Preserve the Title of the section, and preserve in the section
  9866. all the substance and tone of each of the contributor
  9867. acknowledgements and/or dedications given therein.
  9868. L. Preserve all the Invariant Sections of the Document, unaltered
  9869. in their text and in their titles. Section numbers or the
  9870. equivalent are not considered part of the section titles.
  9871. M. Delete any section Entitled "Endorsements". Such a section
  9872. may not be included in the Modified Version.
  9873. N. Do not retitle any existing section to be Entitled
  9874. "Endorsements" or to conflict in title with any Invariant
  9875. Section.
  9876. O. Preserve any Warranty Disclaimers.
  9877. If the Modified Version includes new front-matter sections or
  9878. appendices that qualify as Secondary Sections and contain no
  9879. material copied from the Document, you may at your option designate
  9880. some or all of these sections as invariant. To do this, add their
  9881. titles to the list of Invariant Sections in the Modified Version's
  9882. license notice. These titles must be distinct from any other
  9883. section titles.
  9884. You may add a section Entitled "Endorsements", provided it contains
  9885. nothing but endorsements of your Modified Version by various
  9886. parties--for example, statements of peer review or that the text
  9887. has been approved by an organization as the authoritative
  9888. definition of a standard.
  9889. You may add a passage of up to five words as a Front-Cover Text,
  9890. and a passage of up to 25 words as a Back-Cover Text, to the end of
  9891. the list of Cover Texts in the Modified Version. Only one passage
  9892. of Front-Cover Text and one of Back-Cover Text may be added by (or
  9893. through arrangements made by) any one entity. If the Document
  9894. already includes a cover text for the same cover, previously added
  9895. by you or by arrangement made by the same entity you are acting on
  9896. behalf of, you may not add another; but you may replace the old
  9897. one, on explicit permission from the previous publisher that added
  9898. the old one.
  9899. The author(s) and publisher(s) of the Document do not by this
  9900. License give permission to use their names for publicity for or to
  9901. assert or imply endorsement of any Modified Version.
  9902. 5. COMBINING DOCUMENTS
  9903. You may combine the Document with other documents released under
  9904. this License, under the terms defined in section 4 above for
  9905. modified versions, provided that you include in the combination all
  9906. of the Invariant Sections of all of the original documents,
  9907. unmodified, and list them all as Invariant Sections of your
  9908. combined work in its license notice, and that you preserve all
  9909. their Warranty Disclaimers.
  9910. The combined work need only contain one copy of this License, and
  9911. multiple identical Invariant Sections may be replaced with a single
  9912. copy. If there are multiple Invariant Sections with the same name
  9913. but different contents, make the title of each such section unique
  9914. by adding at the end of it, in parentheses, the name of the
  9915. original author or publisher of that section if known, or else a
  9916. unique number. Make the same adjustment to the section titles in
  9917. the list of Invariant Sections in the license notice of the
  9918. combined work.
  9919. In the combination, you must combine any sections Entitled
  9920. "History" in the various original documents, forming one section
  9921. Entitled "History"; likewise combine any sections Entitled
  9922. "Acknowledgements", and any sections Entitled "Dedications". You
  9923. must delete all sections Entitled "Endorsements."
  9924. 6. COLLECTIONS OF DOCUMENTS
  9925. You may make a collection consisting of the Document and other
  9926. documents released under this License, and replace the individual
  9927. copies of this License in the various documents with a single copy
  9928. that is included in the collection, provided that you follow the
  9929. rules of this License for verbatim copying of each of the documents
  9930. in all other respects.
  9931. You may extract a single document from such a collection, and
  9932. distribute it individually under this License, provided you insert
  9933. a copy of this License into the extracted document, and follow this
  9934. License in all other respects regarding verbatim copying of that
  9935. document.
  9936. 7. AGGREGATION WITH INDEPENDENT WORKS
  9937. A compilation of the Document or its derivatives with other
  9938. separate and independent documents or works, in or on a volume of a
  9939. storage or distribution medium, is called an "aggregate" if the
  9940. copyright resulting from the compilation is not used to limit the
  9941. legal rights of the compilation's users beyond what the individual
  9942. works permit. When the Document is included in an aggregate, this
  9943. License does not apply to the other works in the aggregate which
  9944. are not themselves derivative works of the Document.
  9945. If the Cover Text requirement of section 3 is applicable to these
  9946. copies of the Document, then if the Document is less than one half
  9947. of the entire aggregate, the Document's Cover Texts may be placed
  9948. on covers that bracket the Document within the aggregate, or the
  9949. electronic equivalent of covers if the Document is in electronic
  9950. form. Otherwise they must appear on printed covers that bracket
  9951. the whole aggregate.
  9952. 8. TRANSLATION
  9953. Translation is considered a kind of modification, so you may
  9954. distribute translations of the Document under the terms of section
  9955. 4. Replacing Invariant Sections with translations requires special
  9956. permission from their copyright holders, but you may include
  9957. translations of some or all Invariant Sections in addition to the
  9958. original versions of these Invariant Sections. You may include a
  9959. translation of this License, and all the license notices in the
  9960. Document, and any Warranty Disclaimers, provided that you also
  9961. include the original English version of this License and the
  9962. original versions of those notices and disclaimers. In case of a
  9963. disagreement between the translation and the original version of
  9964. this License or a notice or disclaimer, the original version will
  9965. prevail.
  9966. If a section in the Document is Entitled "Acknowledgements",
  9967. "Dedications", or "History", the requirement (section 4) to
  9968. Preserve its Title (section 1) will typically require changing the
  9969. actual title.
  9970. 9. TERMINATION
  9971. You may not copy, modify, sublicense, or distribute the Document
  9972. except as expressly provided under this License. Any attempt
  9973. otherwise to copy, modify, sublicense, or distribute it is void,
  9974. and will automatically terminate your rights under this License.
  9975. However, if you cease all violation of this License, then your
  9976. license from a particular copyright holder is reinstated (a)
  9977. provisionally, unless and until the copyright holder explicitly and
  9978. finally terminates your license, and (b) permanently, if the
  9979. copyright holder fails to notify you of the violation by some
  9980. reasonable means prior to 60 days after the cessation.
  9981. Moreover, your license from a particular copyright holder is
  9982. reinstated permanently if the copyright holder notifies you of the
  9983. violation by some reasonable means, this is the first time you have
  9984. received notice of violation of this License (for any work) from
  9985. that copyright holder, and you cure the violation prior to 30 days
  9986. after your receipt of the notice.
  9987. Termination of your rights under this section does not terminate
  9988. the licenses of parties who have received copies or rights from you
  9989. under this License. If your rights have been terminated and not
  9990. permanently reinstated, receipt of a copy of some or all of the
  9991. same material does not give you any rights to use it.
  9992. 10. FUTURE REVISIONS OF THIS LICENSE
  9993. The Free Software Foundation may publish new, revised versions of
  9994. the GNU Free Documentation License from time to time. Such new
  9995. versions will be similar in spirit to the present version, but may
  9996. differ in detail to address new problems or concerns. See
  9997. <http://www.gnu.org/copyleft/>.
  9998. Each version of the License is given a distinguishing version
  9999. number. If the Document specifies that a particular numbered
  10000. version of this License "or any later version" applies to it, you
  10001. have the option of following the terms and conditions either of
  10002. that specified version or of any later version that has been
  10003. published (not as a draft) by the Free Software Foundation. If the
  10004. Document does not specify a version number of this License, you may
  10005. choose any version ever published (not as a draft) by the Free
  10006. Software Foundation. If the Document specifies that a proxy can
  10007. decide which future versions of this License can be used, that
  10008. proxy's public statement of acceptance of a version permanently
  10009. authorizes you to choose that version for the Document.
  10010. 11. RELICENSING
  10011. "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
  10012. World Wide Web server that publishes copyrightable works and also
  10013. provides prominent facilities for anybody to edit those works. A
  10014. public wiki that anybody can edit is an example of such a server.
  10015. A "Massive Multiauthor Collaboration" (or "MMC") contained in the
  10016. site means any set of copyrightable works thus published on the MMC
  10017. site.
  10018. "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
  10019. license published by Creative Commons Corporation, a not-for-profit
  10020. corporation with a principal place of business in San Francisco,
  10021. California, as well as future copyleft versions of that license
  10022. published by that same organization.
  10023. "Incorporate" means to publish or republish a Document, in whole or
  10024. in part, as part of another Document.
  10025. An MMC is "eligible for relicensing" if it is licensed under this
  10026. License, and if all works that were first published under this
  10027. License somewhere other than this MMC, and subsequently
  10028. incorporated in whole or in part into the MMC, (1) had no cover
  10029. texts or invariant sections, and (2) were thus incorporated prior
  10030. to November 1, 2008.
  10031. The operator of an MMC Site may republish an MMC contained in the
  10032. site under CC-BY-SA on the same site at any time before August 1,
  10033. 2009, provided the MMC is eligible for relicensing.
  10034. ADDENDUM: How to use this License for your documents
  10035. ====================================================
  10036. To use this License in a document you have written, include a copy of
  10037. the License in the document and put the following copyright and license
  10038. notices just after the title page:
  10039. Copyright (C) YEAR YOUR NAME.
  10040. Permission is granted to copy, distribute and/or modify this document
  10041. under the terms of the GNU Free Documentation License, Version 1.3
  10042. or any later version published by the Free Software Foundation;
  10043. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  10044. Texts. A copy of the license is included in the section entitled ``GNU
  10045. Free Documentation License''.
  10046. If you have Invariant Sections, Front-Cover Texts and Back-Cover
  10047. Texts, replace the "with...Texts." line with this:
  10048. with the Invariant Sections being LIST THEIR TITLES, with
  10049. the Front-Cover Texts being LIST, and with the Back-Cover Texts
  10050. being LIST.
  10051. If you have Invariant Sections without Cover Texts, or some other
  10052. combination of the three, merge those two alternatives to suit the
  10053. situation.
  10054. If your document contains nontrivial examples of program code, we
  10055. recommend releasing these examples in parallel under your choice of free
  10056. software license, such as the GNU General Public License, to permit
  10057. their use in free software.
  10058. 
  10059. File: bfd.info, Node: BFD Index, Prev: GNU Free Documentation License, Up: Top
  10060. BFD Index
  10061. *********
  10062. �[index�]
  10063. * Menu:
  10064. * _bfd_error_handler: Error reporting. (line 111)
  10065. * _bfd_final_link_relocate: Relocating the section contents.
  10066. (line 22)
  10067. * _bfd_generic_link_add_archive_symbols: Adding symbols from an archive.
  10068. (line 15)
  10069. * _bfd_generic_link_add_one_symbol: Adding symbols from an object file.
  10070. (line 19)
  10071. * _bfd_generic_link_check_relocs: Writing the symbol table.
  10072. (line 144)
  10073. * _bfd_generic_link_hide_symbol: Writing the symbol table.
  10074. (line 83)
  10075. * _bfd_generic_make_empty_symbol: symbol handling functions.
  10076. (line 96)
  10077. * _bfd_generic_set_reloc: howto manager. (line 3494)
  10078. * _bfd_generic_verify_endian_match: Writing the symbol table.
  10079. (line 172)
  10080. * _bfd_link_add_symbols in target vector: Adding Symbols to the Hash Table.
  10081. (line 6)
  10082. * _bfd_link_final_link in target vector: Performing the Final Link.
  10083. (line 6)
  10084. * _bfd_link_hash_table_create in target vector: Creating a Linker Hash Table.
  10085. (line 6)
  10086. * _bfd_relocate_contents: Relocating the section contents.
  10087. (line 22)
  10088. * _bfd_unrecognized_reloc: howto manager. (line 3506)
  10089. * aout_SIZE_machine_type: aout. (line 145)
  10090. * aout_SIZE_mkobject: aout. (line 137)
  10091. * aout_SIZE_new_section_hook: aout. (line 175)
  10092. * aout_SIZE_set_arch_mach: aout. (line 162)
  10093. * aout_SIZE_some_aout_object_p: aout. (line 123)
  10094. * aout_SIZE_swap_exec_header_in: aout. (line 99)
  10095. * aout_SIZE_swap_exec_header_out: aout. (line 111)
  10096. * arelent_chain: typedef arelent. (line 315)
  10097. * BFD: Overview. (line 6)
  10098. * BFD canonical format: Canonical format. (line 11)
  10099. * bfd_alloc: Opening and Closing.
  10100. (line 239)
  10101. * bfd_alloc2: Opening and Closing.
  10102. (line 248)
  10103. * bfd_alt_mach_code: Miscellaneous. (line 288)
  10104. * bfd_arch_bits_per_address: Architectures. (line 644)
  10105. * bfd_arch_bits_per_byte: Architectures. (line 636)
  10106. * bfd_arch_default_fill: Architectures. (line 725)
  10107. * bfd_arch_get_compatible: Architectures. (line 579)
  10108. * bfd_arch_list: Architectures. (line 570)
  10109. * bfd_arch_mach_octets_per_byte: Architectures. (line 713)
  10110. * BFD_ARELOC_BFIN_ADD: howto manager. (line 1107)
  10111. * BFD_ARELOC_BFIN_ADDR: howto manager. (line 1141)
  10112. * BFD_ARELOC_BFIN_AND: howto manager. (line 1121)
  10113. * BFD_ARELOC_BFIN_COMP: howto manager. (line 1135)
  10114. * BFD_ARELOC_BFIN_CONST: howto manager. (line 1105)
  10115. * BFD_ARELOC_BFIN_DIV: howto manager. (line 1113)
  10116. * BFD_ARELOC_BFIN_HWPAGE: howto manager. (line 1139)
  10117. * BFD_ARELOC_BFIN_LAND: howto manager. (line 1127)
  10118. * BFD_ARELOC_BFIN_LEN: howto manager. (line 1131)
  10119. * BFD_ARELOC_BFIN_LOR: howto manager. (line 1129)
  10120. * BFD_ARELOC_BFIN_LSHIFT: howto manager. (line 1117)
  10121. * BFD_ARELOC_BFIN_MOD: howto manager. (line 1115)
  10122. * BFD_ARELOC_BFIN_MULT: howto manager. (line 1111)
  10123. * BFD_ARELOC_BFIN_NEG: howto manager. (line 1133)
  10124. * BFD_ARELOC_BFIN_OR: howto manager. (line 1123)
  10125. * BFD_ARELOC_BFIN_PAGE: howto manager. (line 1137)
  10126. * BFD_ARELOC_BFIN_PUSH: howto manager. (line 1103)
  10127. * BFD_ARELOC_BFIN_RSHIFT: howto manager. (line 1119)
  10128. * BFD_ARELOC_BFIN_SUB: howto manager. (line 1109)
  10129. * BFD_ARELOC_BFIN_XOR: howto manager. (line 1125)
  10130. * bfd_cache_close: File Caching. (line 25)
  10131. * bfd_cache_close_all: File Caching. (line 38)
  10132. * bfd_cache_init: File Caching. (line 17)
  10133. * bfd_calc_gnu_debuglink_crc32: Opening and Closing.
  10134. (line 275)
  10135. * bfd_canonicalize_reloc: Miscellaneous. (line 18)
  10136. * bfd_canonicalize_symtab: symbol handling functions.
  10137. (line 52)
  10138. * bfd_check_compression_header: Miscellaneous. (line 360)
  10139. * bfd_check_format: Formats. (line 20)
  10140. * bfd_check_format_matches: Formats. (line 51)
  10141. * bfd_check_overflow: typedef arelent. (line 328)
  10142. * bfd_close: Opening and Closing.
  10143. (line 161)
  10144. * bfd_close_all_done: Opening and Closing.
  10145. (line 179)
  10146. * bfd_coff_backend_data: coff. (line 296)
  10147. * bfd_convert_section_contents: Miscellaneous. (line 398)
  10148. * bfd_convert_section_size: Miscellaneous. (line 388)
  10149. * bfd_copy_private_bfd_data: Miscellaneous. (line 159)
  10150. * bfd_copy_private_header_data: Miscellaneous. (line 142)
  10151. * bfd_copy_private_section_data: section prototypes. (line 282)
  10152. * bfd_copy_private_symbol_data: symbol handling functions.
  10153. (line 145)
  10154. * bfd_core_file_failing_command: Core Files. (line 11)
  10155. * bfd_core_file_failing_signal: Core Files. (line 20)
  10156. * bfd_core_file_pid: Core Files. (line 29)
  10157. * bfd_create: Opening and Closing.
  10158. (line 198)
  10159. * bfd_create_gnu_debuglink_section: Opening and Closing.
  10160. (line 431)
  10161. * bfd_decode_symclass: symbol handling functions.
  10162. (line 116)
  10163. * bfd_default_arch_struct: Architectures. (line 591)
  10164. * bfd_default_compatible: Architectures. (line 653)
  10165. * bfd_default_reloc_type_lookup: howto manager. (line 3418)
  10166. * bfd_default_scan: Architectures. (line 662)
  10167. * bfd_default_set_arch_mach: Architectures. (line 609)
  10168. * bfd_demangle: Miscellaneous. (line 339)
  10169. * bfd_emul_get_commonpagesize: Miscellaneous. (line 319)
  10170. * bfd_emul_get_maxpagesize: Miscellaneous. (line 299)
  10171. * bfd_emul_set_commonpagesize: Miscellaneous. (line 330)
  10172. * bfd_emul_set_maxpagesize: Miscellaneous. (line 310)
  10173. * bfd_errmsg: Error reporting. (line 78)
  10174. * bfd_fdopenr: Opening and Closing.
  10175. (line 56)
  10176. * bfd_fill_in_gnu_debuglink_section: Opening and Closing.
  10177. (line 445)
  10178. * bfd_find_target: bfd_target. (line 495)
  10179. * bfd_find_version_for_sym: Writing the symbol table.
  10180. (line 111)
  10181. * bfd_flavour_name: bfd_target. (line 558)
  10182. * bfd_follow_build_id_debuglink: Opening and Closing.
  10183. (line 505)
  10184. * bfd_follow_gnu_debugaltlink: Opening and Closing.
  10185. (line 411)
  10186. * bfd_follow_gnu_debuglink: Opening and Closing.
  10187. (line 390)
  10188. * bfd_fopen: Opening and Closing.
  10189. (line 11)
  10190. * bfd_format_string: Formats. (line 78)
  10191. * bfd_generic_define_common_symbol: Writing the symbol table.
  10192. (line 69)
  10193. * bfd_generic_define_start_stop: Writing the symbol table.
  10194. (line 97)
  10195. * bfd_generic_discard_group: section prototypes. (line 307)
  10196. * bfd_generic_gc_sections: howto manager. (line 3449)
  10197. * bfd_generic_get_relocated_section_contents: howto manager. (line 3479)
  10198. * bfd_generic_is_group_section: section prototypes. (line 299)
  10199. * bfd_generic_lookup_section_flags: howto manager. (line 3459)
  10200. * bfd_generic_merge_sections: howto manager. (line 3469)
  10201. * bfd_generic_relax_section: howto manager. (line 3436)
  10202. * bfd_get_alt_debug_link_info: Opening and Closing.
  10203. (line 329)
  10204. * bfd_get_arch: Architectures. (line 620)
  10205. * bfd_get_arch_info: Architectures. (line 672)
  10206. * bfd_get_arch_size: Miscellaneous. (line 63)
  10207. * bfd_get_compression_header_size: Miscellaneous. (line 377)
  10208. * bfd_get_debug_link_info: Opening and Closing.
  10209. (line 311)
  10210. * bfd_get_debug_link_info_1: Opening and Closing.
  10211. (line 289)
  10212. * bfd_get_error: Error reporting. (line 48)
  10213. * bfd_get_file_size: Miscellaneous. (line 487)
  10214. * bfd_get_gp_size: Miscellaneous. (line 106)
  10215. * bfd_get_linker_section: section prototypes. (line 37)
  10216. * bfd_get_mach: Architectures. (line 628)
  10217. * bfd_get_mtime: Miscellaneous. (line 450)
  10218. * bfd_get_next_mapent: Archives. (line 57)
  10219. * bfd_get_next_section_by_name: section prototypes. (line 25)
  10220. * bfd_get_reloc_code_name: howto manager. (line 3427)
  10221. * bfd_get_reloc_size: typedef arelent. (line 306)
  10222. * bfd_get_reloc_upper_bound: Miscellaneous. (line 8)
  10223. * bfd_get_section_by_name: section prototypes. (line 16)
  10224. * bfd_get_section_by_name_if: section prototypes. (line 46)
  10225. * bfd_get_section_contents: section prototypes. (line 255)
  10226. * bfd_get_sign_extend_vma: Miscellaneous. (line 78)
  10227. * bfd_get_size: Miscellaneous. (line 459)
  10228. * bfd_get_size <1>: Internal. (line 24)
  10229. * bfd_get_symtab_upper_bound: symbol handling functions.
  10230. (line 5)
  10231. * bfd_get_target_info: bfd_target. (line 511)
  10232. * bfd_get_unique_section_name: section prototypes. (line 65)
  10233. * bfd_hash_allocate: Creating and Freeing a Hash Table.
  10234. (line 17)
  10235. * bfd_hash_lookup: Looking Up or Entering a String.
  10236. (line 6)
  10237. * bfd_hash_newfunc: Creating and Freeing a Hash Table.
  10238. (line 12)
  10239. * bfd_hash_set_default_size: Creating and Freeing a Hash Table.
  10240. (line 25)
  10241. * bfd_hash_table_free: Creating and Freeing a Hash Table.
  10242. (line 21)
  10243. * bfd_hash_table_init: Creating and Freeing a Hash Table.
  10244. (line 6)
  10245. * bfd_hash_table_init_n: Creating and Freeing a Hash Table.
  10246. (line 6)
  10247. * bfd_hash_traverse: Traversing a Hash Table.
  10248. (line 6)
  10249. * bfd_hide_sym_by_version: Writing the symbol table.
  10250. (line 123)
  10251. * bfd_h_put_size: Internal. (line 111)
  10252. * bfd_init: Initialization. (line 10)
  10253. * bfd_install_relocation: typedef arelent. (line 382)
  10254. * bfd_is_local_label: symbol handling functions.
  10255. (line 17)
  10256. * bfd_is_local_label_name: symbol handling functions.
  10257. (line 26)
  10258. * bfd_is_target_special_symbol: symbol handling functions.
  10259. (line 39)
  10260. * bfd_is_undefined_symclass: symbol handling functions.
  10261. (line 125)
  10262. * bfd_iterate_over_targets: bfd_target. (line 546)
  10263. * bfd_link_check_relocs: Writing the symbol table.
  10264. (line 133)
  10265. * bfd_link_split_section: Writing the symbol table.
  10266. (line 43)
  10267. * bfd_log2: Internal. (line 180)
  10268. * bfd_lookup_arch: Architectures. (line 680)
  10269. * bfd_make_debug_symbol: symbol handling functions.
  10270. (line 106)
  10271. * bfd_make_empty_symbol: symbol handling functions.
  10272. (line 81)
  10273. * bfd_make_readable: Opening and Closing.
  10274. (line 225)
  10275. * bfd_make_section: section prototypes. (line 143)
  10276. * bfd_make_section_anyway: section prototypes. (line 115)
  10277. * bfd_make_section_anyway_with_flags: section prototypes. (line 97)
  10278. * bfd_make_section_old_way: section prototypes. (line 77)
  10279. * bfd_make_section_with_flags: section prototypes. (line 131)
  10280. * bfd_make_writable: Opening and Closing.
  10281. (line 211)
  10282. * bfd_malloc_and_get_section: section prototypes. (line 272)
  10283. * bfd_map_over_sections: section prototypes. (line 178)
  10284. * bfd_merge_private_bfd_data: Writing the symbol table.
  10285. (line 155)
  10286. * bfd_mmap: Miscellaneous. (line 496)
  10287. * bfd_octets_per_byte: Architectures. (line 703)
  10288. * bfd_openr: Opening and Closing.
  10289. (line 37)
  10290. * bfd_openr_iovec: Opening and Closing.
  10291. (line 95)
  10292. * bfd_openr_next_archived_file: Archives. (line 83)
  10293. * bfd_openstreamr: Opening and Closing.
  10294. (line 82)
  10295. * bfd_openw: Opening and Closing.
  10296. (line 146)
  10297. * bfd_open_file: File Caching. (line 51)
  10298. * bfd_perform_relocation: typedef arelent. (line 357)
  10299. * bfd_perror: Error reporting. (line 87)
  10300. * bfd_printable_arch_mach: Architectures. (line 691)
  10301. * bfd_printable_name: Architectures. (line 551)
  10302. * bfd_print_symbol_vandf: symbol handling functions.
  10303. (line 73)
  10304. * bfd_put_size: Internal. (line 21)
  10305. * BFD_RELOC_12_PCREL: howto manager. (line 37)
  10306. * BFD_RELOC_14: howto manager. (line 30)
  10307. * BFD_RELOC_16: howto manager. (line 29)
  10308. * BFD_RELOC_16C_ABS20: howto manager. (line 2253)
  10309. * BFD_RELOC_16C_ABS20_C: howto manager. (line 2254)
  10310. * BFD_RELOC_16C_ABS24: howto manager. (line 2255)
  10311. * BFD_RELOC_16C_ABS24_C: howto manager. (line 2256)
  10312. * BFD_RELOC_16C_DISP04: howto manager. (line 2233)
  10313. * BFD_RELOC_16C_DISP04_C: howto manager. (line 2234)
  10314. * BFD_RELOC_16C_DISP08: howto manager. (line 2235)
  10315. * BFD_RELOC_16C_DISP08_C: howto manager. (line 2236)
  10316. * BFD_RELOC_16C_DISP16: howto manager. (line 2237)
  10317. * BFD_RELOC_16C_DISP16_C: howto manager. (line 2238)
  10318. * BFD_RELOC_16C_DISP24: howto manager. (line 2239)
  10319. * BFD_RELOC_16C_DISP24a: howto manager. (line 2241)
  10320. * BFD_RELOC_16C_DISP24a_C: howto manager. (line 2242)
  10321. * BFD_RELOC_16C_DISP24_C: howto manager. (line 2240)
  10322. * BFD_RELOC_16C_IMM04: howto manager. (line 2257)
  10323. * BFD_RELOC_16C_IMM04_C: howto manager. (line 2258)
  10324. * BFD_RELOC_16C_IMM16: howto manager. (line 2259)
  10325. * BFD_RELOC_16C_IMM16_C: howto manager. (line 2260)
  10326. * BFD_RELOC_16C_IMM20: howto manager. (line 2261)
  10327. * BFD_RELOC_16C_IMM20_C: howto manager. (line 2262)
  10328. * BFD_RELOC_16C_IMM24: howto manager. (line 2263)
  10329. * BFD_RELOC_16C_IMM24_C: howto manager. (line 2264)
  10330. * BFD_RELOC_16C_IMM32: howto manager. (line 2265)
  10331. * BFD_RELOC_16C_IMM32_C: howto manager. (line 2266)
  10332. * BFD_RELOC_16C_NUM08: howto manager. (line 2227)
  10333. * BFD_RELOC_16C_NUM08_C: howto manager. (line 2228)
  10334. * BFD_RELOC_16C_NUM16: howto manager. (line 2229)
  10335. * BFD_RELOC_16C_NUM16_C: howto manager. (line 2230)
  10336. * BFD_RELOC_16C_NUM32: howto manager. (line 2231)
  10337. * BFD_RELOC_16C_NUM32_C: howto manager. (line 2232)
  10338. * BFD_RELOC_16C_REG04: howto manager. (line 2243)
  10339. * BFD_RELOC_16C_REG04a: howto manager. (line 2245)
  10340. * BFD_RELOC_16C_REG04a_C: howto manager. (line 2246)
  10341. * BFD_RELOC_16C_REG04_C: howto manager. (line 2244)
  10342. * BFD_RELOC_16C_REG14: howto manager. (line 2247)
  10343. * BFD_RELOC_16C_REG14_C: howto manager. (line 2248)
  10344. * BFD_RELOC_16C_REG16: howto manager. (line 2249)
  10345. * BFD_RELOC_16C_REG16_C: howto manager. (line 2250)
  10346. * BFD_RELOC_16C_REG20: howto manager. (line 2251)
  10347. * BFD_RELOC_16C_REG20_C: howto manager. (line 2252)
  10348. * BFD_RELOC_16_BASEREL: howto manager. (line 90)
  10349. * BFD_RELOC_16_GOTOFF: howto manager. (line 49)
  10350. * BFD_RELOC_16_GOT_PCREL: howto manager. (line 46)
  10351. * BFD_RELOC_16_PCREL: howto manager. (line 36)
  10352. * BFD_RELOC_16_PCREL_S2: howto manager. (line 100)
  10353. * BFD_RELOC_16_PLTOFF: howto manager. (line 61)
  10354. * BFD_RELOC_16_PLT_PCREL: howto manager. (line 57)
  10355. * BFD_RELOC_23_PCREL_S2: howto manager. (line 101)
  10356. * BFD_RELOC_24: howto manager. (line 28)
  10357. * BFD_RELOC_24_PCREL: howto manager. (line 35)
  10358. * BFD_RELOC_24_PLT_PCREL: howto manager. (line 56)
  10359. * BFD_RELOC_26: howto manager. (line 27)
  10360. * BFD_RELOC_32: howto manager. (line 26)
  10361. * BFD_RELOC_32_BASEREL: howto manager. (line 89)
  10362. * BFD_RELOC_32_GOTOFF: howto manager. (line 48)
  10363. * BFD_RELOC_32_GOT_PCREL: howto manager. (line 45)
  10364. * BFD_RELOC_32_PCREL: howto manager. (line 34)
  10365. * BFD_RELOC_32_PCREL_S2: howto manager. (line 99)
  10366. * BFD_RELOC_32_PLTOFF: howto manager. (line 60)
  10367. * BFD_RELOC_32_PLT_PCREL: howto manager. (line 55)
  10368. * BFD_RELOC_32_SECREL: howto manager. (line 43)
  10369. * BFD_RELOC_386_COPY: howto manager. (line 523)
  10370. * BFD_RELOC_386_GLOB_DAT: howto manager. (line 524)
  10371. * BFD_RELOC_386_GOT32: howto manager. (line 521)
  10372. * BFD_RELOC_386_GOT32X: howto manager. (line 545)
  10373. * BFD_RELOC_386_GOTOFF: howto manager. (line 527)
  10374. * BFD_RELOC_386_GOTPC: howto manager. (line 528)
  10375. * BFD_RELOC_386_IRELATIVE: howto manager. (line 544)
  10376. * BFD_RELOC_386_JUMP_SLOT: howto manager. (line 525)
  10377. * BFD_RELOC_386_PLT32: howto manager. (line 522)
  10378. * BFD_RELOC_386_RELATIVE: howto manager. (line 526)
  10379. * BFD_RELOC_386_TLS_DESC: howto manager. (line 543)
  10380. * BFD_RELOC_386_TLS_DESC_CALL: howto manager. (line 542)
  10381. * BFD_RELOC_386_TLS_DTPMOD32: howto manager. (line 538)
  10382. * BFD_RELOC_386_TLS_DTPOFF32: howto manager. (line 539)
  10383. * BFD_RELOC_386_TLS_GD: howto manager. (line 533)
  10384. * BFD_RELOC_386_TLS_GOTDESC: howto manager. (line 541)
  10385. * BFD_RELOC_386_TLS_GOTIE: howto manager. (line 531)
  10386. * BFD_RELOC_386_TLS_IE: howto manager. (line 530)
  10387. * BFD_RELOC_386_TLS_IE_32: howto manager. (line 536)
  10388. * BFD_RELOC_386_TLS_LDM: howto manager. (line 534)
  10389. * BFD_RELOC_386_TLS_LDO_32: howto manager. (line 535)
  10390. * BFD_RELOC_386_TLS_LE: howto manager. (line 532)
  10391. * BFD_RELOC_386_TLS_LE_32: howto manager. (line 537)
  10392. * BFD_RELOC_386_TLS_TPOFF: howto manager. (line 529)
  10393. * BFD_RELOC_386_TLS_TPOFF32: howto manager. (line 540)
  10394. * BFD_RELOC_390_12: howto manager. (line 1913)
  10395. * BFD_RELOC_390_20: howto manager. (line 1994)
  10396. * BFD_RELOC_390_COPY: howto manager. (line 1919)
  10397. * BFD_RELOC_390_GLOB_DAT: howto manager. (line 1921)
  10398. * BFD_RELOC_390_GOT12: howto manager. (line 1915)
  10399. * BFD_RELOC_390_GOT16: howto manager. (line 1929)
  10400. * BFD_RELOC_390_GOT20: howto manager. (line 1995)
  10401. * BFD_RELOC_390_GOT64: howto manager. (line 1949)
  10402. * BFD_RELOC_390_GOTENT: howto manager. (line 1953)
  10403. * BFD_RELOC_390_GOTOFF64: howto manager. (line 1955)
  10404. * BFD_RELOC_390_GOTPC: howto manager. (line 1927)
  10405. * BFD_RELOC_390_GOTPCDBL: howto manager. (line 1947)
  10406. * BFD_RELOC_390_GOTPLT12: howto manager. (line 1957)
  10407. * BFD_RELOC_390_GOTPLT16: howto manager. (line 1959)
  10408. * BFD_RELOC_390_GOTPLT20: howto manager. (line 1996)
  10409. * BFD_RELOC_390_GOTPLT32: howto manager. (line 1961)
  10410. * BFD_RELOC_390_GOTPLT64: howto manager. (line 1963)
  10411. * BFD_RELOC_390_GOTPLTENT: howto manager. (line 1965)
  10412. * BFD_RELOC_390_IRELATIVE: howto manager. (line 1999)
  10413. * BFD_RELOC_390_JMP_SLOT: howto manager. (line 1923)
  10414. * BFD_RELOC_390_PC12DBL: howto manager. (line 1931)
  10415. * BFD_RELOC_390_PC16DBL: howto manager. (line 1935)
  10416. * BFD_RELOC_390_PC24DBL: howto manager. (line 1939)
  10417. * BFD_RELOC_390_PC32DBL: howto manager. (line 1943)
  10418. * BFD_RELOC_390_PLT12DBL: howto manager. (line 1933)
  10419. * BFD_RELOC_390_PLT16DBL: howto manager. (line 1937)
  10420. * BFD_RELOC_390_PLT24DBL: howto manager. (line 1941)
  10421. * BFD_RELOC_390_PLT32: howto manager. (line 1917)
  10422. * BFD_RELOC_390_PLT32DBL: howto manager. (line 1945)
  10423. * BFD_RELOC_390_PLT64: howto manager. (line 1951)
  10424. * BFD_RELOC_390_PLTOFF16: howto manager. (line 1967)
  10425. * BFD_RELOC_390_PLTOFF32: howto manager. (line 1969)
  10426. * BFD_RELOC_390_PLTOFF64: howto manager. (line 1971)
  10427. * BFD_RELOC_390_RELATIVE: howto manager. (line 1925)
  10428. * BFD_RELOC_390_TLS_DTPMOD: howto manager. (line 1990)
  10429. * BFD_RELOC_390_TLS_DTPOFF: howto manager. (line 1991)
  10430. * BFD_RELOC_390_TLS_GD32: howto manager. (line 1976)
  10431. * BFD_RELOC_390_TLS_GD64: howto manager. (line 1977)
  10432. * BFD_RELOC_390_TLS_GDCALL: howto manager. (line 1974)
  10433. * BFD_RELOC_390_TLS_GOTIE12: howto manager. (line 1978)
  10434. * BFD_RELOC_390_TLS_GOTIE20: howto manager. (line 1997)
  10435. * BFD_RELOC_390_TLS_GOTIE32: howto manager. (line 1979)
  10436. * BFD_RELOC_390_TLS_GOTIE64: howto manager. (line 1980)
  10437. * BFD_RELOC_390_TLS_IE32: howto manager. (line 1983)
  10438. * BFD_RELOC_390_TLS_IE64: howto manager. (line 1984)
  10439. * BFD_RELOC_390_TLS_IEENT: howto manager. (line 1985)
  10440. * BFD_RELOC_390_TLS_LDCALL: howto manager. (line 1975)
  10441. * BFD_RELOC_390_TLS_LDM32: howto manager. (line 1981)
  10442. * BFD_RELOC_390_TLS_LDM64: howto manager. (line 1982)
  10443. * BFD_RELOC_390_TLS_LDO32: howto manager. (line 1988)
  10444. * BFD_RELOC_390_TLS_LDO64: howto manager. (line 1989)
  10445. * BFD_RELOC_390_TLS_LE32: howto manager. (line 1986)
  10446. * BFD_RELOC_390_TLS_LE64: howto manager. (line 1987)
  10447. * BFD_RELOC_390_TLS_LOAD: howto manager. (line 1973)
  10448. * BFD_RELOC_390_TLS_TPOFF: howto manager. (line 1992)
  10449. * BFD_RELOC_64: howto manager. (line 25)
  10450. * BFD_RELOC_64_PCREL: howto manager. (line 33)
  10451. * BFD_RELOC_64_PLTOFF: howto manager. (line 59)
  10452. * BFD_RELOC_64_PLT_PCREL: howto manager. (line 54)
  10453. * BFD_RELOC_68K_GLOB_DAT: howto manager. (line 70)
  10454. * BFD_RELOC_68K_JMP_SLOT: howto manager. (line 71)
  10455. * BFD_RELOC_68K_RELATIVE: howto manager. (line 72)
  10456. * BFD_RELOC_68K_TLS_GD16: howto manager. (line 74)
  10457. * BFD_RELOC_68K_TLS_GD32: howto manager. (line 73)
  10458. * BFD_RELOC_68K_TLS_GD8: howto manager. (line 75)
  10459. * BFD_RELOC_68K_TLS_IE16: howto manager. (line 83)
  10460. * BFD_RELOC_68K_TLS_IE32: howto manager. (line 82)
  10461. * BFD_RELOC_68K_TLS_IE8: howto manager. (line 84)
  10462. * BFD_RELOC_68K_TLS_LDM16: howto manager. (line 77)
  10463. * BFD_RELOC_68K_TLS_LDM32: howto manager. (line 76)
  10464. * BFD_RELOC_68K_TLS_LDM8: howto manager. (line 78)
  10465. * BFD_RELOC_68K_TLS_LDO16: howto manager. (line 80)
  10466. * BFD_RELOC_68K_TLS_LDO32: howto manager. (line 79)
  10467. * BFD_RELOC_68K_TLS_LDO8: howto manager. (line 81)
  10468. * BFD_RELOC_68K_TLS_LE16: howto manager. (line 86)
  10469. * BFD_RELOC_68K_TLS_LE32: howto manager. (line 85)
  10470. * BFD_RELOC_68K_TLS_LE8: howto manager. (line 87)
  10471. * BFD_RELOC_8: howto manager. (line 31)
  10472. * BFD_RELOC_8_BASEREL: howto manager. (line 94)
  10473. * BFD_RELOC_8_FFnn: howto manager. (line 97)
  10474. * BFD_RELOC_8_GOTOFF: howto manager. (line 53)
  10475. * BFD_RELOC_8_GOT_PCREL: howto manager. (line 47)
  10476. * BFD_RELOC_8_PCREL: howto manager. (line 38)
  10477. * BFD_RELOC_8_PLTOFF: howto manager. (line 65)
  10478. * BFD_RELOC_8_PLT_PCREL: howto manager. (line 58)
  10479. * BFD_RELOC_AARCH64_16: howto manager. (line 2765)
  10480. * BFD_RELOC_AARCH64_16_PCREL: howto manager. (line 2771)
  10481. * BFD_RELOC_AARCH64_32: howto manager. (line 2764)
  10482. * BFD_RELOC_AARCH64_32_PCREL: howto manager. (line 2770)
  10483. * BFD_RELOC_AARCH64_64: howto manager. (line 2763)
  10484. * BFD_RELOC_AARCH64_64_PCREL: howto manager. (line 2769)
  10485. * BFD_RELOC_AARCH64_ADD_LO12: howto manager. (line 2844)
  10486. * BFD_RELOC_AARCH64_ADR_GOT_PAGE: howto manager. (line 2890)
  10487. * BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL: howto manager. (line 2840)
  10488. * BFD_RELOC_AARCH64_ADR_HI21_PCREL: howto manager. (line 2837)
  10489. * BFD_RELOC_AARCH64_ADR_LO21_PCREL: howto manager. (line 2834)
  10490. * BFD_RELOC_AARCH64_BRANCH19: howto manager. (line 2856)
  10491. * BFD_RELOC_AARCH64_CALL26: howto manager. (line 2864)
  10492. * BFD_RELOC_AARCH64_COPY: howto manager. (line 3057)
  10493. * BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP: howto manager. (line 3081)
  10494. * BFD_RELOC_AARCH64_GLOB_DAT: howto manager. (line 3059)
  10495. * BFD_RELOC_AARCH64_GOT_LD_PREL19: howto manager. (line 2884)
  10496. * BFD_RELOC_AARCH64_IRELATIVE: howto manager. (line 3073)
  10497. * BFD_RELOC_AARCH64_JUMP26: howto manager. (line 2860)
  10498. * BFD_RELOC_AARCH64_JUMP_SLOT: howto manager. (line 3061)
  10499. * BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14: howto manager. (line 2911)
  10500. * BFD_RELOC_AARCH64_LD32_GOT_LO12_NC: howto manager. (line 2898)
  10501. * BFD_RELOC_AARCH64_LD64_GOTOFF_LO15: howto manager. (line 2908)
  10502. * BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15: howto manager. (line 2914)
  10503. * BFD_RELOC_AARCH64_LD64_GOT_LO12_NC: howto manager. (line 2894)
  10504. * BFD_RELOC_AARCH64_LDST128_LO12: howto manager. (line 2880)
  10505. * BFD_RELOC_AARCH64_LDST16_LO12: howto manager. (line 2868)
  10506. * BFD_RELOC_AARCH64_LDST32_LO12: howto manager. (line 2872)
  10507. * BFD_RELOC_AARCH64_LDST64_LO12: howto manager. (line 2876)
  10508. * BFD_RELOC_AARCH64_LDST8_LO12: howto manager. (line 2848)
  10509. * BFD_RELOC_AARCH64_LDST_LO12: howto manager. (line 3084)
  10510. * BFD_RELOC_AARCH64_LD_GOT_LO12_NC: howto manager. (line 3102)
  10511. * BFD_RELOC_AARCH64_LD_LO19_PCREL: howto manager. (line 2830)
  10512. * BFD_RELOC_AARCH64_MOVW_G0: howto manager. (line 2774)
  10513. * BFD_RELOC_AARCH64_MOVW_G0_NC: howto manager. (line 2777)
  10514. * BFD_RELOC_AARCH64_MOVW_G0_S: howto manager. (line 2795)
  10515. * BFD_RELOC_AARCH64_MOVW_G1: howto manager. (line 2780)
  10516. * BFD_RELOC_AARCH64_MOVW_G1_NC: howto manager. (line 2783)
  10517. * BFD_RELOC_AARCH64_MOVW_G1_S: howto manager. (line 2799)
  10518. * BFD_RELOC_AARCH64_MOVW_G2: howto manager. (line 2786)
  10519. * BFD_RELOC_AARCH64_MOVW_G2_NC: howto manager. (line 2789)
  10520. * BFD_RELOC_AARCH64_MOVW_G2_S: howto manager. (line 2803)
  10521. * BFD_RELOC_AARCH64_MOVW_G3: howto manager. (line 2792)
  10522. * BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC: howto manager. (line 2902)
  10523. * BFD_RELOC_AARCH64_MOVW_GOTOFF_G1: howto manager. (line 2905)
  10524. * BFD_RELOC_AARCH64_MOVW_PREL_G0: howto manager. (line 2807)
  10525. * BFD_RELOC_AARCH64_MOVW_PREL_G0_NC: howto manager. (line 2811)
  10526. * BFD_RELOC_AARCH64_MOVW_PREL_G1: howto manager. (line 2815)
  10527. * BFD_RELOC_AARCH64_MOVW_PREL_G1_NC: howto manager. (line 2818)
  10528. * BFD_RELOC_AARCH64_MOVW_PREL_G2: howto manager. (line 2821)
  10529. * BFD_RELOC_AARCH64_MOVW_PREL_G2_NC: howto manager. (line 2824)
  10530. * BFD_RELOC_AARCH64_MOVW_PREL_G3: howto manager. (line 2827)
  10531. * BFD_RELOC_AARCH64_NONE: howto manager. (line 2761)
  10532. * BFD_RELOC_AARCH64_NULL: howto manager. (line 2759)
  10533. * BFD_RELOC_AARCH64_RELATIVE: howto manager. (line 3063)
  10534. * BFD_RELOC_AARCH64_RELOC_END: howto manager. (line 3075)
  10535. * BFD_RELOC_AARCH64_RELOC_START: howto manager. (line 2754)
  10536. * BFD_RELOC_AARCH64_TLSDESC: howto manager. (line 3071)
  10537. * BFD_RELOC_AARCH64_TLSDESC_ADD: howto manager. (line 3053)
  10538. * BFD_RELOC_AARCH64_TLSDESC_ADD_LO12: howto manager. (line 3045)
  10539. * BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21: howto manager. (line 3039)
  10540. * BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21: howto manager. (line 3037)
  10541. * BFD_RELOC_AARCH64_TLSDESC_CALL: howto manager. (line 3055)
  10542. * BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC: howto manager. (line 3043)
  10543. * BFD_RELOC_AARCH64_TLSDESC_LD64_LO12: howto manager. (line 3041)
  10544. * BFD_RELOC_AARCH64_TLSDESC_LDR: howto manager. (line 3051)
  10545. * BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC: howto manager. (line 3108)
  10546. * BFD_RELOC_AARCH64_TLSDESC_LD_PREL19: howto manager. (line 3035)
  10547. * BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC: howto manager. (line 3049)
  10548. * BFD_RELOC_AARCH64_TLSDESC_OFF_G1: howto manager. (line 3047)
  10549. * BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC: howto manager. (line 2924)
  10550. * BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21: howto manager. (line 2917)
  10551. * BFD_RELOC_AARCH64_TLSGD_ADR_PREL21: howto manager. (line 2922)
  10552. * BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC: howto manager. (line 2928)
  10553. * BFD_RELOC_AARCH64_TLSGD_MOVW_G1: howto manager. (line 2930)
  10554. * BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21: howto manager.
  10555. (line 2932)
  10556. * BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC: howto manager.
  10557. (line 2936)
  10558. * BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC: howto manager.
  10559. (line 2934)
  10560. * BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC: howto manager.
  10561. (line 3105)
  10562. * BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19: howto manager. (line 2938)
  10563. * BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC: howto manager.
  10564. (line 2940)
  10565. * BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1: howto manager. (line 2942)
  10566. * BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12: howto manager. (line 2944)
  10567. * BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12: howto manager. (line 2946)
  10568. * BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC: howto manager. (line 2948)
  10569. * BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC: howto manager. (line 2951)
  10570. * BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21: howto manager. (line 2955)
  10571. * BFD_RELOC_AARCH64_TLSLD_ADR_PREL21: howto manager. (line 2958)
  10572. * BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12: howto manager. (line 2961)
  10573. * BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC: howto manager.
  10574. (line 2964)
  10575. * BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12: howto manager. (line 2967)
  10576. * BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC: howto manager.
  10577. (line 2970)
  10578. * BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12: howto manager. (line 2973)
  10579. * BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC: howto manager.
  10580. (line 2976)
  10581. * BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12: howto manager. (line 2979)
  10582. * BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC: howto manager.
  10583. (line 2982)
  10584. * BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12: howto manager. (line 3088)
  10585. * BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12_NC: howto manager.
  10586. (line 3092)
  10587. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0: howto manager. (line 2985)
  10588. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC: howto manager. (line 2987)
  10589. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1: howto manager. (line 2989)
  10590. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC: howto manager. (line 2991)
  10591. * BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2: howto manager. (line 2993)
  10592. * BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12: howto manager. (line 3005)
  10593. * BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12: howto manager. (line 3007)
  10594. * BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC: howto manager. (line 3009)
  10595. * BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12: howto manager. (line 3011)
  10596. * BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC: howto manager.
  10597. (line 3014)
  10598. * BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12: howto manager. (line 3017)
  10599. * BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC: howto manager.
  10600. (line 3020)
  10601. * BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12: howto manager. (line 3023)
  10602. * BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC: howto manager.
  10603. (line 3026)
  10604. * BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12: howto manager. (line 3029)
  10605. * BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC: howto manager.
  10606. (line 3032)
  10607. * BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12: howto manager. (line 3095)
  10608. * BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC: howto manager. (line 3099)
  10609. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0: howto manager. (line 3001)
  10610. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC: howto manager. (line 3003)
  10611. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1: howto manager. (line 2997)
  10612. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC: howto manager. (line 2999)
  10613. * BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2: howto manager. (line 2995)
  10614. * BFD_RELOC_AARCH64_TLS_DTPMOD: howto manager. (line 3065)
  10615. * BFD_RELOC_AARCH64_TLS_DTPREL: howto manager. (line 3067)
  10616. * BFD_RELOC_AARCH64_TLS_TPREL: howto manager. (line 3069)
  10617. * BFD_RELOC_AARCH64_TSTBR14: howto manager. (line 2852)
  10618. * BFD_RELOC_AC_SECTOFF_S9: howto manager. (line 1025)
  10619. * BFD_RELOC_AC_SECTOFF_S9_1: howto manager. (line 1026)
  10620. * BFD_RELOC_AC_SECTOFF_S9_2: howto manager. (line 1027)
  10621. * BFD_RELOC_AC_SECTOFF_U8: howto manager. (line 1022)
  10622. * BFD_RELOC_AC_SECTOFF_U8_1: howto manager. (line 1023)
  10623. * BFD_RELOC_AC_SECTOFF_U8_2: howto manager. (line 1024)
  10624. * BFD_RELOC_ALPHA_BOH: howto manager. (line 288)
  10625. * BFD_RELOC_ALPHA_BRSGP: howto manager. (line 275)
  10626. * BFD_RELOC_ALPHA_BSR: howto manager. (line 282)
  10627. * BFD_RELOC_ALPHA_CODEADDR: howto manager. (line 268)
  10628. * BFD_RELOC_ALPHA_DTPMOD64: howto manager. (line 293)
  10629. * BFD_RELOC_ALPHA_DTPREL16: howto manager. (line 298)
  10630. * BFD_RELOC_ALPHA_DTPREL64: howto manager. (line 295)
  10631. * BFD_RELOC_ALPHA_DTPREL_HI16: howto manager. (line 296)
  10632. * BFD_RELOC_ALPHA_DTPREL_LO16: howto manager. (line 297)
  10633. * BFD_RELOC_ALPHA_ELF_LITERAL: howto manager. (line 236)
  10634. * BFD_RELOC_ALPHA_GOTDTPREL16: howto manager. (line 294)
  10635. * BFD_RELOC_ALPHA_GOTTPREL16: howto manager. (line 299)
  10636. * BFD_RELOC_ALPHA_GPDISP: howto manager. (line 231)
  10637. * BFD_RELOC_ALPHA_GPDISP_HI16: howto manager. (line 219)
  10638. * BFD_RELOC_ALPHA_GPDISP_LO16: howto manager. (line 226)
  10639. * BFD_RELOC_ALPHA_GPREL_HI16: howto manager. (line 271)
  10640. * BFD_RELOC_ALPHA_GPREL_LO16: howto manager. (line 272)
  10641. * BFD_RELOC_ALPHA_HINT: howto manager. (line 261)
  10642. * BFD_RELOC_ALPHA_LDA: howto manager. (line 285)
  10643. * BFD_RELOC_ALPHA_LINKAGE: howto manager. (line 265)
  10644. * BFD_RELOC_ALPHA_LITERAL: howto manager. (line 235)
  10645. * BFD_RELOC_ALPHA_LITUSE: howto manager. (line 237)
  10646. * BFD_RELOC_ALPHA_NOP: howto manager. (line 279)
  10647. * BFD_RELOC_ALPHA_TLSGD: howto manager. (line 291)
  10648. * BFD_RELOC_ALPHA_TLSLDM: howto manager. (line 292)
  10649. * BFD_RELOC_ALPHA_TPREL16: howto manager. (line 303)
  10650. * BFD_RELOC_ALPHA_TPREL64: howto manager. (line 300)
  10651. * BFD_RELOC_ALPHA_TPREL_HI16: howto manager. (line 301)
  10652. * BFD_RELOC_ALPHA_TPREL_LO16: howto manager. (line 302)
  10653. * BFD_RELOC_ARC_16: howto manager. (line 994)
  10654. * BFD_RELOC_ARC_24: howto manager. (line 995)
  10655. * BFD_RELOC_ARC_32: howto manager. (line 996)
  10656. * BFD_RELOC_ARC_32_ME: howto manager. (line 1016)
  10657. * BFD_RELOC_ARC_32_ME_S: howto manager. (line 1017)
  10658. * BFD_RELOC_ARC_32_PCREL: howto manager. (line 1034)
  10659. * BFD_RELOC_ARC_8: howto manager. (line 993)
  10660. * BFD_RELOC_ARC_COPY: howto manager. (line 1039)
  10661. * BFD_RELOC_ARC_GLOB_DAT: howto manager. (line 1040)
  10662. * BFD_RELOC_ARC_GOT32: howto manager. (line 1036)
  10663. * BFD_RELOC_ARC_GOTOFF: howto manager. (line 1043)
  10664. * BFD_RELOC_ARC_GOTPC: howto manager. (line 1044)
  10665. * BFD_RELOC_ARC_GOTPC32: howto manager. (line 1037)
  10666. * BFD_RELOC_ARC_JLI_SECTOFF: howto manager. (line 1060)
  10667. * BFD_RELOC_ARC_JMP_SLOT: howto manager. (line 1041)
  10668. * BFD_RELOC_ARC_N16: howto manager. (line 998)
  10669. * BFD_RELOC_ARC_N24: howto manager. (line 999)
  10670. * BFD_RELOC_ARC_N32: howto manager. (line 1000)
  10671. * BFD_RELOC_ARC_N32_ME: howto manager. (line 1018)
  10672. * BFD_RELOC_ARC_N8: howto manager. (line 997)
  10673. * BFD_RELOC_ARC_NONE: howto manager. (line 992)
  10674. * BFD_RELOC_ARC_NPS_CMEM16: howto manager. (line 1059)
  10675. * BFD_RELOC_ARC_PC32: howto manager. (line 1035)
  10676. * BFD_RELOC_ARC_PLT32: howto manager. (line 1038)
  10677. * BFD_RELOC_ARC_RELATIVE: howto manager. (line 1042)
  10678. * BFD_RELOC_ARC_S13_PCREL: howto manager. (line 1014)
  10679. * BFD_RELOC_ARC_S21H_PCREL: howto manager. (line 1003)
  10680. * BFD_RELOC_ARC_S21H_PCREL_PLT: howto manager. (line 1058)
  10681. * BFD_RELOC_ARC_S21W_PCREL: howto manager. (line 1004)
  10682. * BFD_RELOC_ARC_S21W_PCREL_PLT: howto manager. (line 1045)
  10683. * BFD_RELOC_ARC_S25H_PCREL: howto manager. (line 1005)
  10684. * BFD_RELOC_ARC_S25H_PCREL_PLT: howto manager. (line 1046)
  10685. * BFD_RELOC_ARC_S25W_PCREL: howto manager. (line 1006)
  10686. * BFD_RELOC_ARC_S25W_PCREL_PLT: howto manager. (line 1057)
  10687. * BFD_RELOC_ARC_SDA: howto manager. (line 1001)
  10688. * BFD_RELOC_ARC_SDA16_LD: howto manager. (line 1011)
  10689. * BFD_RELOC_ARC_SDA16_LD1: howto manager. (line 1012)
  10690. * BFD_RELOC_ARC_SDA16_LD2: howto manager. (line 1013)
  10691. * BFD_RELOC_ARC_SDA16_ST2: howto manager. (line 1033)
  10692. * BFD_RELOC_ARC_SDA32: howto manager. (line 1007)
  10693. * BFD_RELOC_ARC_SDA32_ME: howto manager. (line 1020)
  10694. * BFD_RELOC_ARC_SDA_12: howto manager. (line 1032)
  10695. * BFD_RELOC_ARC_SDA_LDST: howto manager. (line 1008)
  10696. * BFD_RELOC_ARC_SDA_LDST1: howto manager. (line 1009)
  10697. * BFD_RELOC_ARC_SDA_LDST2: howto manager. (line 1010)
  10698. * BFD_RELOC_ARC_SECTOFF: howto manager. (line 1002)
  10699. * BFD_RELOC_ARC_SECTOFF_1: howto manager. (line 1030)
  10700. * BFD_RELOC_ARC_SECTOFF_2: howto manager. (line 1031)
  10701. * BFD_RELOC_ARC_SECTOFF_ME: howto manager. (line 1019)
  10702. * BFD_RELOC_ARC_SECTOFF_ME_1: howto manager. (line 1028)
  10703. * BFD_RELOC_ARC_SECTOFF_ME_2: howto manager. (line 1029)
  10704. * BFD_RELOC_ARC_TLS_DTPMOD: howto manager. (line 1047)
  10705. * BFD_RELOC_ARC_TLS_DTPOFF: howto manager. (line 1053)
  10706. * BFD_RELOC_ARC_TLS_DTPOFF_S9: howto manager. (line 1054)
  10707. * BFD_RELOC_ARC_TLS_GD_CALL: howto manager. (line 1051)
  10708. * BFD_RELOC_ARC_TLS_GD_GOT: howto manager. (line 1049)
  10709. * BFD_RELOC_ARC_TLS_GD_LD: howto manager. (line 1050)
  10710. * BFD_RELOC_ARC_TLS_IE_GOT: howto manager. (line 1052)
  10711. * BFD_RELOC_ARC_TLS_LE_32: howto manager. (line 1056)
  10712. * BFD_RELOC_ARC_TLS_LE_S9: howto manager. (line 1055)
  10713. * BFD_RELOC_ARC_TLS_TPOFF: howto manager. (line 1048)
  10714. * BFD_RELOC_ARC_W: howto manager. (line 1015)
  10715. * BFD_RELOC_ARC_W_ME: howto manager. (line 1021)
  10716. * BFD_RELOC_ARM_ADRL_IMMEDIATE: howto manager. (line 866)
  10717. * BFD_RELOC_ARM_ADR_IMM: howto manager. (line 880)
  10718. * BFD_RELOC_ARM_ALU_PC_G0: howto manager. (line 828)
  10719. * BFD_RELOC_ARM_ALU_PC_G0_NC: howto manager. (line 827)
  10720. * BFD_RELOC_ARM_ALU_PC_G1: howto manager. (line 830)
  10721. * BFD_RELOC_ARM_ALU_PC_G1_NC: howto manager. (line 829)
  10722. * BFD_RELOC_ARM_ALU_PC_G2: howto manager. (line 831)
  10723. * BFD_RELOC_ARM_ALU_SB_G0: howto manager. (line 842)
  10724. * BFD_RELOC_ARM_ALU_SB_G0_NC: howto manager. (line 841)
  10725. * BFD_RELOC_ARM_ALU_SB_G1: howto manager. (line 844)
  10726. * BFD_RELOC_ARM_ALU_SB_G1_NC: howto manager. (line 843)
  10727. * BFD_RELOC_ARM_ALU_SB_G2: howto manager. (line 845)
  10728. * BFD_RELOC_ARM_CP_OFF_IMM: howto manager. (line 876)
  10729. * BFD_RELOC_ARM_CP_OFF_IMM_S2: howto manager. (line 877)
  10730. * BFD_RELOC_ARM_FUNCDESC: howto manager. (line 797)
  10731. * BFD_RELOC_ARM_FUNCDESC_VALUE: howto manager. (line 798)
  10732. * BFD_RELOC_ARM_GLOB_DAT: howto manager. (line 804)
  10733. * BFD_RELOC_ARM_GOT32: howto manager. (line 805)
  10734. * BFD_RELOC_ARM_GOTFUNCDESC: howto manager. (line 795)
  10735. * BFD_RELOC_ARM_GOTOFF: howto manager. (line 808)
  10736. * BFD_RELOC_ARM_GOTOFFFUNCDESC: howto manager. (line 796)
  10737. * BFD_RELOC_ARM_GOTPC: howto manager. (line 809)
  10738. * BFD_RELOC_ARM_GOT_PREL: howto manager. (line 810)
  10739. * BFD_RELOC_ARM_HVC: howto manager. (line 873)
  10740. * BFD_RELOC_ARM_HWLITERAL: howto manager. (line 887)
  10741. * BFD_RELOC_ARM_IMMEDIATE: howto manager. (line 865)
  10742. * BFD_RELOC_ARM_IN_POOL: howto manager. (line 883)
  10743. * BFD_RELOC_ARM_IRELATIVE: howto manager. (line 858)
  10744. * BFD_RELOC_ARM_JUMP_SLOT: howto manager. (line 803)
  10745. * BFD_RELOC_ARM_LDC_PC_G0: howto manager. (line 838)
  10746. * BFD_RELOC_ARM_LDC_PC_G1: howto manager. (line 839)
  10747. * BFD_RELOC_ARM_LDC_PC_G2: howto manager. (line 840)
  10748. * BFD_RELOC_ARM_LDC_SB_G0: howto manager. (line 852)
  10749. * BFD_RELOC_ARM_LDC_SB_G1: howto manager. (line 853)
  10750. * BFD_RELOC_ARM_LDC_SB_G2: howto manager. (line 854)
  10751. * BFD_RELOC_ARM_LDRS_PC_G0: howto manager. (line 835)
  10752. * BFD_RELOC_ARM_LDRS_PC_G1: howto manager. (line 836)
  10753. * BFD_RELOC_ARM_LDRS_PC_G2: howto manager. (line 837)
  10754. * BFD_RELOC_ARM_LDRS_SB_G0: howto manager. (line 849)
  10755. * BFD_RELOC_ARM_LDRS_SB_G1: howto manager. (line 850)
  10756. * BFD_RELOC_ARM_LDRS_SB_G2: howto manager. (line 851)
  10757. * BFD_RELOC_ARM_LDR_IMM: howto manager. (line 881)
  10758. * BFD_RELOC_ARM_LDR_PC_G0: howto manager. (line 832)
  10759. * BFD_RELOC_ARM_LDR_PC_G1: howto manager. (line 833)
  10760. * BFD_RELOC_ARM_LDR_PC_G2: howto manager. (line 834)
  10761. * BFD_RELOC_ARM_LDR_SB_G0: howto manager. (line 846)
  10762. * BFD_RELOC_ARM_LDR_SB_G1: howto manager. (line 847)
  10763. * BFD_RELOC_ARM_LDR_SB_G2: howto manager. (line 848)
  10764. * BFD_RELOC_ARM_LITERAL: howto manager. (line 882)
  10765. * BFD_RELOC_ARM_MOVT: howto manager. (line 787)
  10766. * BFD_RELOC_ARM_MOVT_PCREL: howto manager. (line 789)
  10767. * BFD_RELOC_ARM_MOVW: howto manager. (line 786)
  10768. * BFD_RELOC_ARM_MOVW_PCREL: howto manager. (line 788)
  10769. * BFD_RELOC_ARM_MULTI: howto manager. (line 875)
  10770. * BFD_RELOC_ARM_OFFSET_IMM: howto manager. (line 767)
  10771. * BFD_RELOC_ARM_OFFSET_IMM8: howto manager. (line 884)
  10772. * BFD_RELOC_ARM_PCREL_BLX: howto manager. (line 743)
  10773. * BFD_RELOC_ARM_PCREL_BRANCH: howto manager. (line 740)
  10774. * BFD_RELOC_ARM_PCREL_CALL: howto manager. (line 751)
  10775. * BFD_RELOC_ARM_PCREL_JUMP: howto manager. (line 754)
  10776. * BFD_RELOC_ARM_PLT32: howto manager. (line 806)
  10777. * BFD_RELOC_ARM_PREL31: howto manager. (line 784)
  10778. * BFD_RELOC_ARM_RELATIVE: howto manager. (line 807)
  10779. * BFD_RELOC_ARM_ROSEGREL32: howto manager. (line 776)
  10780. * BFD_RELOC_ARM_SBREL32: howto manager. (line 778)
  10781. * BFD_RELOC_ARM_SHIFT_IMM: howto manager. (line 871)
  10782. * BFD_RELOC_ARM_SMC: howto manager. (line 872)
  10783. * BFD_RELOC_ARM_SWI: howto manager. (line 874)
  10784. * BFD_RELOC_ARM_T32_ADD_IMM: howto manager. (line 868)
  10785. * BFD_RELOC_ARM_T32_ADD_PC12: howto manager. (line 870)
  10786. * BFD_RELOC_ARM_T32_CP_OFF_IMM: howto manager. (line 878)
  10787. * BFD_RELOC_ARM_T32_CP_OFF_IMM_S2: howto manager. (line 879)
  10788. * BFD_RELOC_ARM_T32_IMM12: howto manager. (line 869)
  10789. * BFD_RELOC_ARM_T32_IMMEDIATE: howto manager. (line 867)
  10790. * BFD_RELOC_ARM_T32_OFFSET_IMM: howto manager. (line 886)
  10791. * BFD_RELOC_ARM_T32_OFFSET_U8: howto manager. (line 885)
  10792. * BFD_RELOC_ARM_TARGET1: howto manager. (line 773)
  10793. * BFD_RELOC_ARM_TARGET2: howto manager. (line 780)
  10794. * BFD_RELOC_ARM_THM_TLS_CALL: howto manager. (line 822)
  10795. * BFD_RELOC_ARM_THM_TLS_DESCSEQ: howto manager. (line 824)
  10796. * BFD_RELOC_ARM_THUMB_ADD: howto manager. (line 888)
  10797. * BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC: howto manager. (line 860)
  10798. * BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC: howto manager. (line 861)
  10799. * BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC: howto manager. (line 862)
  10800. * BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC: howto manager. (line 863)
  10801. * BFD_RELOC_ARM_THUMB_IMM: howto manager. (line 889)
  10802. * BFD_RELOC_ARM_THUMB_MOVT: howto manager. (line 791)
  10803. * BFD_RELOC_ARM_THUMB_MOVT_PCREL: howto manager. (line 793)
  10804. * BFD_RELOC_ARM_THUMB_MOVW: howto manager. (line 790)
  10805. * BFD_RELOC_ARM_THUMB_MOVW_PCREL: howto manager. (line 792)
  10806. * BFD_RELOC_ARM_THUMB_OFFSET: howto manager. (line 770)
  10807. * BFD_RELOC_ARM_THUMB_SHIFT: howto manager. (line 890)
  10808. * BFD_RELOC_ARM_TLS_CALL: howto manager. (line 821)
  10809. * BFD_RELOC_ARM_TLS_DESC: howto manager. (line 825)
  10810. * BFD_RELOC_ARM_TLS_DESCSEQ: howto manager. (line 823)
  10811. * BFD_RELOC_ARM_TLS_DTPMOD32: howto manager. (line 816)
  10812. * BFD_RELOC_ARM_TLS_DTPOFF32: howto manager. (line 815)
  10813. * BFD_RELOC_ARM_TLS_GD32: howto manager. (line 812)
  10814. * BFD_RELOC_ARM_TLS_GD32_FDPIC: howto manager. (line 799)
  10815. * BFD_RELOC_ARM_TLS_GOTDESC: howto manager. (line 820)
  10816. * BFD_RELOC_ARM_TLS_IE32: howto manager. (line 818)
  10817. * BFD_RELOC_ARM_TLS_IE32_FDPIC: howto manager. (line 801)
  10818. * BFD_RELOC_ARM_TLS_LDM32: howto manager. (line 814)
  10819. * BFD_RELOC_ARM_TLS_LDM32_FDPIC: howto manager. (line 800)
  10820. * BFD_RELOC_ARM_TLS_LDO32: howto manager. (line 813)
  10821. * BFD_RELOC_ARM_TLS_LE32: howto manager. (line 819)
  10822. * BFD_RELOC_ARM_TLS_TPOFF32: howto manager. (line 817)
  10823. * BFD_RELOC_ARM_V4BX: howto manager. (line 856)
  10824. * BFD_RELOC_AVR_13_PCREL: howto manager. (line 1697)
  10825. * BFD_RELOC_AVR_16_PM: howto manager. (line 1700)
  10826. * BFD_RELOC_AVR_6: howto manager. (line 1768)
  10827. * BFD_RELOC_AVR_6_ADIW: howto manager. (line 1771)
  10828. * BFD_RELOC_AVR_7_PCREL: howto manager. (line 1694)
  10829. * BFD_RELOC_AVR_8_HI: howto manager. (line 1777)
  10830. * BFD_RELOC_AVR_8_HLO: howto manager. (line 1780)
  10831. * BFD_RELOC_AVR_8_LO: howto manager. (line 1774)
  10832. * BFD_RELOC_AVR_CALL: howto manager. (line 1762)
  10833. * BFD_RELOC_AVR_DIFF16: howto manager. (line 1784)
  10834. * BFD_RELOC_AVR_DIFF32: howto manager. (line 1785)
  10835. * BFD_RELOC_AVR_DIFF8: howto manager. (line 1783)
  10836. * BFD_RELOC_AVR_HH8_LDI: howto manager. (line 1709)
  10837. * BFD_RELOC_AVR_HH8_LDI_NEG: howto manager. (line 1724)
  10838. * BFD_RELOC_AVR_HH8_LDI_PM: howto manager. (line 1747)
  10839. * BFD_RELOC_AVR_HH8_LDI_PM_NEG: howto manager. (line 1758)
  10840. * BFD_RELOC_AVR_HI8_LDI: howto manager. (line 1706)
  10841. * BFD_RELOC_AVR_HI8_LDI_GS: howto manager. (line 1742)
  10842. * BFD_RELOC_AVR_HI8_LDI_NEG: howto manager. (line 1720)
  10843. * BFD_RELOC_AVR_HI8_LDI_PM: howto manager. (line 1739)
  10844. * BFD_RELOC_AVR_HI8_LDI_PM_NEG: howto manager. (line 1754)
  10845. * BFD_RELOC_AVR_LDI: howto manager. (line 1765)
  10846. * BFD_RELOC_AVR_LDS_STS_16: howto manager. (line 1792)
  10847. * BFD_RELOC_AVR_LO8_LDI: howto manager. (line 1703)
  10848. * BFD_RELOC_AVR_LO8_LDI_GS: howto manager. (line 1734)
  10849. * BFD_RELOC_AVR_LO8_LDI_NEG: howto manager. (line 1716)
  10850. * BFD_RELOC_AVR_LO8_LDI_PM: howto manager. (line 1731)
  10851. * BFD_RELOC_AVR_LO8_LDI_PM_NEG: howto manager. (line 1751)
  10852. * BFD_RELOC_AVR_MS8_LDI: howto manager. (line 1713)
  10853. * BFD_RELOC_AVR_MS8_LDI_NEG: howto manager. (line 1728)
  10854. * BFD_RELOC_AVR_PORT5: howto manager. (line 1798)
  10855. * BFD_RELOC_AVR_PORT6: howto manager. (line 1795)
  10856. * BFD_RELOC_BFIN_10_PCREL: howto manager. (line 1072)
  10857. * BFD_RELOC_BFIN_11_PCREL: howto manager. (line 1074)
  10858. * BFD_RELOC_BFIN_12_PCREL_JUMP: howto manager. (line 1076)
  10859. * BFD_RELOC_BFIN_12_PCREL_JUMP_S: howto manager. (line 1078)
  10860. * BFD_RELOC_BFIN_16_HIGH: howto manager. (line 1064)
  10861. * BFD_RELOC_BFIN_16_IMM: howto manager. (line 1062)
  10862. * BFD_RELOC_BFIN_16_LOW: howto manager. (line 1070)
  10863. * BFD_RELOC_BFIN_24_PCREL_CALL_X: howto manager. (line 1080)
  10864. * BFD_RELOC_BFIN_24_PCREL_JUMP_L: howto manager. (line 1082)
  10865. * BFD_RELOC_BFIN_4_PCREL: howto manager. (line 1066)
  10866. * BFD_RELOC_BFIN_5_PCREL: howto manager. (line 1068)
  10867. * BFD_RELOC_BFIN_FUNCDESC: howto manager. (line 1087)
  10868. * BFD_RELOC_BFIN_FUNCDESC_GOT17M4: howto manager. (line 1088)
  10869. * BFD_RELOC_BFIN_FUNCDESC_GOTHI: howto manager. (line 1089)
  10870. * BFD_RELOC_BFIN_FUNCDESC_GOTLO: howto manager. (line 1090)
  10871. * BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4: howto manager. (line 1092)
  10872. * BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI: howto manager. (line 1093)
  10873. * BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO: howto manager. (line 1094)
  10874. * BFD_RELOC_BFIN_FUNCDESC_VALUE: howto manager. (line 1091)
  10875. * BFD_RELOC_BFIN_GOT: howto manager. (line 1099)
  10876. * BFD_RELOC_BFIN_GOT17M4: howto manager. (line 1084)
  10877. * BFD_RELOC_BFIN_GOTHI: howto manager. (line 1085)
  10878. * BFD_RELOC_BFIN_GOTLO: howto manager. (line 1086)
  10879. * BFD_RELOC_BFIN_GOTOFF17M4: howto manager. (line 1095)
  10880. * BFD_RELOC_BFIN_GOTOFFHI: howto manager. (line 1096)
  10881. * BFD_RELOC_BFIN_GOTOFFLO: howto manager. (line 1097)
  10882. * BFD_RELOC_BFIN_PLTPC: howto manager. (line 1101)
  10883. * BFD_RELOC_C6000_ABS_H16: howto manager. (line 1539)
  10884. * BFD_RELOC_C6000_ABS_L16: howto manager. (line 1538)
  10885. * BFD_RELOC_C6000_ABS_S16: howto manager. (line 1537)
  10886. * BFD_RELOC_C6000_ALIGN: howto manager. (line 1560)
  10887. * BFD_RELOC_C6000_COPY: howto manager. (line 1555)
  10888. * BFD_RELOC_C6000_DSBT_INDEX: howto manager. (line 1553)
  10889. * BFD_RELOC_C6000_EHTYPE: howto manager. (line 1557)
  10890. * BFD_RELOC_C6000_FPHEAD: howto manager. (line 1561)
  10891. * BFD_RELOC_C6000_JUMP_SLOT: howto manager. (line 1556)
  10892. * BFD_RELOC_C6000_NOCMP: howto manager. (line 1562)
  10893. * BFD_RELOC_C6000_PCR_H16: howto manager. (line 1558)
  10894. * BFD_RELOC_C6000_PCR_L16: howto manager. (line 1559)
  10895. * BFD_RELOC_C6000_PCR_S10: howto manager. (line 1535)
  10896. * BFD_RELOC_C6000_PCR_S12: howto manager. (line 1534)
  10897. * BFD_RELOC_C6000_PCR_S21: howto manager. (line 1533)
  10898. * BFD_RELOC_C6000_PCR_S7: howto manager. (line 1536)
  10899. * BFD_RELOC_C6000_PREL31: howto manager. (line 1554)
  10900. * BFD_RELOC_C6000_SBR_GOT_H16_W: howto manager. (line 1552)
  10901. * BFD_RELOC_C6000_SBR_GOT_L16_W: howto manager. (line 1551)
  10902. * BFD_RELOC_C6000_SBR_GOT_U15_W: howto manager. (line 1550)
  10903. * BFD_RELOC_C6000_SBR_H16_B: howto manager. (line 1547)
  10904. * BFD_RELOC_C6000_SBR_H16_H: howto manager. (line 1548)
  10905. * BFD_RELOC_C6000_SBR_H16_W: howto manager. (line 1549)
  10906. * BFD_RELOC_C6000_SBR_L16_B: howto manager. (line 1544)
  10907. * BFD_RELOC_C6000_SBR_L16_H: howto manager. (line 1545)
  10908. * BFD_RELOC_C6000_SBR_L16_W: howto manager. (line 1546)
  10909. * BFD_RELOC_C6000_SBR_S16: howto manager. (line 1543)
  10910. * BFD_RELOC_C6000_SBR_U15_B: howto manager. (line 1540)
  10911. * BFD_RELOC_C6000_SBR_U15_H: howto manager. (line 1541)
  10912. * BFD_RELOC_C6000_SBR_U15_W: howto manager. (line 1542)
  10913. * BFD_RELOC_CKCORE_ADDR32: howto manager. (line 3336)
  10914. * BFD_RELOC_CKCORE_ADDRGOT: howto manager. (line 3352)
  10915. * BFD_RELOC_CKCORE_ADDRGOT_HI16: howto manager. (line 3371)
  10916. * BFD_RELOC_CKCORE_ADDRGOT_LO16: howto manager. (line 3372)
  10917. * BFD_RELOC_CKCORE_ADDRPLT: howto manager. (line 3353)
  10918. * BFD_RELOC_CKCORE_ADDRPLT_HI16: howto manager. (line 3373)
  10919. * BFD_RELOC_CKCORE_ADDRPLT_LO16: howto manager. (line 3374)
  10920. * BFD_RELOC_CKCORE_ADDR_HI16: howto manager. (line 3359)
  10921. * BFD_RELOC_CKCORE_ADDR_LO16: howto manager. (line 3360)
  10922. * BFD_RELOC_CKCORE_CALLGRAPH: howto manager. (line 3396)
  10923. * BFD_RELOC_CKCORE_COPY: howto manager. (line 3345)
  10924. * BFD_RELOC_CKCORE_DOFFSET_IMM18: howto manager. (line 3379)
  10925. * BFD_RELOC_CKCORE_DOFFSET_IMM18BY2: howto manager. (line 3380)
  10926. * BFD_RELOC_CKCORE_DOFFSET_IMM18BY4: howto manager. (line 3381)
  10927. * BFD_RELOC_CKCORE_DOFFSET_LO16: howto manager. (line 3377)
  10928. * BFD_RELOC_CKCORE_GLOB_DAT: howto manager. (line 3346)
  10929. * BFD_RELOC_CKCORE_GNU_VTENTRY: howto manager. (line 3343)
  10930. * BFD_RELOC_CKCORE_GNU_VTINHERIT: howto manager. (line 3342)
  10931. * BFD_RELOC_CKCORE_GOT12: howto manager. (line 3365)
  10932. * BFD_RELOC_CKCORE_GOT32: howto manager. (line 3350)
  10933. * BFD_RELOC_CKCORE_GOTOFF: howto manager. (line 3348)
  10934. * BFD_RELOC_CKCORE_GOTOFF_HI16: howto manager. (line 3363)
  10935. * BFD_RELOC_CKCORE_GOTOFF_IMM18: howto manager. (line 3382)
  10936. * BFD_RELOC_CKCORE_GOTOFF_LO16: howto manager. (line 3364)
  10937. * BFD_RELOC_CKCORE_GOTPC: howto manager. (line 3349)
  10938. * BFD_RELOC_CKCORE_GOTPC_HI16: howto manager. (line 3361)
  10939. * BFD_RELOC_CKCORE_GOTPC_LO16: howto manager. (line 3362)
  10940. * BFD_RELOC_CKCORE_GOT_HI16: howto manager. (line 3366)
  10941. * BFD_RELOC_CKCORE_GOT_IMM18BY4: howto manager. (line 3383)
  10942. * BFD_RELOC_CKCORE_GOT_LO16: howto manager. (line 3367)
  10943. * BFD_RELOC_CKCORE_IRELATIVE: howto manager. (line 3397)
  10944. * BFD_RELOC_CKCORE_JUMP_SLOT: howto manager. (line 3347)
  10945. * BFD_RELOC_CKCORE_NOJSRI: howto manager. (line 3395)
  10946. * BFD_RELOC_CKCORE_NONE: howto manager. (line 3335)
  10947. * BFD_RELOC_CKCORE_PCREL32: howto manager. (line 3340)
  10948. * BFD_RELOC_CKCORE_PCREL_BLOOP_IMM12BY4: howto manager. (line 3399)
  10949. * BFD_RELOC_CKCORE_PCREL_BLOOP_IMM4BY4: howto manager. (line 3398)
  10950. * BFD_RELOC_CKCORE_PCREL_FLRW_IMM8BY4: howto manager. (line 3394)
  10951. * BFD_RELOC_CKCORE_PCREL_IMM10BY2: howto manager. (line 3357)
  10952. * BFD_RELOC_CKCORE_PCREL_IMM10BY4: howto manager. (line 3358)
  10953. * BFD_RELOC_CKCORE_PCREL_IMM11BY2: howto manager. (line 3338)
  10954. * BFD_RELOC_CKCORE_PCREL_IMM16BY2: howto manager. (line 3355)
  10955. * BFD_RELOC_CKCORE_PCREL_IMM16BY4: howto manager. (line 3356)
  10956. * BFD_RELOC_CKCORE_PCREL_IMM18BY2: howto manager. (line 3378)
  10957. * BFD_RELOC_CKCORE_PCREL_IMM26BY2: howto manager. (line 3354)
  10958. * BFD_RELOC_CKCORE_PCREL_IMM4BY2: howto manager. (line 3339)
  10959. * BFD_RELOC_CKCORE_PCREL_IMM7BY4: howto manager. (line 3385)
  10960. * BFD_RELOC_CKCORE_PCREL_IMM8BY4: howto manager. (line 3337)
  10961. * BFD_RELOC_CKCORE_PCREL_JSR_IMM11BY2: howto manager. (line 3341)
  10962. * BFD_RELOC_CKCORE_PCREL_JSR_IMM26BY2: howto manager. (line 3375)
  10963. * BFD_RELOC_CKCORE_PLT12: howto manager. (line 3368)
  10964. * BFD_RELOC_CKCORE_PLT32: howto manager. (line 3351)
  10965. * BFD_RELOC_CKCORE_PLT_HI16: howto manager. (line 3369)
  10966. * BFD_RELOC_CKCORE_PLT_IMM18BY4: howto manager. (line 3384)
  10967. * BFD_RELOC_CKCORE_PLT_LO16: howto manager. (line 3370)
  10968. * BFD_RELOC_CKCORE_RELATIVE: howto manager. (line 3344)
  10969. * BFD_RELOC_CKCORE_TLS_DTPMOD32: howto manager. (line 3391)
  10970. * BFD_RELOC_CKCORE_TLS_DTPOFF32: howto manager. (line 3392)
  10971. * BFD_RELOC_CKCORE_TLS_GD32: howto manager. (line 3388)
  10972. * BFD_RELOC_CKCORE_TLS_IE32: howto manager. (line 3387)
  10973. * BFD_RELOC_CKCORE_TLS_LDM32: howto manager. (line 3389)
  10974. * BFD_RELOC_CKCORE_TLS_LDO32: howto manager. (line 3390)
  10975. * BFD_RELOC_CKCORE_TLS_LE32: howto manager. (line 3386)
  10976. * BFD_RELOC_CKCORE_TLS_TPOFF32: howto manager. (line 3393)
  10977. * BFD_RELOC_CKCORE_TOFFSET_LO16: howto manager. (line 3376)
  10978. * bfd_reloc_code_type: howto manager. (line 9)
  10979. * BFD_RELOC_CR16_ABS20: howto manager. (line 2280)
  10980. * BFD_RELOC_CR16_ABS24: howto manager. (line 2281)
  10981. * BFD_RELOC_CR16_DISP16: howto manager. (line 2291)
  10982. * BFD_RELOC_CR16_DISP20: howto manager. (line 2292)
  10983. * BFD_RELOC_CR16_DISP24: howto manager. (line 2293)
  10984. * BFD_RELOC_CR16_DISP24a: howto manager. (line 2294)
  10985. * BFD_RELOC_CR16_DISP4: howto manager. (line 2289)
  10986. * BFD_RELOC_CR16_DISP8: howto manager. (line 2290)
  10987. * BFD_RELOC_CR16_GLOB_DAT: howto manager. (line 2300)
  10988. * BFD_RELOC_CR16_GOTC_REGREL20: howto manager. (line 2299)
  10989. * BFD_RELOC_CR16_GOT_REGREL20: howto manager. (line 2298)
  10990. * BFD_RELOC_CR16_IMM16: howto manager. (line 2284)
  10991. * BFD_RELOC_CR16_IMM20: howto manager. (line 2285)
  10992. * BFD_RELOC_CR16_IMM24: howto manager. (line 2286)
  10993. * BFD_RELOC_CR16_IMM32: howto manager. (line 2287)
  10994. * BFD_RELOC_CR16_IMM32a: howto manager. (line 2288)
  10995. * BFD_RELOC_CR16_IMM4: howto manager. (line 2282)
  10996. * BFD_RELOC_CR16_IMM8: howto manager. (line 2283)
  10997. * BFD_RELOC_CR16_NUM16: howto manager. (line 2269)
  10998. * BFD_RELOC_CR16_NUM32: howto manager. (line 2270)
  10999. * BFD_RELOC_CR16_NUM32a: howto manager. (line 2271)
  11000. * BFD_RELOC_CR16_NUM8: howto manager. (line 2268)
  11001. * BFD_RELOC_CR16_REGREL0: howto manager. (line 2272)
  11002. * BFD_RELOC_CR16_REGREL14: howto manager. (line 2275)
  11003. * BFD_RELOC_CR16_REGREL14a: howto manager. (line 2276)
  11004. * BFD_RELOC_CR16_REGREL16: howto manager. (line 2277)
  11005. * BFD_RELOC_CR16_REGREL20: howto manager. (line 2278)
  11006. * BFD_RELOC_CR16_REGREL20a: howto manager. (line 2279)
  11007. * BFD_RELOC_CR16_REGREL4: howto manager. (line 2273)
  11008. * BFD_RELOC_CR16_REGREL4a: howto manager. (line 2274)
  11009. * BFD_RELOC_CR16_SWITCH16: howto manager. (line 2296)
  11010. * BFD_RELOC_CR16_SWITCH32: howto manager. (line 2297)
  11011. * BFD_RELOC_CR16_SWITCH8: howto manager. (line 2295)
  11012. * BFD_RELOC_CRIS_16_DTPREL: howto manager. (line 2360)
  11013. * BFD_RELOC_CRIS_16_GOT: howto manager. (line 2342)
  11014. * BFD_RELOC_CRIS_16_GOTPLT: howto manager. (line 2346)
  11015. * BFD_RELOC_CRIS_16_GOT_GD: howto manager. (line 2356)
  11016. * BFD_RELOC_CRIS_16_GOT_TPREL: howto manager. (line 2362)
  11017. * BFD_RELOC_CRIS_16_TPREL: howto manager. (line 2364)
  11018. * BFD_RELOC_CRIS_32_DTPREL: howto manager. (line 2359)
  11019. * BFD_RELOC_CRIS_32_GD: howto manager. (line 2357)
  11020. * BFD_RELOC_CRIS_32_GOT: howto manager. (line 2340)
  11021. * BFD_RELOC_CRIS_32_GOTPLT: howto manager. (line 2344)
  11022. * BFD_RELOC_CRIS_32_GOTREL: howto manager. (line 2348)
  11023. * BFD_RELOC_CRIS_32_GOT_GD: howto manager. (line 2355)
  11024. * BFD_RELOC_CRIS_32_GOT_TPREL: howto manager. (line 2361)
  11025. * BFD_RELOC_CRIS_32_IE: howto manager. (line 2366)
  11026. * BFD_RELOC_CRIS_32_PLT_GOTREL: howto manager. (line 2350)
  11027. * BFD_RELOC_CRIS_32_PLT_PCREL: howto manager. (line 2352)
  11028. * BFD_RELOC_CRIS_32_TPREL: howto manager. (line 2363)
  11029. * BFD_RELOC_CRIS_BDISP8: howto manager. (line 2323)
  11030. * BFD_RELOC_CRIS_COPY: howto manager. (line 2335)
  11031. * BFD_RELOC_CRIS_DTP: howto manager. (line 2358)
  11032. * BFD_RELOC_CRIS_DTPMOD: howto manager. (line 2365)
  11033. * BFD_RELOC_CRIS_GLOB_DAT: howto manager. (line 2336)
  11034. * BFD_RELOC_CRIS_JUMP_SLOT: howto manager. (line 2337)
  11035. * BFD_RELOC_CRIS_LAPCQ_OFFSET: howto manager. (line 2331)
  11036. * BFD_RELOC_CRIS_RELATIVE: howto manager. (line 2338)
  11037. * BFD_RELOC_CRIS_SIGNED_16: howto manager. (line 2329)
  11038. * BFD_RELOC_CRIS_SIGNED_6: howto manager. (line 2325)
  11039. * BFD_RELOC_CRIS_SIGNED_8: howto manager. (line 2327)
  11040. * BFD_RELOC_CRIS_UNSIGNED_16: howto manager. (line 2330)
  11041. * BFD_RELOC_CRIS_UNSIGNED_4: howto manager. (line 2332)
  11042. * BFD_RELOC_CRIS_UNSIGNED_5: howto manager. (line 2324)
  11043. * BFD_RELOC_CRIS_UNSIGNED_6: howto manager. (line 2326)
  11044. * BFD_RELOC_CRIS_UNSIGNED_8: howto manager. (line 2328)
  11045. * BFD_RELOC_CRX_ABS16: howto manager. (line 2312)
  11046. * BFD_RELOC_CRX_ABS32: howto manager. (line 2313)
  11047. * BFD_RELOC_CRX_IMM16: howto manager. (line 2317)
  11048. * BFD_RELOC_CRX_IMM32: howto manager. (line 2318)
  11049. * BFD_RELOC_CRX_NUM16: howto manager. (line 2315)
  11050. * BFD_RELOC_CRX_NUM32: howto manager. (line 2316)
  11051. * BFD_RELOC_CRX_NUM8: howto manager. (line 2314)
  11052. * BFD_RELOC_CRX_REGREL12: howto manager. (line 2308)
  11053. * BFD_RELOC_CRX_REGREL22: howto manager. (line 2309)
  11054. * BFD_RELOC_CRX_REGREL28: howto manager. (line 2310)
  11055. * BFD_RELOC_CRX_REGREL32: howto manager. (line 2311)
  11056. * BFD_RELOC_CRX_REL16: howto manager. (line 2305)
  11057. * BFD_RELOC_CRX_REL24: howto manager. (line 2306)
  11058. * BFD_RELOC_CRX_REL32: howto manager. (line 2307)
  11059. * BFD_RELOC_CRX_REL4: howto manager. (line 2302)
  11060. * BFD_RELOC_CRX_REL8: howto manager. (line 2303)
  11061. * BFD_RELOC_CRX_REL8_CMP: howto manager. (line 2304)
  11062. * BFD_RELOC_CRX_SWITCH16: howto manager. (line 2320)
  11063. * BFD_RELOC_CRX_SWITCH32: howto manager. (line 2321)
  11064. * BFD_RELOC_CRX_SWITCH8: howto manager. (line 2319)
  11065. * BFD_RELOC_CTOR: howto manager. (line 735)
  11066. * BFD_RELOC_D10V_10_PCREL_L: howto manager. (line 1146)
  11067. * BFD_RELOC_D10V_10_PCREL_R: howto manager. (line 1143)
  11068. * BFD_RELOC_D10V_18: howto manager. (line 1150)
  11069. * BFD_RELOC_D10V_18_PCREL: howto manager. (line 1152)
  11070. * BFD_RELOC_D30V_15: howto manager. (line 1163)
  11071. * BFD_RELOC_D30V_15_PCREL: howto manager. (line 1166)
  11072. * BFD_RELOC_D30V_15_PCREL_R: howto manager. (line 1169)
  11073. * BFD_RELOC_D30V_21: howto manager. (line 1173)
  11074. * BFD_RELOC_D30V_21_PCREL: howto manager. (line 1176)
  11075. * BFD_RELOC_D30V_21_PCREL_R: howto manager. (line 1179)
  11076. * BFD_RELOC_D30V_32: howto manager. (line 1183)
  11077. * BFD_RELOC_D30V_32_PCREL: howto manager. (line 1185)
  11078. * BFD_RELOC_D30V_6: howto manager. (line 1154)
  11079. * BFD_RELOC_D30V_9_PCREL: howto manager. (line 1156)
  11080. * BFD_RELOC_D30V_9_PCREL_R: howto manager. (line 1159)
  11081. * BFD_RELOC_DLX_HI16_S: howto manager. (line 1187)
  11082. * BFD_RELOC_DLX_JMP26: howto manager. (line 1191)
  11083. * BFD_RELOC_DLX_LO16: howto manager. (line 1189)
  11084. * BFD_RELOC_EPIPHANY_HIGH: howto manager. (line 3305)
  11085. * BFD_RELOC_EPIPHANY_IMM11: howto manager. (line 3311)
  11086. * BFD_RELOC_EPIPHANY_IMM8: howto manager. (line 3314)
  11087. * BFD_RELOC_EPIPHANY_LOW: howto manager. (line 3307)
  11088. * BFD_RELOC_EPIPHANY_SIMM11: howto manager. (line 3309)
  11089. * BFD_RELOC_EPIPHANY_SIMM24: howto manager. (line 3303)
  11090. * BFD_RELOC_EPIPHANY_SIMM8: howto manager. (line 3301)
  11091. * BFD_RELOC_FR30_10_IN_8: howto manager. (line 1578)
  11092. * BFD_RELOC_FR30_12_PCREL: howto manager. (line 1584)
  11093. * BFD_RELOC_FR30_20: howto manager. (line 1566)
  11094. * BFD_RELOC_FR30_48: howto manager. (line 1564)
  11095. * BFD_RELOC_FR30_6_IN_4: howto manager. (line 1569)
  11096. * BFD_RELOC_FR30_8_IN_8: howto manager. (line 1572)
  11097. * BFD_RELOC_FR30_9_IN_8: howto manager. (line 1575)
  11098. * BFD_RELOC_FR30_9_PCREL: howto manager. (line 1581)
  11099. * BFD_RELOC_FRV_FUNCDESC: howto manager. (line 451)
  11100. * BFD_RELOC_FRV_FUNCDESC_GOT12: howto manager. (line 452)
  11101. * BFD_RELOC_FRV_FUNCDESC_GOTHI: howto manager. (line 453)
  11102. * BFD_RELOC_FRV_FUNCDESC_GOTLO: howto manager. (line 454)
  11103. * BFD_RELOC_FRV_FUNCDESC_GOTOFF12: howto manager. (line 456)
  11104. * BFD_RELOC_FRV_FUNCDESC_GOTOFFHI: howto manager. (line 457)
  11105. * BFD_RELOC_FRV_FUNCDESC_GOTOFFLO: howto manager. (line 458)
  11106. * BFD_RELOC_FRV_FUNCDESC_VALUE: howto manager. (line 455)
  11107. * BFD_RELOC_FRV_GETTLSOFF: howto manager. (line 462)
  11108. * BFD_RELOC_FRV_GETTLSOFF_RELAX: howto manager. (line 475)
  11109. * BFD_RELOC_FRV_GOT12: howto manager. (line 448)
  11110. * BFD_RELOC_FRV_GOTHI: howto manager. (line 449)
  11111. * BFD_RELOC_FRV_GOTLO: howto manager. (line 450)
  11112. * BFD_RELOC_FRV_GOTOFF12: howto manager. (line 459)
  11113. * BFD_RELOC_FRV_GOTOFFHI: howto manager. (line 460)
  11114. * BFD_RELOC_FRV_GOTOFFLO: howto manager. (line 461)
  11115. * BFD_RELOC_FRV_GOTTLSDESC12: howto manager. (line 464)
  11116. * BFD_RELOC_FRV_GOTTLSDESCHI: howto manager. (line 465)
  11117. * BFD_RELOC_FRV_GOTTLSDESCLO: howto manager. (line 466)
  11118. * BFD_RELOC_FRV_GOTTLSOFF12: howto manager. (line 470)
  11119. * BFD_RELOC_FRV_GOTTLSOFFHI: howto manager. (line 471)
  11120. * BFD_RELOC_FRV_GOTTLSOFFLO: howto manager. (line 472)
  11121. * BFD_RELOC_FRV_GPREL12: howto manager. (line 443)
  11122. * BFD_RELOC_FRV_GPREL32: howto manager. (line 445)
  11123. * BFD_RELOC_FRV_GPRELHI: howto manager. (line 446)
  11124. * BFD_RELOC_FRV_GPRELLO: howto manager. (line 447)
  11125. * BFD_RELOC_FRV_GPRELU12: howto manager. (line 444)
  11126. * BFD_RELOC_FRV_HI16: howto manager. (line 442)
  11127. * BFD_RELOC_FRV_LABEL16: howto manager. (line 439)
  11128. * BFD_RELOC_FRV_LABEL24: howto manager. (line 440)
  11129. * BFD_RELOC_FRV_LO16: howto manager. (line 441)
  11130. * BFD_RELOC_FRV_TLSDESC_RELAX: howto manager. (line 474)
  11131. * BFD_RELOC_FRV_TLSDESC_VALUE: howto manager. (line 463)
  11132. * BFD_RELOC_FRV_TLSMOFF: howto manager. (line 477)
  11133. * BFD_RELOC_FRV_TLSMOFF12: howto manager. (line 467)
  11134. * BFD_RELOC_FRV_TLSMOFFHI: howto manager. (line 468)
  11135. * BFD_RELOC_FRV_TLSMOFFLO: howto manager. (line 469)
  11136. * BFD_RELOC_FRV_TLSOFF: howto manager. (line 473)
  11137. * BFD_RELOC_FRV_TLSOFF_RELAX: howto manager. (line 476)
  11138. * BFD_RELOC_FT32_10: howto manager. (line 429)
  11139. * BFD_RELOC_FT32_15: howto manager. (line 436)
  11140. * BFD_RELOC_FT32_17: howto manager. (line 431)
  11141. * BFD_RELOC_FT32_18: howto manager. (line 432)
  11142. * BFD_RELOC_FT32_20: howto manager. (line 430)
  11143. * BFD_RELOC_FT32_DIFF32: howto manager. (line 437)
  11144. * BFD_RELOC_FT32_RELAX: howto manager. (line 433)
  11145. * BFD_RELOC_FT32_SC0: howto manager. (line 434)
  11146. * BFD_RELOC_FT32_SC1: howto manager. (line 435)
  11147. * BFD_RELOC_GPREL16: howto manager. (line 112)
  11148. * BFD_RELOC_GPREL32: howto manager. (line 113)
  11149. * BFD_RELOC_H8_DIR16A8: howto manager. (line 2408)
  11150. * BFD_RELOC_H8_DIR16R8: howto manager. (line 2409)
  11151. * BFD_RELOC_H8_DIR24A8: howto manager. (line 2410)
  11152. * BFD_RELOC_H8_DIR24R8: howto manager. (line 2411)
  11153. * BFD_RELOC_H8_DIR32A16: howto manager. (line 2412)
  11154. * BFD_RELOC_H8_DISP32A16: howto manager. (line 2413)
  11155. * BFD_RELOC_HI16: howto manager. (line 312)
  11156. * BFD_RELOC_HI16_BASEREL: howto manager. (line 92)
  11157. * BFD_RELOC_HI16_GOTOFF: howto manager. (line 51)
  11158. * BFD_RELOC_HI16_PCREL: howto manager. (line 321)
  11159. * BFD_RELOC_HI16_PLTOFF: howto manager. (line 63)
  11160. * BFD_RELOC_HI16_S: howto manager. (line 314)
  11161. * BFD_RELOC_HI16_S_BASEREL: howto manager. (line 93)
  11162. * BFD_RELOC_HI16_S_GOTOFF: howto manager. (line 52)
  11163. * BFD_RELOC_HI16_S_PCREL: howto manager. (line 323)
  11164. * BFD_RELOC_HI16_S_PLTOFF: howto manager. (line 64)
  11165. * BFD_RELOC_HI22: howto manager. (line 108)
  11166. * BFD_RELOC_I370_D12: howto manager. (line 733)
  11167. * BFD_RELOC_IA64_COPY: howto manager. (line 2125)
  11168. * BFD_RELOC_IA64_DIR32LSB: howto manager. (line 2070)
  11169. * BFD_RELOC_IA64_DIR32MSB: howto manager. (line 2069)
  11170. * BFD_RELOC_IA64_DIR64LSB: howto manager. (line 2072)
  11171. * BFD_RELOC_IA64_DIR64MSB: howto manager. (line 2071)
  11172. * BFD_RELOC_IA64_DTPMOD64LSB: howto manager. (line 2135)
  11173. * BFD_RELOC_IA64_DTPMOD64MSB: howto manager. (line 2134)
  11174. * BFD_RELOC_IA64_DTPREL14: howto manager. (line 2137)
  11175. * BFD_RELOC_IA64_DTPREL22: howto manager. (line 2138)
  11176. * BFD_RELOC_IA64_DTPREL32LSB: howto manager. (line 2141)
  11177. * BFD_RELOC_IA64_DTPREL32MSB: howto manager. (line 2140)
  11178. * BFD_RELOC_IA64_DTPREL64I: howto manager. (line 2139)
  11179. * BFD_RELOC_IA64_DTPREL64LSB: howto manager. (line 2143)
  11180. * BFD_RELOC_IA64_DTPREL64MSB: howto manager. (line 2142)
  11181. * BFD_RELOC_IA64_FPTR32LSB: howto manager. (line 2087)
  11182. * BFD_RELOC_IA64_FPTR32MSB: howto manager. (line 2086)
  11183. * BFD_RELOC_IA64_FPTR64I: howto manager. (line 2085)
  11184. * BFD_RELOC_IA64_FPTR64LSB: howto manager. (line 2089)
  11185. * BFD_RELOC_IA64_FPTR64MSB: howto manager. (line 2088)
  11186. * BFD_RELOC_IA64_GPREL22: howto manager. (line 2073)
  11187. * BFD_RELOC_IA64_GPREL32LSB: howto manager. (line 2076)
  11188. * BFD_RELOC_IA64_GPREL32MSB: howto manager. (line 2075)
  11189. * BFD_RELOC_IA64_GPREL64I: howto manager. (line 2074)
  11190. * BFD_RELOC_IA64_GPREL64LSB: howto manager. (line 2078)
  11191. * BFD_RELOC_IA64_GPREL64MSB: howto manager. (line 2077)
  11192. * BFD_RELOC_IA64_IMM14: howto manager. (line 2066)
  11193. * BFD_RELOC_IA64_IMM22: howto manager. (line 2067)
  11194. * BFD_RELOC_IA64_IMM64: howto manager. (line 2068)
  11195. * BFD_RELOC_IA64_IPLTLSB: howto manager. (line 2124)
  11196. * BFD_RELOC_IA64_IPLTMSB: howto manager. (line 2123)
  11197. * BFD_RELOC_IA64_LDXMOV: howto manager. (line 2127)
  11198. * BFD_RELOC_IA64_LTOFF22: howto manager. (line 2079)
  11199. * BFD_RELOC_IA64_LTOFF22X: howto manager. (line 2126)
  11200. * BFD_RELOC_IA64_LTOFF64I: howto manager. (line 2080)
  11201. * BFD_RELOC_IA64_LTOFF_DTPMOD22: howto manager. (line 2136)
  11202. * BFD_RELOC_IA64_LTOFF_DTPREL22: howto manager. (line 2144)
  11203. * BFD_RELOC_IA64_LTOFF_FPTR22: howto manager. (line 2101)
  11204. * BFD_RELOC_IA64_LTOFF_FPTR32LSB: howto manager. (line 2104)
  11205. * BFD_RELOC_IA64_LTOFF_FPTR32MSB: howto manager. (line 2103)
  11206. * BFD_RELOC_IA64_LTOFF_FPTR64I: howto manager. (line 2102)
  11207. * BFD_RELOC_IA64_LTOFF_FPTR64LSB: howto manager. (line 2106)
  11208. * BFD_RELOC_IA64_LTOFF_FPTR64MSB: howto manager. (line 2105)
  11209. * BFD_RELOC_IA64_LTOFF_TPREL22: howto manager. (line 2133)
  11210. * BFD_RELOC_IA64_LTV32LSB: howto manager. (line 2120)
  11211. * BFD_RELOC_IA64_LTV32MSB: howto manager. (line 2119)
  11212. * BFD_RELOC_IA64_LTV64LSB: howto manager. (line 2122)
  11213. * BFD_RELOC_IA64_LTV64MSB: howto manager. (line 2121)
  11214. * BFD_RELOC_IA64_PCREL21B: howto manager. (line 2090)
  11215. * BFD_RELOC_IA64_PCREL21BI: howto manager. (line 2091)
  11216. * BFD_RELOC_IA64_PCREL21F: howto manager. (line 2093)
  11217. * BFD_RELOC_IA64_PCREL21M: howto manager. (line 2092)
  11218. * BFD_RELOC_IA64_PCREL22: howto manager. (line 2094)
  11219. * BFD_RELOC_IA64_PCREL32LSB: howto manager. (line 2098)
  11220. * BFD_RELOC_IA64_PCREL32MSB: howto manager. (line 2097)
  11221. * BFD_RELOC_IA64_PCREL60B: howto manager. (line 2095)
  11222. * BFD_RELOC_IA64_PCREL64I: howto manager. (line 2096)
  11223. * BFD_RELOC_IA64_PCREL64LSB: howto manager. (line 2100)
  11224. * BFD_RELOC_IA64_PCREL64MSB: howto manager. (line 2099)
  11225. * BFD_RELOC_IA64_PLTOFF22: howto manager. (line 2081)
  11226. * BFD_RELOC_IA64_PLTOFF64I: howto manager. (line 2082)
  11227. * BFD_RELOC_IA64_PLTOFF64LSB: howto manager. (line 2084)
  11228. * BFD_RELOC_IA64_PLTOFF64MSB: howto manager. (line 2083)
  11229. * BFD_RELOC_IA64_REL32LSB: howto manager. (line 2116)
  11230. * BFD_RELOC_IA64_REL32MSB: howto manager. (line 2115)
  11231. * BFD_RELOC_IA64_REL64LSB: howto manager. (line 2118)
  11232. * BFD_RELOC_IA64_REL64MSB: howto manager. (line 2117)
  11233. * BFD_RELOC_IA64_SECREL32LSB: howto manager. (line 2112)
  11234. * BFD_RELOC_IA64_SECREL32MSB: howto manager. (line 2111)
  11235. * BFD_RELOC_IA64_SECREL64LSB: howto manager. (line 2114)
  11236. * BFD_RELOC_IA64_SECREL64MSB: howto manager. (line 2113)
  11237. * BFD_RELOC_IA64_SEGREL32LSB: howto manager. (line 2108)
  11238. * BFD_RELOC_IA64_SEGREL32MSB: howto manager. (line 2107)
  11239. * BFD_RELOC_IA64_SEGREL64LSB: howto manager. (line 2110)
  11240. * BFD_RELOC_IA64_SEGREL64MSB: howto manager. (line 2109)
  11241. * BFD_RELOC_IA64_TPREL14: howto manager. (line 2128)
  11242. * BFD_RELOC_IA64_TPREL22: howto manager. (line 2129)
  11243. * BFD_RELOC_IA64_TPREL64I: howto manager. (line 2130)
  11244. * BFD_RELOC_IA64_TPREL64LSB: howto manager. (line 2132)
  11245. * BFD_RELOC_IA64_TPREL64MSB: howto manager. (line 2131)
  11246. * BFD_RELOC_IP2K_ADDR16CJP: howto manager. (line 2027)
  11247. * BFD_RELOC_IP2K_BANK: howto manager. (line 2025)
  11248. * BFD_RELOC_IP2K_EX8DATA: howto manager. (line 2033)
  11249. * BFD_RELOC_IP2K_FR9: howto manager. (line 2023)
  11250. * BFD_RELOC_IP2K_FR_OFFSET: howto manager. (line 2042)
  11251. * BFD_RELOC_IP2K_HI8DATA: howto manager. (line 2032)
  11252. * BFD_RELOC_IP2K_HI8INSN: howto manager. (line 2036)
  11253. * BFD_RELOC_IP2K_LO8DATA: howto manager. (line 2031)
  11254. * BFD_RELOC_IP2K_LO8INSN: howto manager. (line 2035)
  11255. * BFD_RELOC_IP2K_PAGE3: howto manager. (line 2029)
  11256. * BFD_RELOC_IP2K_PC_SKIP: howto manager. (line 2038)
  11257. * BFD_RELOC_IP2K_TEXT: howto manager. (line 2040)
  11258. * BFD_RELOC_IQ2000_OFFSET_16: howto manager. (line 2547)
  11259. * BFD_RELOC_IQ2000_OFFSET_21: howto manager. (line 2548)
  11260. * BFD_RELOC_IQ2000_UHI16: howto manager. (line 2549)
  11261. * BFD_RELOC_LM32_16_GOT: howto manager. (line 2639)
  11262. * BFD_RELOC_LM32_BRANCH: howto manager. (line 2638)
  11263. * BFD_RELOC_LM32_CALL: howto manager. (line 2637)
  11264. * BFD_RELOC_LM32_COPY: howto manager. (line 2642)
  11265. * BFD_RELOC_LM32_GLOB_DAT: howto manager. (line 2643)
  11266. * BFD_RELOC_LM32_GOTOFF_HI16: howto manager. (line 2640)
  11267. * BFD_RELOC_LM32_GOTOFF_LO16: howto manager. (line 2641)
  11268. * BFD_RELOC_LM32_JMP_SLOT: howto manager. (line 2644)
  11269. * BFD_RELOC_LM32_RELATIVE: howto manager. (line 2645)
  11270. * BFD_RELOC_LO10: howto manager. (line 109)
  11271. * BFD_RELOC_LO16: howto manager. (line 319)
  11272. * BFD_RELOC_LO16_BASEREL: howto manager. (line 91)
  11273. * BFD_RELOC_LO16_GOTOFF: howto manager. (line 50)
  11274. * BFD_RELOC_LO16_PCREL: howto manager. (line 325)
  11275. * BFD_RELOC_LO16_PLTOFF: howto manager. (line 62)
  11276. * BFD_RELOC_M32C_HI8: howto manager. (line 1193)
  11277. * BFD_RELOC_M32C_RL_1ADDR: howto manager. (line 1195)
  11278. * BFD_RELOC_M32C_RL_2ADDR: howto manager. (line 1196)
  11279. * BFD_RELOC_M32C_RL_JUMP: howto manager. (line 1194)
  11280. * BFD_RELOC_M32R_10_PCREL: howto manager. (line 1201)
  11281. * BFD_RELOC_M32R_18_PCREL: howto manager. (line 1204)
  11282. * BFD_RELOC_M32R_24: howto manager. (line 1198)
  11283. * BFD_RELOC_M32R_26_PCREL: howto manager. (line 1206)
  11284. * BFD_RELOC_M32R_26_PLTREL: howto manager. (line 1220)
  11285. * BFD_RELOC_M32R_COPY: howto manager. (line 1221)
  11286. * BFD_RELOC_M32R_GLOB_DAT: howto manager. (line 1222)
  11287. * BFD_RELOC_M32R_GOT16_HI_SLO: howto manager. (line 1231)
  11288. * BFD_RELOC_M32R_GOT16_HI_ULO: howto manager. (line 1230)
  11289. * BFD_RELOC_M32R_GOT16_LO: howto manager. (line 1232)
  11290. * BFD_RELOC_M32R_GOT24: howto manager. (line 1219)
  11291. * BFD_RELOC_M32R_GOTOFF: howto manager. (line 1225)
  11292. * BFD_RELOC_M32R_GOTOFF_HI_SLO: howto manager. (line 1227)
  11293. * BFD_RELOC_M32R_GOTOFF_HI_ULO: howto manager. (line 1226)
  11294. * BFD_RELOC_M32R_GOTOFF_LO: howto manager. (line 1228)
  11295. * BFD_RELOC_M32R_GOTPC24: howto manager. (line 1229)
  11296. * BFD_RELOC_M32R_GOTPC_HI_SLO: howto manager. (line 1234)
  11297. * BFD_RELOC_M32R_GOTPC_HI_ULO: howto manager. (line 1233)
  11298. * BFD_RELOC_M32R_GOTPC_LO: howto manager. (line 1235)
  11299. * BFD_RELOC_M32R_HI16_SLO: howto manager. (line 1211)
  11300. * BFD_RELOC_M32R_HI16_ULO: howto manager. (line 1208)
  11301. * BFD_RELOC_M32R_JMP_SLOT: howto manager. (line 1223)
  11302. * BFD_RELOC_M32R_LO16: howto manager. (line 1214)
  11303. * BFD_RELOC_M32R_RELATIVE: howto manager. (line 1224)
  11304. * BFD_RELOC_M32R_SDA16: howto manager. (line 1216)
  11305. * BFD_RELOC_M68HC11_24: howto manager. (line 2172)
  11306. * BFD_RELOC_M68HC11_3B: howto manager. (line 2152)
  11307. * BFD_RELOC_M68HC11_HI8: howto manager. (line 2146)
  11308. * BFD_RELOC_M68HC11_LO16: howto manager. (line 2163)
  11309. * BFD_RELOC_M68HC11_LO8: howto manager. (line 2149)
  11310. * BFD_RELOC_M68HC11_PAGE: howto manager. (line 2168)
  11311. * BFD_RELOC_M68HC11_RL_GROUP: howto manager. (line 2159)
  11312. * BFD_RELOC_M68HC11_RL_JUMP: howto manager. (line 2154)
  11313. * BFD_RELOC_M68HC12_10_PCREL: howto manager. (line 2215)
  11314. * BFD_RELOC_M68HC12_16B: howto manager. (line 2211)
  11315. * BFD_RELOC_M68HC12_5B: howto manager. (line 2177)
  11316. * BFD_RELOC_M68HC12_9B: howto manager. (line 2209)
  11317. * BFD_RELOC_M68HC12_9_PCREL: howto manager. (line 2213)
  11318. * BFD_RELOC_M68HC12_HI8XG: howto manager. (line 2220)
  11319. * BFD_RELOC_M68HC12_LO8XG: howto manager. (line 2217)
  11320. * BFD_RELOC_MACH_O_ARM64_ADDEND: howto manager. (line 2675)
  11321. * BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21: howto manager. (line 2677)
  11322. * BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12: howto manager. (line 2679)
  11323. * BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT: howto manager. (line 2681)
  11324. * BFD_RELOC_MACH_O_LOCAL_SECTDIFF: howto manager. (line 2650)
  11325. * BFD_RELOC_MACH_O_PAIR: howto manager. (line 2652)
  11326. * BFD_RELOC_MACH_O_SECTDIFF: howto manager. (line 2647)
  11327. * BFD_RELOC_MACH_O_SUBTRACTOR32: howto manager. (line 2654)
  11328. * BFD_RELOC_MACH_O_SUBTRACTOR64: howto manager. (line 2656)
  11329. * BFD_RELOC_MACH_O_X86_64_BRANCH32: howto manager. (line 2658)
  11330. * BFD_RELOC_MACH_O_X86_64_BRANCH8: howto manager. (line 2659)
  11331. * BFD_RELOC_MACH_O_X86_64_GOT: howto manager. (line 2662)
  11332. * BFD_RELOC_MACH_O_X86_64_GOT_LOAD: howto manager. (line 2664)
  11333. * BFD_RELOC_MACH_O_X86_64_PCREL32_1: howto manager. (line 2667)
  11334. * BFD_RELOC_MACH_O_X86_64_PCREL32_2: howto manager. (line 2669)
  11335. * BFD_RELOC_MACH_O_X86_64_PCREL32_4: howto manager. (line 2671)
  11336. * BFD_RELOC_MACH_O_X86_64_TLV: howto manager. (line 2673)
  11337. * BFD_RELOC_MCORE_PCREL_32: howto manager. (line 1590)
  11338. * BFD_RELOC_MCORE_PCREL_IMM11BY2: howto manager. (line 1588)
  11339. * BFD_RELOC_MCORE_PCREL_IMM4BY2: howto manager. (line 1589)
  11340. * BFD_RELOC_MCORE_PCREL_IMM8BY4: howto manager. (line 1587)
  11341. * BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2: howto manager. (line 1591)
  11342. * BFD_RELOC_MCORE_RVA: howto manager. (line 1592)
  11343. * BFD_RELOC_MEP_16: howto manager. (line 1595)
  11344. * BFD_RELOC_MEP_32: howto manager. (line 1596)
  11345. * BFD_RELOC_MEP_8: howto manager. (line 1594)
  11346. * BFD_RELOC_MEP_ADDR24A4: howto manager. (line 1611)
  11347. * BFD_RELOC_MEP_GNU_VTENTRY: howto manager. (line 1613)
  11348. * BFD_RELOC_MEP_GNU_VTINHERIT: howto manager. (line 1612)
  11349. * BFD_RELOC_MEP_GPREL: howto manager. (line 1605)
  11350. * BFD_RELOC_MEP_HI16S: howto manager. (line 1604)
  11351. * BFD_RELOC_MEP_HI16U: howto manager. (line 1603)
  11352. * BFD_RELOC_MEP_LOW16: howto manager. (line 1602)
  11353. * BFD_RELOC_MEP_PCABS24A2: howto manager. (line 1601)
  11354. * BFD_RELOC_MEP_PCREL12A2: howto manager. (line 1598)
  11355. * BFD_RELOC_MEP_PCREL17A2: howto manager. (line 1599)
  11356. * BFD_RELOC_MEP_PCREL24A2: howto manager. (line 1600)
  11357. * BFD_RELOC_MEP_PCREL8A2: howto manager. (line 1597)
  11358. * BFD_RELOC_MEP_TPREL: howto manager. (line 1606)
  11359. * BFD_RELOC_MEP_TPREL7: howto manager. (line 1607)
  11360. * BFD_RELOC_MEP_TPREL7A2: howto manager. (line 1608)
  11361. * BFD_RELOC_MEP_TPREL7A4: howto manager. (line 1609)
  11362. * BFD_RELOC_MEP_UIMM24: howto manager. (line 1610)
  11363. * BFD_RELOC_METAG_COPY: howto manager. (line 1634)
  11364. * BFD_RELOC_METAG_GETSETOFF: howto manager. (line 1618)
  11365. * BFD_RELOC_METAG_GETSET_GOT: howto manager. (line 1626)
  11366. * BFD_RELOC_METAG_GETSET_GOTOFF: howto manager. (line 1625)
  11367. * BFD_RELOC_METAG_GLOB_DAT: howto manager. (line 1637)
  11368. * BFD_RELOC_METAG_GOTOFF: howto manager. (line 1632)
  11369. * BFD_RELOC_METAG_HI16_GOTOFF: howto manager. (line 1623)
  11370. * BFD_RELOC_METAG_HI16_GOTPC: howto manager. (line 1627)
  11371. * BFD_RELOC_METAG_HI16_PLT: howto manager. (line 1629)
  11372. * BFD_RELOC_METAG_HIADDR16: howto manager. (line 1615)
  11373. * BFD_RELOC_METAG_HIOG: howto manager. (line 1619)
  11374. * BFD_RELOC_METAG_JMP_SLOT: howto manager. (line 1635)
  11375. * BFD_RELOC_METAG_LO16_GOTOFF: howto manager. (line 1624)
  11376. * BFD_RELOC_METAG_LO16_GOTPC: howto manager. (line 1628)
  11377. * BFD_RELOC_METAG_LO16_PLT: howto manager. (line 1630)
  11378. * BFD_RELOC_METAG_LOADDR16: howto manager. (line 1616)
  11379. * BFD_RELOC_METAG_LOOG: howto manager. (line 1620)
  11380. * BFD_RELOC_METAG_PLT: howto manager. (line 1633)
  11381. * BFD_RELOC_METAG_REL16: howto manager. (line 1622)
  11382. * BFD_RELOC_METAG_REL8: howto manager. (line 1621)
  11383. * BFD_RELOC_METAG_RELATIVE: howto manager. (line 1636)
  11384. * BFD_RELOC_METAG_RELBRANCH: howto manager. (line 1617)
  11385. * BFD_RELOC_METAG_RELBRANCH_PLT: howto manager. (line 1631)
  11386. * BFD_RELOC_METAG_TLS_DTPMOD: howto manager. (line 1648)
  11387. * BFD_RELOC_METAG_TLS_DTPOFF: howto manager. (line 1649)
  11388. * BFD_RELOC_METAG_TLS_GD: howto manager. (line 1638)
  11389. * BFD_RELOC_METAG_TLS_IE: howto manager. (line 1643)
  11390. * BFD_RELOC_METAG_TLS_IENONPIC: howto manager. (line 1644)
  11391. * BFD_RELOC_METAG_TLS_IENONPIC_HI16: howto manager. (line 1645)
  11392. * BFD_RELOC_METAG_TLS_IENONPIC_LO16: howto manager. (line 1646)
  11393. * BFD_RELOC_METAG_TLS_LDM: howto manager. (line 1639)
  11394. * BFD_RELOC_METAG_TLS_LDO: howto manager. (line 1642)
  11395. * BFD_RELOC_METAG_TLS_LDO_HI16: howto manager. (line 1640)
  11396. * BFD_RELOC_METAG_TLS_LDO_LO16: howto manager. (line 1641)
  11397. * BFD_RELOC_METAG_TLS_LE: howto manager. (line 1650)
  11398. * BFD_RELOC_METAG_TLS_LE_HI16: howto manager. (line 1651)
  11399. * BFD_RELOC_METAG_TLS_LE_LO16: howto manager. (line 1652)
  11400. * BFD_RELOC_METAG_TLS_TPOFF: howto manager. (line 1647)
  11401. * BFD_RELOC_MICROBLAZE_32_GOTOFF: howto manager. (line 2717)
  11402. * BFD_RELOC_MICROBLAZE_32_LO: howto manager. (line 2683)
  11403. * BFD_RELOC_MICROBLAZE_32_LO_PCREL: howto manager. (line 2686)
  11404. * BFD_RELOC_MICROBLAZE_32_ROSDA: howto manager. (line 2689)
  11405. * BFD_RELOC_MICROBLAZE_32_RWSDA: howto manager. (line 2692)
  11406. * BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM: howto manager. (line 2695)
  11407. * BFD_RELOC_MICROBLAZE_32_TLSDTPMOD: howto manager. (line 2733)
  11408. * BFD_RELOC_MICROBLAZE_32_TLSDTPREL: howto manager. (line 2735)
  11409. * BFD_RELOC_MICROBLAZE_64_GOT: howto manager. (line 2706)
  11410. * BFD_RELOC_MICROBLAZE_64_GOTOFF: howto manager. (line 2713)
  11411. * BFD_RELOC_MICROBLAZE_64_GOTPC: howto manager. (line 2702)
  11412. * BFD_RELOC_MICROBLAZE_64_NONE: howto manager. (line 2698)
  11413. * BFD_RELOC_MICROBLAZE_64_PLT: howto manager. (line 2709)
  11414. * BFD_RELOC_MICROBLAZE_64_TEXTPCREL: howto manager. (line 2746)
  11415. * BFD_RELOC_MICROBLAZE_64_TEXTREL: howto manager. (line 2750)
  11416. * BFD_RELOC_MICROBLAZE_64_TLS: howto manager. (line 2723)
  11417. * BFD_RELOC_MICROBLAZE_64_TLSDTPREL: howto manager. (line 2737)
  11418. * BFD_RELOC_MICROBLAZE_64_TLSGD: howto manager. (line 2725)
  11419. * BFD_RELOC_MICROBLAZE_64_TLSGOTTPREL: howto manager. (line 2740)
  11420. * BFD_RELOC_MICROBLAZE_64_TLSLD: howto manager. (line 2729)
  11421. * BFD_RELOC_MICROBLAZE_64_TLSTPREL: howto manager. (line 2743)
  11422. * BFD_RELOC_MICROBLAZE_COPY: howto manager. (line 2720)
  11423. * BFD_RELOC_MICROMIPS_10_PCREL_S1: howto manager. (line 352)
  11424. * BFD_RELOC_MICROMIPS_16_PCREL_S1: howto manager. (line 353)
  11425. * BFD_RELOC_MICROMIPS_7_PCREL_S1: howto manager. (line 351)
  11426. * BFD_RELOC_MICROMIPS_CALL16: howto manager. (line 370)
  11427. * BFD_RELOC_MICROMIPS_CALL_HI16: howto manager. (line 376)
  11428. * BFD_RELOC_MICROMIPS_CALL_LO16: howto manager. (line 378)
  11429. * BFD_RELOC_MICROMIPS_GOT16: howto manager. (line 368)
  11430. * BFD_RELOC_MICROMIPS_GOT_DISP: howto manager. (line 386)
  11431. * BFD_RELOC_MICROMIPS_GOT_HI16: howto manager. (line 372)
  11432. * BFD_RELOC_MICROMIPS_GOT_LO16: howto manager. (line 374)
  11433. * BFD_RELOC_MICROMIPS_GOT_OFST: howto manager. (line 384)
  11434. * BFD_RELOC_MICROMIPS_GOT_PAGE: howto manager. (line 382)
  11435. * BFD_RELOC_MICROMIPS_GPREL16: howto manager. (line 362)
  11436. * BFD_RELOC_MICROMIPS_HI16: howto manager. (line 363)
  11437. * BFD_RELOC_MICROMIPS_HI16_S: howto manager. (line 364)
  11438. * BFD_RELOC_MICROMIPS_HIGHER: howto manager. (line 395)
  11439. * BFD_RELOC_MICROMIPS_HIGHEST: howto manager. (line 393)
  11440. * BFD_RELOC_MICROMIPS_JALR: howto manager. (line 401)
  11441. * BFD_RELOC_MICROMIPS_JMP: howto manager. (line 306)
  11442. * BFD_RELOC_MICROMIPS_LITERAL: howto manager. (line 349)
  11443. * BFD_RELOC_MICROMIPS_LO16: howto manager. (line 365)
  11444. * BFD_RELOC_MICROMIPS_SCN_DISP: howto manager. (line 397)
  11445. * BFD_RELOC_MICROMIPS_SUB: howto manager. (line 380)
  11446. * BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16: howto manager. (line 411)
  11447. * BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16: howto manager. (line 413)
  11448. * BFD_RELOC_MICROMIPS_TLS_GD: howto manager. (line 407)
  11449. * BFD_RELOC_MICROMIPS_TLS_GOTTPREL: howto manager. (line 415)
  11450. * BFD_RELOC_MICROMIPS_TLS_LDM: howto manager. (line 409)
  11451. * BFD_RELOC_MICROMIPS_TLS_TPREL_HI16: howto manager. (line 419)
  11452. * BFD_RELOC_MICROMIPS_TLS_TPREL_LO16: howto manager. (line 421)
  11453. * BFD_RELOC_MIPS16_16_PCREL_S1: howto manager. (line 355)
  11454. * BFD_RELOC_MIPS16_CALL16: howto manager. (line 328)
  11455. * BFD_RELOC_MIPS16_GOT16: howto manager. (line 327)
  11456. * BFD_RELOC_MIPS16_GPREL: howto manager. (line 310)
  11457. * BFD_RELOC_MIPS16_HI16: howto manager. (line 331)
  11458. * BFD_RELOC_MIPS16_HI16_S: howto manager. (line 333)
  11459. * BFD_RELOC_MIPS16_JMP: howto manager. (line 308)
  11460. * BFD_RELOC_MIPS16_LO16: howto manager. (line 338)
  11461. * BFD_RELOC_MIPS16_TLS_DTPREL_HI16: howto manager. (line 342)
  11462. * BFD_RELOC_MIPS16_TLS_DTPREL_LO16: howto manager. (line 343)
  11463. * BFD_RELOC_MIPS16_TLS_GD: howto manager. (line 340)
  11464. * BFD_RELOC_MIPS16_TLS_GOTTPREL: howto manager. (line 344)
  11465. * BFD_RELOC_MIPS16_TLS_LDM: howto manager. (line 341)
  11466. * BFD_RELOC_MIPS16_TLS_TPREL_HI16: howto manager. (line 345)
  11467. * BFD_RELOC_MIPS16_TLS_TPREL_LO16: howto manager. (line 346)
  11468. * BFD_RELOC_MIPS_18_PCREL_S3: howto manager. (line 359)
  11469. * BFD_RELOC_MIPS_19_PCREL_S2: howto manager. (line 360)
  11470. * BFD_RELOC_MIPS_21_PCREL_S2: howto manager. (line 357)
  11471. * BFD_RELOC_MIPS_26_PCREL_S2: howto manager. (line 358)
  11472. * BFD_RELOC_MIPS_CALL16: howto manager. (line 369)
  11473. * BFD_RELOC_MIPS_CALL_HI16: howto manager. (line 375)
  11474. * BFD_RELOC_MIPS_CALL_LO16: howto manager. (line 377)
  11475. * BFD_RELOC_MIPS_COPY: howto manager. (line 424)
  11476. * BFD_RELOC_MIPS_DELETE: howto manager. (line 391)
  11477. * BFD_RELOC_MIPS_EH: howto manager. (line 422)
  11478. * BFD_RELOC_MIPS_GOT16: howto manager. (line 367)
  11479. * BFD_RELOC_MIPS_GOT_DISP: howto manager. (line 385)
  11480. * BFD_RELOC_MIPS_GOT_HI16: howto manager. (line 371)
  11481. * BFD_RELOC_MIPS_GOT_LO16: howto manager. (line 373)
  11482. * BFD_RELOC_MIPS_GOT_OFST: howto manager. (line 383)
  11483. * BFD_RELOC_MIPS_GOT_PAGE: howto manager. (line 381)
  11484. * BFD_RELOC_MIPS_HIGHER: howto manager. (line 394)
  11485. * BFD_RELOC_MIPS_HIGHEST: howto manager. (line 392)
  11486. * BFD_RELOC_MIPS_INSERT_A: howto manager. (line 389)
  11487. * BFD_RELOC_MIPS_INSERT_B: howto manager. (line 390)
  11488. * BFD_RELOC_MIPS_JALR: howto manager. (line 400)
  11489. * BFD_RELOC_MIPS_JMP: howto manager. (line 305)
  11490. * BFD_RELOC_MIPS_JUMP_SLOT: howto manager. (line 425)
  11491. * BFD_RELOC_MIPS_LITERAL: howto manager. (line 348)
  11492. * BFD_RELOC_MIPS_REL16: howto manager. (line 398)
  11493. * BFD_RELOC_MIPS_RELGOT: howto manager. (line 399)
  11494. * BFD_RELOC_MIPS_SCN_DISP: howto manager. (line 396)
  11495. * BFD_RELOC_MIPS_SHIFT5: howto manager. (line 387)
  11496. * BFD_RELOC_MIPS_SHIFT6: howto manager. (line 388)
  11497. * BFD_RELOC_MIPS_SUB: howto manager. (line 379)
  11498. * BFD_RELOC_MIPS_TLS_DTPMOD32: howto manager. (line 402)
  11499. * BFD_RELOC_MIPS_TLS_DTPMOD64: howto manager. (line 404)
  11500. * BFD_RELOC_MIPS_TLS_DTPREL32: howto manager. (line 403)
  11501. * BFD_RELOC_MIPS_TLS_DTPREL64: howto manager. (line 405)
  11502. * BFD_RELOC_MIPS_TLS_DTPREL_HI16: howto manager. (line 410)
  11503. * BFD_RELOC_MIPS_TLS_DTPREL_LO16: howto manager. (line 412)
  11504. * BFD_RELOC_MIPS_TLS_GD: howto manager. (line 406)
  11505. * BFD_RELOC_MIPS_TLS_GOTTPREL: howto manager. (line 414)
  11506. * BFD_RELOC_MIPS_TLS_LDM: howto manager. (line 408)
  11507. * BFD_RELOC_MIPS_TLS_TPREL32: howto manager. (line 416)
  11508. * BFD_RELOC_MIPS_TLS_TPREL64: howto manager. (line 417)
  11509. * BFD_RELOC_MIPS_TLS_TPREL_HI16: howto manager. (line 418)
  11510. * BFD_RELOC_MIPS_TLS_TPREL_LO16: howto manager. (line 420)
  11511. * BFD_RELOC_MMIX_ADDR19: howto manager. (line 1676)
  11512. * BFD_RELOC_MMIX_ADDR27: howto manager. (line 1679)
  11513. * BFD_RELOC_MMIX_BASE_PLUS_OFFSET: howto manager. (line 1688)
  11514. * BFD_RELOC_MMIX_CBRANCH: howto manager. (line 1659)
  11515. * BFD_RELOC_MMIX_CBRANCH_1: howto manager. (line 1661)
  11516. * BFD_RELOC_MMIX_CBRANCH_2: howto manager. (line 1662)
  11517. * BFD_RELOC_MMIX_CBRANCH_3: howto manager. (line 1663)
  11518. * BFD_RELOC_MMIX_CBRANCH_J: howto manager. (line 1660)
  11519. * BFD_RELOC_MMIX_GETA: howto manager. (line 1654)
  11520. * BFD_RELOC_MMIX_GETA_1: howto manager. (line 1655)
  11521. * BFD_RELOC_MMIX_GETA_2: howto manager. (line 1656)
  11522. * BFD_RELOC_MMIX_GETA_3: howto manager. (line 1657)
  11523. * BFD_RELOC_MMIX_JMP: howto manager. (line 1671)
  11524. * BFD_RELOC_MMIX_JMP_1: howto manager. (line 1672)
  11525. * BFD_RELOC_MMIX_JMP_2: howto manager. (line 1673)
  11526. * BFD_RELOC_MMIX_JMP_3: howto manager. (line 1674)
  11527. * BFD_RELOC_MMIX_LOCAL: howto manager. (line 1691)
  11528. * BFD_RELOC_MMIX_PUSHJ: howto manager. (line 1665)
  11529. * BFD_RELOC_MMIX_PUSHJ_1: howto manager. (line 1666)
  11530. * BFD_RELOC_MMIX_PUSHJ_2: howto manager. (line 1667)
  11531. * BFD_RELOC_MMIX_PUSHJ_3: howto manager. (line 1668)
  11532. * BFD_RELOC_MMIX_PUSHJ_STUBBABLE: howto manager. (line 1669)
  11533. * BFD_RELOC_MMIX_REG: howto manager. (line 1685)
  11534. * BFD_RELOC_MMIX_REG_OR_BYTE: howto manager. (line 1682)
  11535. * BFD_RELOC_MN10300_16_PCREL: howto manager. (line 518)
  11536. * BFD_RELOC_MN10300_32_PCREL: howto manager. (line 515)
  11537. * BFD_RELOC_MN10300_ALIGN: howto manager. (line 502)
  11538. * BFD_RELOC_MN10300_COPY: howto manager. (line 490)
  11539. * BFD_RELOC_MN10300_GLOB_DAT: howto manager. (line 492)
  11540. * BFD_RELOC_MN10300_GOT16: howto manager. (line 487)
  11541. * BFD_RELOC_MN10300_GOT24: howto manager. (line 484)
  11542. * BFD_RELOC_MN10300_GOT32: howto manager. (line 481)
  11543. * BFD_RELOC_MN10300_GOTOFF24: howto manager. (line 479)
  11544. * BFD_RELOC_MN10300_JMP_SLOT: howto manager. (line 494)
  11545. * BFD_RELOC_MN10300_RELATIVE: howto manager. (line 496)
  11546. * BFD_RELOC_MN10300_SYM_DIFF: howto manager. (line 498)
  11547. * BFD_RELOC_MN10300_TLS_DTPMOD: howto manager. (line 511)
  11548. * BFD_RELOC_MN10300_TLS_DTPOFF: howto manager. (line 512)
  11549. * BFD_RELOC_MN10300_TLS_GD: howto manager. (line 505)
  11550. * BFD_RELOC_MN10300_TLS_GOTIE: howto manager. (line 508)
  11551. * BFD_RELOC_MN10300_TLS_IE: howto manager. (line 509)
  11552. * BFD_RELOC_MN10300_TLS_LD: howto manager. (line 506)
  11553. * BFD_RELOC_MN10300_TLS_LDO: howto manager. (line 507)
  11554. * BFD_RELOC_MN10300_TLS_LE: howto manager. (line 510)
  11555. * BFD_RELOC_MN10300_TLS_TPOFF: howto manager. (line 513)
  11556. * BFD_RELOC_MOXIE_10_PCREL: howto manager. (line 427)
  11557. * BFD_RELOC_MSP430X_ABS16: howto manager. (line 2461)
  11558. * BFD_RELOC_MSP430X_ABS20_ADR_DST: howto manager. (line 2458)
  11559. * BFD_RELOC_MSP430X_ABS20_ADR_SRC: howto manager. (line 2457)
  11560. * BFD_RELOC_MSP430X_ABS20_EXT_DST: howto manager. (line 2455)
  11561. * BFD_RELOC_MSP430X_ABS20_EXT_ODST: howto manager. (line 2456)
  11562. * BFD_RELOC_MSP430X_ABS20_EXT_SRC: howto manager. (line 2454)
  11563. * BFD_RELOC_MSP430X_PCR16: howto manager. (line 2459)
  11564. * BFD_RELOC_MSP430X_PCR20_CALL: howto manager. (line 2460)
  11565. * BFD_RELOC_MSP430X_PCR20_EXT_DST: howto manager. (line 2452)
  11566. * BFD_RELOC_MSP430X_PCR20_EXT_ODST: howto manager. (line 2453)
  11567. * BFD_RELOC_MSP430X_PCR20_EXT_SRC: howto manager. (line 2451)
  11568. * BFD_RELOC_MSP430_10_PCREL: howto manager. (line 2443)
  11569. * BFD_RELOC_MSP430_16: howto manager. (line 2445)
  11570. * BFD_RELOC_MSP430_16_BYTE: howto manager. (line 2447)
  11571. * BFD_RELOC_MSP430_16_PCREL: howto manager. (line 2444)
  11572. * BFD_RELOC_MSP430_16_PCREL_BYTE: howto manager. (line 2446)
  11573. * BFD_RELOC_MSP430_2X_PCREL: howto manager. (line 2448)
  11574. * BFD_RELOC_MSP430_ABS8: howto manager. (line 2450)
  11575. * BFD_RELOC_MSP430_ABS_HI16: howto manager. (line 2462)
  11576. * BFD_RELOC_MSP430_PREL31: howto manager. (line 2463)
  11577. * BFD_RELOC_MSP430_RL_PCREL: howto manager. (line 2449)
  11578. * BFD_RELOC_MSP430_SYM_DIFF: howto manager. (line 2464)
  11579. * BFD_RELOC_MT_GNU_VTENTRY: howto manager. (line 2439)
  11580. * BFD_RELOC_MT_GNU_VTINHERIT: howto manager. (line 2437)
  11581. * BFD_RELOC_MT_HI16: howto manager. (line 2433)
  11582. * BFD_RELOC_MT_LO16: howto manager. (line 2435)
  11583. * BFD_RELOC_MT_PC16: howto manager. (line 2431)
  11584. * BFD_RELOC_MT_PCINSN8: howto manager. (line 2441)
  11585. * BFD_RELOC_NDS32_10IFCU_PCREL: howto manager. (line 1387)
  11586. * BFD_RELOC_NDS32_10_UPCREL: howto manager. (line 1358)
  11587. * BFD_RELOC_NDS32_15_FIXED: howto manager. (line 1319)
  11588. * BFD_RELOC_NDS32_15_PCREL: howto manager. (line 1245)
  11589. * BFD_RELOC_NDS32_17IFC_PCREL: howto manager. (line 1386)
  11590. * BFD_RELOC_NDS32_17_FIXED: howto manager. (line 1320)
  11591. * BFD_RELOC_NDS32_17_PCREL: howto manager. (line 1247)
  11592. * BFD_RELOC_NDS32_20: howto manager. (line 1237)
  11593. * BFD_RELOC_NDS32_25_ABS: howto manager. (line 1382)
  11594. * BFD_RELOC_NDS32_25_FIXED: howto manager. (line 1321)
  11595. * BFD_RELOC_NDS32_25_PCREL: howto manager. (line 1249)
  11596. * BFD_RELOC_NDS32_25_PLTREL: howto manager. (line 1295)
  11597. * BFD_RELOC_NDS32_5: howto manager. (line 1356)
  11598. * BFD_RELOC_NDS32_9_FIXED: howto manager. (line 1318)
  11599. * BFD_RELOC_NDS32_9_PCREL: howto manager. (line 1239)
  11600. * BFD_RELOC_NDS32_9_PLTREL: howto manager. (line 1294)
  11601. * BFD_RELOC_NDS32_COPY: howto manager. (line 1296)
  11602. * BFD_RELOC_NDS32_DATA: howto manager. (line 1384)
  11603. * BFD_RELOC_NDS32_DIFF16: howto manager. (line 1377)
  11604. * BFD_RELOC_NDS32_DIFF32: howto manager. (line 1378)
  11605. * BFD_RELOC_NDS32_DIFF8: howto manager. (line 1376)
  11606. * BFD_RELOC_NDS32_DIFF_ULEB128: howto manager. (line 1379)
  11607. * BFD_RELOC_NDS32_DWARF2_LEB: howto manager. (line 1342)
  11608. * BFD_RELOC_NDS32_DWARF2_OP1: howto manager. (line 1340)
  11609. * BFD_RELOC_NDS32_DWARF2_OP2: howto manager. (line 1341)
  11610. * BFD_RELOC_NDS32_EMPTY: howto manager. (line 1380)
  11611. * BFD_RELOC_NDS32_GLOB_DAT: howto manager. (line 1297)
  11612. * BFD_RELOC_NDS32_GOT15S2: howto manager. (line 1353)
  11613. * BFD_RELOC_NDS32_GOT17S2: howto manager. (line 1354)
  11614. * BFD_RELOC_NDS32_GOT20: howto manager. (line 1293)
  11615. * BFD_RELOC_NDS32_GOTOFF: howto manager. (line 1300)
  11616. * BFD_RELOC_NDS32_GOTOFF_HI20: howto manager. (line 1301)
  11617. * BFD_RELOC_NDS32_GOTOFF_LO12: howto manager. (line 1302)
  11618. * BFD_RELOC_NDS32_GOTOFF_LO15: howto manager. (line 1351)
  11619. * BFD_RELOC_NDS32_GOTOFF_LO19: howto manager. (line 1352)
  11620. * BFD_RELOC_NDS32_GOTOFF_SUFF: howto manager. (line 1365)
  11621. * BFD_RELOC_NDS32_GOTPC20: howto manager. (line 1303)
  11622. * BFD_RELOC_NDS32_GOTPC_HI20: howto manager. (line 1306)
  11623. * BFD_RELOC_NDS32_GOTPC_LO12: howto manager. (line 1307)
  11624. * BFD_RELOC_NDS32_GOTTPOFF: howto manager. (line 1390)
  11625. * BFD_RELOC_NDS32_GOT_HI20: howto manager. (line 1304)
  11626. * BFD_RELOC_NDS32_GOT_LO12: howto manager. (line 1305)
  11627. * BFD_RELOC_NDS32_GOT_LO15: howto manager. (line 1349)
  11628. * BFD_RELOC_NDS32_GOT_LO19: howto manager. (line 1350)
  11629. * BFD_RELOC_NDS32_GOT_SUFF: howto manager. (line 1364)
  11630. * BFD_RELOC_NDS32_GROUP: howto manager. (line 1416)
  11631. * BFD_RELOC_NDS32_HI20: howto manager. (line 1251)
  11632. * BFD_RELOC_NDS32_INSN16: howto manager. (line 1309)
  11633. * BFD_RELOC_NDS32_JMP_SLOT: howto manager. (line 1298)
  11634. * BFD_RELOC_NDS32_LABEL: howto manager. (line 1310)
  11635. * BFD_RELOC_NDS32_LO12S0: howto manager. (line 1263)
  11636. * BFD_RELOC_NDS32_LO12S0_ORI: howto manager. (line 1266)
  11637. * BFD_RELOC_NDS32_LO12S1: howto manager. (line 1260)
  11638. * BFD_RELOC_NDS32_LO12S2: howto manager. (line 1257)
  11639. * BFD_RELOC_NDS32_LO12S2_DP: howto manager. (line 1337)
  11640. * BFD_RELOC_NDS32_LO12S2_SP: howto manager. (line 1338)
  11641. * BFD_RELOC_NDS32_LO12S3: howto manager. (line 1254)
  11642. * BFD_RELOC_NDS32_LOADSTORE: howto manager. (line 1317)
  11643. * BFD_RELOC_NDS32_LONGCALL1: howto manager. (line 1311)
  11644. * BFD_RELOC_NDS32_LONGCALL2: howto manager. (line 1312)
  11645. * BFD_RELOC_NDS32_LONGCALL3: howto manager. (line 1313)
  11646. * BFD_RELOC_NDS32_LONGCALL4: howto manager. (line 1322)
  11647. * BFD_RELOC_NDS32_LONGCALL5: howto manager. (line 1323)
  11648. * BFD_RELOC_NDS32_LONGCALL6: howto manager. (line 1324)
  11649. * BFD_RELOC_NDS32_LONGJUMP1: howto manager. (line 1314)
  11650. * BFD_RELOC_NDS32_LONGJUMP2: howto manager. (line 1315)
  11651. * BFD_RELOC_NDS32_LONGJUMP3: howto manager. (line 1316)
  11652. * BFD_RELOC_NDS32_LONGJUMP4: howto manager. (line 1325)
  11653. * BFD_RELOC_NDS32_LONGJUMP5: howto manager. (line 1326)
  11654. * BFD_RELOC_NDS32_LONGJUMP6: howto manager. (line 1327)
  11655. * BFD_RELOC_NDS32_LONGJUMP7: howto manager. (line 1328)
  11656. * BFD_RELOC_NDS32_LSI: howto manager. (line 1418)
  11657. * BFD_RELOC_NDS32_MINUEND: howto manager. (line 1374)
  11658. * BFD_RELOC_NDS32_MULCALL_SUFF: howto manager. (line 1367)
  11659. * BFD_RELOC_NDS32_PLTBLOCK: howto manager. (line 1371)
  11660. * BFD_RELOC_NDS32_PLTREL_HI20: howto manager. (line 1330)
  11661. * BFD_RELOC_NDS32_PLTREL_LO12: howto manager. (line 1331)
  11662. * BFD_RELOC_NDS32_PLT_GOTREL_HI20: howto manager. (line 1332)
  11663. * BFD_RELOC_NDS32_PLT_GOTREL_LO12: howto manager. (line 1333)
  11664. * BFD_RELOC_NDS32_PLT_GOTREL_LO15: howto manager. (line 1347)
  11665. * BFD_RELOC_NDS32_PLT_GOTREL_LO19: howto manager. (line 1348)
  11666. * BFD_RELOC_NDS32_PLT_GOTREL_LO20: howto manager. (line 1346)
  11667. * BFD_RELOC_NDS32_PLT_GOT_SUFF: howto manager. (line 1366)
  11668. * BFD_RELOC_NDS32_PTR: howto manager. (line 1368)
  11669. * BFD_RELOC_NDS32_PTR_COUNT: howto manager. (line 1369)
  11670. * BFD_RELOC_NDS32_PTR_RESOLVED: howto manager. (line 1370)
  11671. * BFD_RELOC_NDS32_RELATIVE: howto manager. (line 1299)
  11672. * BFD_RELOC_NDS32_RELAX_ENTRY: howto manager. (line 1363)
  11673. * BFD_RELOC_NDS32_RELAX_REGION_BEGIN: howto manager. (line 1372)
  11674. * BFD_RELOC_NDS32_RELAX_REGION_END: howto manager. (line 1373)
  11675. * BFD_RELOC_NDS32_REMOVE: howto manager. (line 1415)
  11676. * BFD_RELOC_NDS32_SDA12S2_DP: howto manager. (line 1335)
  11677. * BFD_RELOC_NDS32_SDA12S2_SP: howto manager. (line 1336)
  11678. * BFD_RELOC_NDS32_SDA15S0: howto manager. (line 1278)
  11679. * BFD_RELOC_NDS32_SDA15S1: howto manager. (line 1275)
  11680. * BFD_RELOC_NDS32_SDA15S2: howto manager. (line 1272)
  11681. * BFD_RELOC_NDS32_SDA15S3: howto manager. (line 1269)
  11682. * BFD_RELOC_NDS32_SDA16S3: howto manager. (line 1281)
  11683. * BFD_RELOC_NDS32_SDA17S2: howto manager. (line 1284)
  11684. * BFD_RELOC_NDS32_SDA18S1: howto manager. (line 1287)
  11685. * BFD_RELOC_NDS32_SDA19S0: howto manager. (line 1290)
  11686. * BFD_RELOC_NDS32_SDA_FP7U2_RELA: howto manager. (line 1361)
  11687. * BFD_RELOC_NDS32_SUBTRAHEND: howto manager. (line 1375)
  11688. * BFD_RELOC_NDS32_TLS_DESC: howto manager. (line 1406)
  11689. * BFD_RELOC_NDS32_TLS_DESC_20: howto manager. (line 1409)
  11690. * BFD_RELOC_NDS32_TLS_DESC_ADD: howto manager. (line 1411)
  11691. * BFD_RELOC_NDS32_TLS_DESC_CALL: howto manager. (line 1413)
  11692. * BFD_RELOC_NDS32_TLS_DESC_FUNC: howto manager. (line 1412)
  11693. * BFD_RELOC_NDS32_TLS_DESC_HI20: howto manager. (line 1407)
  11694. * BFD_RELOC_NDS32_TLS_DESC_LO12: howto manager. (line 1408)
  11695. * BFD_RELOC_NDS32_TLS_DESC_MEM: howto manager. (line 1414)
  11696. * BFD_RELOC_NDS32_TLS_DESC_SDA17S2: howto manager. (line 1410)
  11697. * BFD_RELOC_NDS32_TLS_IEGP_HI20: howto manager. (line 1402)
  11698. * BFD_RELOC_NDS32_TLS_IEGP_LO12: howto manager. (line 1403)
  11699. * BFD_RELOC_NDS32_TLS_IEGP_LO12S2: howto manager. (line 1404)
  11700. * BFD_RELOC_NDS32_TLS_IEGP_LW: howto manager. (line 1405)
  11701. * BFD_RELOC_NDS32_TLS_IE_HI20: howto manager. (line 1399)
  11702. * BFD_RELOC_NDS32_TLS_IE_LO12: howto manager. (line 1400)
  11703. * BFD_RELOC_NDS32_TLS_IE_LO12S2: howto manager. (line 1401)
  11704. * BFD_RELOC_NDS32_TLS_LE_15S0: howto manager. (line 1394)
  11705. * BFD_RELOC_NDS32_TLS_LE_15S1: howto manager. (line 1395)
  11706. * BFD_RELOC_NDS32_TLS_LE_15S2: howto manager. (line 1396)
  11707. * BFD_RELOC_NDS32_TLS_LE_20: howto manager. (line 1393)
  11708. * BFD_RELOC_NDS32_TLS_LE_ADD: howto manager. (line 1397)
  11709. * BFD_RELOC_NDS32_TLS_LE_HI20: howto manager. (line 1391)
  11710. * BFD_RELOC_NDS32_TLS_LE_LO12: howto manager. (line 1392)
  11711. * BFD_RELOC_NDS32_TLS_LE_LS: howto manager. (line 1398)
  11712. * BFD_RELOC_NDS32_TPOFF: howto manager. (line 1389)
  11713. * BFD_RELOC_NDS32_TRAN: howto manager. (line 1385)
  11714. * BFD_RELOC_NDS32_UPDATE_TA: howto manager. (line 1344)
  11715. * BFD_RELOC_NDS32_WORD_9_PCREL: howto manager. (line 1242)
  11716. * BFD_RELOC_NIOS2_ALIGN: howto manager. (line 2480)
  11717. * BFD_RELOC_NIOS2_CACHE_OPX: howto manager. (line 2470)
  11718. * BFD_RELOC_NIOS2_CALL16: howto manager. (line 2482)
  11719. * BFD_RELOC_NIOS2_CALL26: howto manager. (line 2468)
  11720. * BFD_RELOC_NIOS2_CALL26_NOAT: howto manager. (line 2500)
  11721. * BFD_RELOC_NIOS2_CALLR: howto manager. (line 2479)
  11722. * BFD_RELOC_NIOS2_CALL_HA: howto manager. (line 2504)
  11723. * BFD_RELOC_NIOS2_CALL_LO: howto manager. (line 2503)
  11724. * BFD_RELOC_NIOS2_CJMP: howto manager. (line 2478)
  11725. * BFD_RELOC_NIOS2_COPY: howto manager. (line 2495)
  11726. * BFD_RELOC_NIOS2_GLOB_DAT: howto manager. (line 2496)
  11727. * BFD_RELOC_NIOS2_GOT16: howto manager. (line 2481)
  11728. * BFD_RELOC_NIOS2_GOTOFF: howto manager. (line 2499)
  11729. * BFD_RELOC_NIOS2_GOTOFF_HA: howto manager. (line 2484)
  11730. * BFD_RELOC_NIOS2_GOTOFF_LO: howto manager. (line 2483)
  11731. * BFD_RELOC_NIOS2_GOT_HA: howto manager. (line 2502)
  11732. * BFD_RELOC_NIOS2_GOT_LO: howto manager. (line 2501)
  11733. * BFD_RELOC_NIOS2_GPREL: howto manager. (line 2476)
  11734. * BFD_RELOC_NIOS2_HI16: howto manager. (line 2473)
  11735. * BFD_RELOC_NIOS2_HIADJ16: howto manager. (line 2475)
  11736. * BFD_RELOC_NIOS2_IMM5: howto manager. (line 2469)
  11737. * BFD_RELOC_NIOS2_IMM6: howto manager. (line 2471)
  11738. * BFD_RELOC_NIOS2_IMM8: howto manager. (line 2472)
  11739. * BFD_RELOC_NIOS2_JUMP_SLOT: howto manager. (line 2497)
  11740. * BFD_RELOC_NIOS2_LO16: howto manager. (line 2474)
  11741. * BFD_RELOC_NIOS2_PCREL_HA: howto manager. (line 2486)
  11742. * BFD_RELOC_NIOS2_PCREL_LO: howto manager. (line 2485)
  11743. * BFD_RELOC_NIOS2_R2_F1I5_2: howto manager. (line 2514)
  11744. * BFD_RELOC_NIOS2_R2_I10_1_PCREL: howto manager. (line 2506)
  11745. * BFD_RELOC_NIOS2_R2_L5I4X1: howto manager. (line 2515)
  11746. * BFD_RELOC_NIOS2_R2_S12: howto manager. (line 2505)
  11747. * BFD_RELOC_NIOS2_R2_T1I7_1_PCREL: howto manager. (line 2507)
  11748. * BFD_RELOC_NIOS2_R2_T1I7_2: howto manager. (line 2508)
  11749. * BFD_RELOC_NIOS2_R2_T1X1I6: howto manager. (line 2516)
  11750. * BFD_RELOC_NIOS2_R2_T1X1I6_2: howto manager. (line 2517)
  11751. * BFD_RELOC_NIOS2_R2_T2I4: howto manager. (line 2509)
  11752. * BFD_RELOC_NIOS2_R2_T2I4_1: howto manager. (line 2510)
  11753. * BFD_RELOC_NIOS2_R2_T2I4_2: howto manager. (line 2511)
  11754. * BFD_RELOC_NIOS2_R2_X1I7_2: howto manager. (line 2512)
  11755. * BFD_RELOC_NIOS2_R2_X2L5: howto manager. (line 2513)
  11756. * BFD_RELOC_NIOS2_RELATIVE: howto manager. (line 2498)
  11757. * BFD_RELOC_NIOS2_S16: howto manager. (line 2466)
  11758. * BFD_RELOC_NIOS2_TLS_DTPMOD: howto manager. (line 2492)
  11759. * BFD_RELOC_NIOS2_TLS_DTPREL: howto manager. (line 2493)
  11760. * BFD_RELOC_NIOS2_TLS_GD16: howto manager. (line 2487)
  11761. * BFD_RELOC_NIOS2_TLS_IE16: howto manager. (line 2490)
  11762. * BFD_RELOC_NIOS2_TLS_LDM16: howto manager. (line 2488)
  11763. * BFD_RELOC_NIOS2_TLS_LDO16: howto manager. (line 2489)
  11764. * BFD_RELOC_NIOS2_TLS_LE16: howto manager. (line 2491)
  11765. * BFD_RELOC_NIOS2_TLS_TPREL: howto manager. (line 2494)
  11766. * BFD_RELOC_NIOS2_U16: howto manager. (line 2467)
  11767. * BFD_RELOC_NIOS2_UJMP: howto manager. (line 2477)
  11768. * BFD_RELOC_NONE: howto manager. (line 118)
  11769. * BFD_RELOC_NS32K_DISP_16: howto manager. (line 586)
  11770. * BFD_RELOC_NS32K_DISP_16_PCREL: howto manager. (line 589)
  11771. * BFD_RELOC_NS32K_DISP_32: howto manager. (line 587)
  11772. * BFD_RELOC_NS32K_DISP_32_PCREL: howto manager. (line 590)
  11773. * BFD_RELOC_NS32K_DISP_8: howto manager. (line 585)
  11774. * BFD_RELOC_NS32K_DISP_8_PCREL: howto manager. (line 588)
  11775. * BFD_RELOC_NS32K_IMM_16: howto manager. (line 580)
  11776. * BFD_RELOC_NS32K_IMM_16_PCREL: howto manager. (line 583)
  11777. * BFD_RELOC_NS32K_IMM_32: howto manager. (line 581)
  11778. * BFD_RELOC_NS32K_IMM_32_PCREL: howto manager. (line 584)
  11779. * BFD_RELOC_NS32K_IMM_8: howto manager. (line 579)
  11780. * BFD_RELOC_NS32K_IMM_8_PCREL: howto manager. (line 582)
  11781. * bfd_reloc_offset_in_range: typedef arelent. (line 344)
  11782. * BFD_RELOC_OR1K_COPY: howto manager. (line 2381)
  11783. * BFD_RELOC_OR1K_GLOB_DAT: howto manager. (line 2382)
  11784. * BFD_RELOC_OR1K_GOT16: howto manager. (line 2375)
  11785. * BFD_RELOC_OR1K_GOTOFF_SLO16: howto manager. (line 2380)
  11786. * BFD_RELOC_OR1K_GOTPC_HI16: howto manager. (line 2373)
  11787. * BFD_RELOC_OR1K_GOTPC_LO16: howto manager. (line 2374)
  11788. * BFD_RELOC_OR1K_GOT_LO13: howto manager. (line 2377)
  11789. * BFD_RELOC_OR1K_GOT_PG21: howto manager. (line 2376)
  11790. * BFD_RELOC_OR1K_JMP_SLOT: howto manager. (line 2383)
  11791. * BFD_RELOC_OR1K_LO13: howto manager. (line 2371)
  11792. * BFD_RELOC_OR1K_PCREL_PG21: howto manager. (line 2370)
  11793. * BFD_RELOC_OR1K_PLT26: howto manager. (line 2378)
  11794. * BFD_RELOC_OR1K_PLTA26: howto manager. (line 2379)
  11795. * BFD_RELOC_OR1K_RELATIVE: howto manager. (line 2384)
  11796. * BFD_RELOC_OR1K_REL_26: howto manager. (line 2368)
  11797. * BFD_RELOC_OR1K_SLO13: howto manager. (line 2372)
  11798. * BFD_RELOC_OR1K_SLO16: howto manager. (line 2369)
  11799. * BFD_RELOC_OR1K_TLS_DTPMOD: howto manager. (line 2406)
  11800. * BFD_RELOC_OR1K_TLS_DTPOFF: howto manager. (line 2405)
  11801. * BFD_RELOC_OR1K_TLS_GD_HI16: howto manager. (line 2385)
  11802. * BFD_RELOC_OR1K_TLS_GD_LO13: howto manager. (line 2388)
  11803. * BFD_RELOC_OR1K_TLS_GD_LO16: howto manager. (line 2386)
  11804. * BFD_RELOC_OR1K_TLS_GD_PG21: howto manager. (line 2387)
  11805. * BFD_RELOC_OR1K_TLS_IE_AHI16: howto manager. (line 2396)
  11806. * BFD_RELOC_OR1K_TLS_IE_HI16: howto manager. (line 2395)
  11807. * BFD_RELOC_OR1K_TLS_IE_LO13: howto manager. (line 2399)
  11808. * BFD_RELOC_OR1K_TLS_IE_LO16: howto manager. (line 2397)
  11809. * BFD_RELOC_OR1K_TLS_IE_PG21: howto manager. (line 2398)
  11810. * BFD_RELOC_OR1K_TLS_LDM_HI16: howto manager. (line 2389)
  11811. * BFD_RELOC_OR1K_TLS_LDM_LO13: howto manager. (line 2392)
  11812. * BFD_RELOC_OR1K_TLS_LDM_LO16: howto manager. (line 2390)
  11813. * BFD_RELOC_OR1K_TLS_LDM_PG21: howto manager. (line 2391)
  11814. * BFD_RELOC_OR1K_TLS_LDO_HI16: howto manager. (line 2393)
  11815. * BFD_RELOC_OR1K_TLS_LDO_LO16: howto manager. (line 2394)
  11816. * BFD_RELOC_OR1K_TLS_LE_AHI16: howto manager. (line 2401)
  11817. * BFD_RELOC_OR1K_TLS_LE_HI16: howto manager. (line 2400)
  11818. * BFD_RELOC_OR1K_TLS_LE_LO16: howto manager. (line 2402)
  11819. * BFD_RELOC_OR1K_TLS_LE_SLO16: howto manager. (line 2403)
  11820. * BFD_RELOC_OR1K_TLS_TPOFF: howto manager. (line 2404)
  11821. * BFD_RELOC_PDP11_DISP_6_PCREL: howto manager. (line 593)
  11822. * BFD_RELOC_PDP11_DISP_8_PCREL: howto manager. (line 592)
  11823. * BFD_RELOC_PJ_CODE_DIR16: howto manager. (line 597)
  11824. * BFD_RELOC_PJ_CODE_DIR32: howto manager. (line 598)
  11825. * BFD_RELOC_PJ_CODE_HI16: howto manager. (line 595)
  11826. * BFD_RELOC_PJ_CODE_LO16: howto manager. (line 596)
  11827. * BFD_RELOC_PJ_CODE_REL16: howto manager. (line 599)
  11828. * BFD_RELOC_PJ_CODE_REL32: howto manager. (line 600)
  11829. * BFD_RELOC_PPC64_ADDR16_DS: howto manager. (line 663)
  11830. * BFD_RELOC_PPC64_ADDR16_HIGH: howto manager. (line 674)
  11831. * BFD_RELOC_PPC64_ADDR16_HIGHA: howto manager. (line 675)
  11832. * BFD_RELOC_PPC64_ADDR16_LO_DS: howto manager. (line 664)
  11833. * BFD_RELOC_PPC64_ADDR64_LOCAL: howto manager. (line 682)
  11834. * BFD_RELOC_PPC64_DTPREL16_DS: howto manager. (line 722)
  11835. * BFD_RELOC_PPC64_DTPREL16_HIGH: howto manager. (line 730)
  11836. * BFD_RELOC_PPC64_DTPREL16_HIGHA: howto manager. (line 731)
  11837. * BFD_RELOC_PPC64_DTPREL16_HIGHER: howto manager. (line 724)
  11838. * BFD_RELOC_PPC64_DTPREL16_HIGHERA: howto manager. (line 725)
  11839. * BFD_RELOC_PPC64_DTPREL16_HIGHEST: howto manager. (line 726)
  11840. * BFD_RELOC_PPC64_DTPREL16_HIGHESTA: howto manager. (line 727)
  11841. * BFD_RELOC_PPC64_DTPREL16_LO_DS: howto manager. (line 723)
  11842. * BFD_RELOC_PPC64_ENTRY: howto manager. (line 683)
  11843. * BFD_RELOC_PPC64_GOT16_DS: howto manager. (line 665)
  11844. * BFD_RELOC_PPC64_GOT16_LO_DS: howto manager. (line 666)
  11845. * BFD_RELOC_PPC64_HIGHER: howto manager. (line 651)
  11846. * BFD_RELOC_PPC64_HIGHER_S: howto manager. (line 652)
  11847. * BFD_RELOC_PPC64_HIGHEST: howto manager. (line 653)
  11848. * BFD_RELOC_PPC64_HIGHEST_S: howto manager. (line 654)
  11849. * BFD_RELOC_PPC64_PLT16_LO_DS: howto manager. (line 667)
  11850. * BFD_RELOC_PPC64_PLTGOT16: howto manager. (line 659)
  11851. * BFD_RELOC_PPC64_PLTGOT16_DS: howto manager. (line 672)
  11852. * BFD_RELOC_PPC64_PLTGOT16_HA: howto manager. (line 662)
  11853. * BFD_RELOC_PPC64_PLTGOT16_HI: howto manager. (line 661)
  11854. * BFD_RELOC_PPC64_PLTGOT16_LO: howto manager. (line 660)
  11855. * BFD_RELOC_PPC64_PLTGOT16_LO_DS: howto manager. (line 673)
  11856. * BFD_RELOC_PPC64_REL16_HIGH: howto manager. (line 676)
  11857. * BFD_RELOC_PPC64_REL16_HIGHA: howto manager. (line 677)
  11858. * BFD_RELOC_PPC64_REL16_HIGHER: howto manager. (line 678)
  11859. * BFD_RELOC_PPC64_REL16_HIGHERA: howto manager. (line 679)
  11860. * BFD_RELOC_PPC64_REL16_HIGHEST: howto manager. (line 680)
  11861. * BFD_RELOC_PPC64_REL16_HIGHESTA: howto manager. (line 681)
  11862. * BFD_RELOC_PPC64_REL24_NOTOC: howto manager. (line 684)
  11863. * BFD_RELOC_PPC64_SECTOFF_DS: howto manager. (line 668)
  11864. * BFD_RELOC_PPC64_SECTOFF_LO_DS: howto manager. (line 669)
  11865. * BFD_RELOC_PPC64_TOC: howto manager. (line 658)
  11866. * BFD_RELOC_PPC64_TOC16_DS: howto manager. (line 670)
  11867. * BFD_RELOC_PPC64_TOC16_HA: howto manager. (line 657)
  11868. * BFD_RELOC_PPC64_TOC16_HI: howto manager. (line 656)
  11869. * BFD_RELOC_PPC64_TOC16_LO: howto manager. (line 655)
  11870. * BFD_RELOC_PPC64_TOC16_LO_DS: howto manager. (line 671)
  11871. * BFD_RELOC_PPC64_TPREL16_DS: howto manager. (line 716)
  11872. * BFD_RELOC_PPC64_TPREL16_HIGH: howto manager. (line 728)
  11873. * BFD_RELOC_PPC64_TPREL16_HIGHA: howto manager. (line 729)
  11874. * BFD_RELOC_PPC64_TPREL16_HIGHER: howto manager. (line 718)
  11875. * BFD_RELOC_PPC64_TPREL16_HIGHERA: howto manager. (line 719)
  11876. * BFD_RELOC_PPC64_TPREL16_HIGHEST: howto manager. (line 720)
  11877. * BFD_RELOC_PPC64_TPREL16_HIGHESTA: howto manager. (line 721)
  11878. * BFD_RELOC_PPC64_TPREL16_LO_DS: howto manager. (line 717)
  11879. * BFD_RELOC_PPC_16DX_HA: howto manager. (line 649)
  11880. * BFD_RELOC_PPC_B16: howto manager. (line 605)
  11881. * BFD_RELOC_PPC_B16_BRNTAKEN: howto manager. (line 607)
  11882. * BFD_RELOC_PPC_B16_BRTAKEN: howto manager. (line 606)
  11883. * BFD_RELOC_PPC_B26: howto manager. (line 602)
  11884. * BFD_RELOC_PPC_BA16: howto manager. (line 608)
  11885. * BFD_RELOC_PPC_BA16_BRNTAKEN: howto manager. (line 610)
  11886. * BFD_RELOC_PPC_BA16_BRTAKEN: howto manager. (line 609)
  11887. * BFD_RELOC_PPC_BA26: howto manager. (line 603)
  11888. * BFD_RELOC_PPC_COPY: howto manager. (line 611)
  11889. * BFD_RELOC_PPC_DTPMOD: howto manager. (line 689)
  11890. * BFD_RELOC_PPC_DTPREL: howto manager. (line 699)
  11891. * BFD_RELOC_PPC_DTPREL16: howto manager. (line 695)
  11892. * BFD_RELOC_PPC_DTPREL16_HA: howto manager. (line 698)
  11893. * BFD_RELOC_PPC_DTPREL16_HI: howto manager. (line 697)
  11894. * BFD_RELOC_PPC_DTPREL16_LO: howto manager. (line 696)
  11895. * BFD_RELOC_PPC_EMB_BIT_FLD: howto manager. (line 630)
  11896. * BFD_RELOC_PPC_EMB_MRKREF: howto manager. (line 625)
  11897. * BFD_RELOC_PPC_EMB_NADDR16: howto manager. (line 617)
  11898. * BFD_RELOC_PPC_EMB_NADDR16_HA: howto manager. (line 620)
  11899. * BFD_RELOC_PPC_EMB_NADDR16_HI: howto manager. (line 619)
  11900. * BFD_RELOC_PPC_EMB_NADDR16_LO: howto manager. (line 618)
  11901. * BFD_RELOC_PPC_EMB_NADDR32: howto manager. (line 616)
  11902. * BFD_RELOC_PPC_EMB_RELSDA: howto manager. (line 631)
  11903. * BFD_RELOC_PPC_EMB_RELSEC16: howto manager. (line 626)
  11904. * BFD_RELOC_PPC_EMB_RELST_HA: howto manager. (line 629)
  11905. * BFD_RELOC_PPC_EMB_RELST_HI: howto manager. (line 628)
  11906. * BFD_RELOC_PPC_EMB_RELST_LO: howto manager. (line 627)
  11907. * BFD_RELOC_PPC_EMB_SDA21: howto manager. (line 624)
  11908. * BFD_RELOC_PPC_EMB_SDA2I16: howto manager. (line 622)
  11909. * BFD_RELOC_PPC_EMB_SDA2REL: howto manager. (line 623)
  11910. * BFD_RELOC_PPC_EMB_SDAI16: howto manager. (line 621)
  11911. * BFD_RELOC_PPC_GLOB_DAT: howto manager. (line 612)
  11912. * BFD_RELOC_PPC_GOT_DTPREL16: howto manager. (line 712)
  11913. * BFD_RELOC_PPC_GOT_DTPREL16_HA: howto manager. (line 715)
  11914. * BFD_RELOC_PPC_GOT_DTPREL16_HI: howto manager. (line 714)
  11915. * BFD_RELOC_PPC_GOT_DTPREL16_LO: howto manager. (line 713)
  11916. * BFD_RELOC_PPC_GOT_TLSGD16: howto manager. (line 700)
  11917. * BFD_RELOC_PPC_GOT_TLSGD16_HA: howto manager. (line 703)
  11918. * BFD_RELOC_PPC_GOT_TLSGD16_HI: howto manager. (line 702)
  11919. * BFD_RELOC_PPC_GOT_TLSGD16_LO: howto manager. (line 701)
  11920. * BFD_RELOC_PPC_GOT_TLSLD16: howto manager. (line 704)
  11921. * BFD_RELOC_PPC_GOT_TLSLD16_HA: howto manager. (line 707)
  11922. * BFD_RELOC_PPC_GOT_TLSLD16_HI: howto manager. (line 706)
  11923. * BFD_RELOC_PPC_GOT_TLSLD16_LO: howto manager. (line 705)
  11924. * BFD_RELOC_PPC_GOT_TPREL16: howto manager. (line 708)
  11925. * BFD_RELOC_PPC_GOT_TPREL16_HA: howto manager. (line 711)
  11926. * BFD_RELOC_PPC_GOT_TPREL16_HI: howto manager. (line 710)
  11927. * BFD_RELOC_PPC_GOT_TPREL16_LO: howto manager. (line 709)
  11928. * BFD_RELOC_PPC_JMP_SLOT: howto manager. (line 613)
  11929. * BFD_RELOC_PPC_LOCAL24PC: howto manager. (line 615)
  11930. * BFD_RELOC_PPC_REL16DX_HA: howto manager. (line 650)
  11931. * BFD_RELOC_PPC_RELATIVE: howto manager. (line 614)
  11932. * BFD_RELOC_PPC_TLS: howto manager. (line 686)
  11933. * BFD_RELOC_PPC_TLSGD: howto manager. (line 687)
  11934. * BFD_RELOC_PPC_TLSLD: howto manager. (line 688)
  11935. * BFD_RELOC_PPC_TOC16: howto manager. (line 604)
  11936. * BFD_RELOC_PPC_TPREL: howto manager. (line 694)
  11937. * BFD_RELOC_PPC_TPREL16: howto manager. (line 690)
  11938. * BFD_RELOC_PPC_TPREL16_HA: howto manager. (line 693)
  11939. * BFD_RELOC_PPC_TPREL16_HI: howto manager. (line 692)
  11940. * BFD_RELOC_PPC_TPREL16_LO: howto manager. (line 691)
  11941. * BFD_RELOC_PPC_VLE_HA16A: howto manager. (line 639)
  11942. * BFD_RELOC_PPC_VLE_HA16D: howto manager. (line 640)
  11943. * BFD_RELOC_PPC_VLE_HI16A: howto manager. (line 637)
  11944. * BFD_RELOC_PPC_VLE_HI16D: howto manager. (line 638)
  11945. * BFD_RELOC_PPC_VLE_LO16A: howto manager. (line 635)
  11946. * BFD_RELOC_PPC_VLE_LO16D: howto manager. (line 636)
  11947. * BFD_RELOC_PPC_VLE_REL15: howto manager. (line 633)
  11948. * BFD_RELOC_PPC_VLE_REL24: howto manager. (line 634)
  11949. * BFD_RELOC_PPC_VLE_REL8: howto manager. (line 632)
  11950. * BFD_RELOC_PPC_VLE_SDA21: howto manager. (line 641)
  11951. * BFD_RELOC_PPC_VLE_SDA21_LO: howto manager. (line 642)
  11952. * BFD_RELOC_PPC_VLE_SDAREL_HA16A: howto manager. (line 647)
  11953. * BFD_RELOC_PPC_VLE_SDAREL_HA16D: howto manager. (line 648)
  11954. * BFD_RELOC_PPC_VLE_SDAREL_HI16A: howto manager. (line 645)
  11955. * BFD_RELOC_PPC_VLE_SDAREL_HI16D: howto manager. (line 646)
  11956. * BFD_RELOC_PPC_VLE_SDAREL_LO16A: howto manager. (line 643)
  11957. * BFD_RELOC_PPC_VLE_SDAREL_LO16D: howto manager. (line 644)
  11958. * BFD_RELOC_PRU_16_PMEM: howto manager. (line 2532)
  11959. * BFD_RELOC_PRU_32_PMEM: howto manager. (line 2531)
  11960. * BFD_RELOC_PRU_GNU_DIFF16: howto manager. (line 2536)
  11961. * BFD_RELOC_PRU_GNU_DIFF16_PMEM: howto manager. (line 2538)
  11962. * BFD_RELOC_PRU_GNU_DIFF32: howto manager. (line 2537)
  11963. * BFD_RELOC_PRU_GNU_DIFF32_PMEM: howto manager. (line 2539)
  11964. * BFD_RELOC_PRU_GNU_DIFF8: howto manager. (line 2535)
  11965. * BFD_RELOC_PRU_LDI32: howto manager. (line 2523)
  11966. * BFD_RELOC_PRU_S10_PCREL: howto manager. (line 2527)
  11967. * BFD_RELOC_PRU_U16: howto manager. (line 2519)
  11968. * BFD_RELOC_PRU_U16_PMEMIMM: howto manager. (line 2521)
  11969. * BFD_RELOC_PRU_U8_PCREL: howto manager. (line 2529)
  11970. * BFD_RELOC_RELC: howto manager. (line 2420)
  11971. * BFD_RELOC_RISCV_32_PCREL: howto manager. (line 1848)
  11972. * BFD_RELOC_RISCV_ADD16: howto manager. (line 1816)
  11973. * BFD_RELOC_RISCV_ADD32: howto manager. (line 1817)
  11974. * BFD_RELOC_RISCV_ADD64: howto manager. (line 1818)
  11975. * BFD_RELOC_RISCV_ADD8: howto manager. (line 1815)
  11976. * BFD_RELOC_RISCV_ALIGN: howto manager. (line 1833)
  11977. * BFD_RELOC_RISCV_CALL: howto manager. (line 1813)
  11978. * BFD_RELOC_RISCV_CALL_PLT: howto manager. (line 1814)
  11979. * BFD_RELOC_RISCV_CFA: howto manager. (line 1842)
  11980. * BFD_RELOC_RISCV_GOT_HI20: howto manager. (line 1823)
  11981. * BFD_RELOC_RISCV_GPREL12_I: howto manager. (line 1807)
  11982. * BFD_RELOC_RISCV_GPREL12_S: howto manager. (line 1808)
  11983. * BFD_RELOC_RISCV_GPREL_I: howto manager. (line 1837)
  11984. * BFD_RELOC_RISCV_GPREL_S: howto manager. (line 1838)
  11985. * BFD_RELOC_RISCV_HI20: howto manager. (line 1801)
  11986. * BFD_RELOC_RISCV_JMP: howto manager. (line 1826)
  11987. * BFD_RELOC_RISCV_LO12_I: howto manager. (line 1805)
  11988. * BFD_RELOC_RISCV_LO12_S: howto manager. (line 1806)
  11989. * BFD_RELOC_RISCV_PCREL_HI20: howto manager. (line 1802)
  11990. * BFD_RELOC_RISCV_PCREL_LO12_I: howto manager. (line 1803)
  11991. * BFD_RELOC_RISCV_PCREL_LO12_S: howto manager. (line 1804)
  11992. * BFD_RELOC_RISCV_RELAX: howto manager. (line 1841)
  11993. * BFD_RELOC_RISCV_RVC_BRANCH: howto manager. (line 1834)
  11994. * BFD_RELOC_RISCV_RVC_JUMP: howto manager. (line 1835)
  11995. * BFD_RELOC_RISCV_RVC_LUI: howto manager. (line 1836)
  11996. * BFD_RELOC_RISCV_SET16: howto manager. (line 1846)
  11997. * BFD_RELOC_RISCV_SET32: howto manager. (line 1847)
  11998. * BFD_RELOC_RISCV_SET6: howto manager. (line 1844)
  11999. * BFD_RELOC_RISCV_SET8: howto manager. (line 1845)
  12000. * BFD_RELOC_RISCV_SUB16: howto manager. (line 1820)
  12001. * BFD_RELOC_RISCV_SUB32: howto manager. (line 1821)
  12002. * BFD_RELOC_RISCV_SUB6: howto manager. (line 1843)
  12003. * BFD_RELOC_RISCV_SUB64: howto manager. (line 1822)
  12004. * BFD_RELOC_RISCV_SUB8: howto manager. (line 1819)
  12005. * BFD_RELOC_RISCV_TLS_DTPMOD32: howto manager. (line 1827)
  12006. * BFD_RELOC_RISCV_TLS_DTPMOD64: howto manager. (line 1829)
  12007. * BFD_RELOC_RISCV_TLS_DTPREL32: howto manager. (line 1828)
  12008. * BFD_RELOC_RISCV_TLS_DTPREL64: howto manager. (line 1830)
  12009. * BFD_RELOC_RISCV_TLS_GD_HI20: howto manager. (line 1825)
  12010. * BFD_RELOC_RISCV_TLS_GOT_HI20: howto manager. (line 1824)
  12011. * BFD_RELOC_RISCV_TLS_TPREL32: howto manager. (line 1831)
  12012. * BFD_RELOC_RISCV_TLS_TPREL64: howto manager. (line 1832)
  12013. * BFD_RELOC_RISCV_TPREL_ADD: howto manager. (line 1812)
  12014. * BFD_RELOC_RISCV_TPREL_HI20: howto manager. (line 1809)
  12015. * BFD_RELOC_RISCV_TPREL_I: howto manager. (line 1839)
  12016. * BFD_RELOC_RISCV_TPREL_LO12_I: howto manager. (line 1810)
  12017. * BFD_RELOC_RISCV_TPREL_LO12_S: howto manager. (line 1811)
  12018. * BFD_RELOC_RISCV_TPREL_S: howto manager. (line 1840)
  12019. * BFD_RELOC_RL78_16U: howto manager. (line 1858)
  12020. * BFD_RELOC_RL78_16_OP: howto manager. (line 1854)
  12021. * BFD_RELOC_RL78_24U: howto manager. (line 1859)
  12022. * BFD_RELOC_RL78_24_OP: howto manager. (line 1855)
  12023. * BFD_RELOC_RL78_32_OP: howto manager. (line 1856)
  12024. * BFD_RELOC_RL78_8U: howto manager. (line 1857)
  12025. * BFD_RELOC_RL78_ABS16: howto manager. (line 1871)
  12026. * BFD_RELOC_RL78_ABS16U: howto manager. (line 1875)
  12027. * BFD_RELOC_RL78_ABS16UL: howto manager. (line 1877)
  12028. * BFD_RELOC_RL78_ABS16UW: howto manager. (line 1876)
  12029. * BFD_RELOC_RL78_ABS16_REV: howto manager. (line 1872)
  12030. * BFD_RELOC_RL78_ABS32: howto manager. (line 1873)
  12031. * BFD_RELOC_RL78_ABS32_REV: howto manager. (line 1874)
  12032. * BFD_RELOC_RL78_ABS8: howto manager. (line 1870)
  12033. * BFD_RELOC_RL78_CODE: howto manager. (line 1882)
  12034. * BFD_RELOC_RL78_DIFF: howto manager. (line 1861)
  12035. * BFD_RELOC_RL78_DIR3U_PCREL: howto manager. (line 1860)
  12036. * BFD_RELOC_RL78_GPRELB: howto manager. (line 1862)
  12037. * BFD_RELOC_RL78_GPRELL: howto manager. (line 1864)
  12038. * BFD_RELOC_RL78_GPRELW: howto manager. (line 1863)
  12039. * BFD_RELOC_RL78_HI16: howto manager. (line 1879)
  12040. * BFD_RELOC_RL78_HI8: howto manager. (line 1880)
  12041. * BFD_RELOC_RL78_LO16: howto manager. (line 1881)
  12042. * BFD_RELOC_RL78_NEG16: howto manager. (line 1851)
  12043. * BFD_RELOC_RL78_NEG24: howto manager. (line 1852)
  12044. * BFD_RELOC_RL78_NEG32: howto manager. (line 1853)
  12045. * BFD_RELOC_RL78_NEG8: howto manager. (line 1850)
  12046. * BFD_RELOC_RL78_OP_AND: howto manager. (line 1868)
  12047. * BFD_RELOC_RL78_OP_NEG: howto manager. (line 1867)
  12048. * BFD_RELOC_RL78_OP_SHRA: howto manager. (line 1869)
  12049. * BFD_RELOC_RL78_OP_SUBTRACT: howto manager. (line 1866)
  12050. * BFD_RELOC_RL78_RELAX: howto manager. (line 1878)
  12051. * BFD_RELOC_RL78_SADDR: howto manager. (line 1883)
  12052. * BFD_RELOC_RL78_SYM: howto manager. (line 1865)
  12053. * BFD_RELOC_RVA: howto manager. (line 95)
  12054. * BFD_RELOC_RX_16U: howto manager. (line 1893)
  12055. * BFD_RELOC_RX_16_OP: howto manager. (line 1889)
  12056. * BFD_RELOC_RX_24U: howto manager. (line 1894)
  12057. * BFD_RELOC_RX_24_OP: howto manager. (line 1890)
  12058. * BFD_RELOC_RX_32_OP: howto manager. (line 1891)
  12059. * BFD_RELOC_RX_8U: howto manager. (line 1892)
  12060. * BFD_RELOC_RX_ABS16: howto manager. (line 1904)
  12061. * BFD_RELOC_RX_ABS16U: howto manager. (line 1908)
  12062. * BFD_RELOC_RX_ABS16UL: howto manager. (line 1910)
  12063. * BFD_RELOC_RX_ABS16UW: howto manager. (line 1909)
  12064. * BFD_RELOC_RX_ABS16_REV: howto manager. (line 1905)
  12065. * BFD_RELOC_RX_ABS32: howto manager. (line 1906)
  12066. * BFD_RELOC_RX_ABS32_REV: howto manager. (line 1907)
  12067. * BFD_RELOC_RX_ABS8: howto manager. (line 1903)
  12068. * BFD_RELOC_RX_DIFF: howto manager. (line 1896)
  12069. * BFD_RELOC_RX_DIR3U_PCREL: howto manager. (line 1895)
  12070. * BFD_RELOC_RX_GPRELB: howto manager. (line 1897)
  12071. * BFD_RELOC_RX_GPRELL: howto manager. (line 1899)
  12072. * BFD_RELOC_RX_GPRELW: howto manager. (line 1898)
  12073. * BFD_RELOC_RX_NEG16: howto manager. (line 1886)
  12074. * BFD_RELOC_RX_NEG24: howto manager. (line 1887)
  12075. * BFD_RELOC_RX_NEG32: howto manager. (line 1888)
  12076. * BFD_RELOC_RX_NEG8: howto manager. (line 1885)
  12077. * BFD_RELOC_RX_OP_NEG: howto manager. (line 1902)
  12078. * BFD_RELOC_RX_OP_SUBTRACT: howto manager. (line 1901)
  12079. * BFD_RELOC_RX_RELAX: howto manager. (line 1911)
  12080. * BFD_RELOC_RX_SYM: howto manager. (line 1900)
  12081. * BFD_RELOC_S12Z_15_PCREL: howto manager. (line 2223)
  12082. * BFD_RELOC_S12Z_OPR: howto manager. (line 3401)
  12083. * BFD_RELOC_SCORE16_BRANCH: howto manager. (line 2014)
  12084. * BFD_RELOC_SCORE16_JMP: howto manager. (line 2012)
  12085. * BFD_RELOC_SCORE_BCMP: howto manager. (line 2016)
  12086. * BFD_RELOC_SCORE_BRANCH: howto manager. (line 2006)
  12087. * BFD_RELOC_SCORE_CALL15: howto manager. (line 2020)
  12088. * BFD_RELOC_SCORE_DUMMY2: howto manager. (line 2003)
  12089. * BFD_RELOC_SCORE_DUMMY_HI16: howto manager. (line 2021)
  12090. * BFD_RELOC_SCORE_GOT15: howto manager. (line 2018)
  12091. * BFD_RELOC_SCORE_GOT_LO16: howto manager. (line 2019)
  12092. * BFD_RELOC_SCORE_GPREL15: howto manager. (line 2001)
  12093. * BFD_RELOC_SCORE_IMM30: howto manager. (line 2008)
  12094. * BFD_RELOC_SCORE_IMM32: howto manager. (line 2010)
  12095. * BFD_RELOC_SCORE_JMP: howto manager. (line 2004)
  12096. * BFD_RELOC_SH_ALIGN: howto manager. (line 915)
  12097. * BFD_RELOC_SH_CODE: howto manager. (line 916)
  12098. * BFD_RELOC_SH_COPY: howto manager. (line 921)
  12099. * BFD_RELOC_SH_COPY64: howto manager. (line 946)
  12100. * BFD_RELOC_SH_COUNT: howto manager. (line 914)
  12101. * BFD_RELOC_SH_DATA: howto manager. (line 917)
  12102. * BFD_RELOC_SH_DISP12: howto manager. (line 897)
  12103. * BFD_RELOC_SH_DISP12BY2: howto manager. (line 898)
  12104. * BFD_RELOC_SH_DISP12BY4: howto manager. (line 899)
  12105. * BFD_RELOC_SH_DISP12BY8: howto manager. (line 900)
  12106. * BFD_RELOC_SH_DISP20: howto manager. (line 901)
  12107. * BFD_RELOC_SH_DISP20BY8: howto manager. (line 902)
  12108. * BFD_RELOC_SH_FUNCDESC: howto manager. (line 989)
  12109. * BFD_RELOC_SH_GLOB_DAT: howto manager. (line 922)
  12110. * BFD_RELOC_SH_GLOB_DAT64: howto manager. (line 947)
  12111. * BFD_RELOC_SH_GOT10BY4: howto manager. (line 950)
  12112. * BFD_RELOC_SH_GOT10BY8: howto manager. (line 951)
  12113. * BFD_RELOC_SH_GOT20: howto manager. (line 983)
  12114. * BFD_RELOC_SH_GOTFUNCDESC: howto manager. (line 985)
  12115. * BFD_RELOC_SH_GOTFUNCDESC20: howto manager. (line 986)
  12116. * BFD_RELOC_SH_GOTOFF20: howto manager. (line 984)
  12117. * BFD_RELOC_SH_GOTOFFFUNCDESC: howto manager. (line 987)
  12118. * BFD_RELOC_SH_GOTOFFFUNCDESC20: howto manager. (line 988)
  12119. * BFD_RELOC_SH_GOTOFF_HI16: howto manager. (line 941)
  12120. * BFD_RELOC_SH_GOTOFF_LOW16: howto manager. (line 938)
  12121. * BFD_RELOC_SH_GOTOFF_MEDHI16: howto manager. (line 940)
  12122. * BFD_RELOC_SH_GOTOFF_MEDLOW16: howto manager. (line 939)
  12123. * BFD_RELOC_SH_GOTPC: howto manager. (line 925)
  12124. * BFD_RELOC_SH_GOTPC_HI16: howto manager. (line 945)
  12125. * BFD_RELOC_SH_GOTPC_LOW16: howto manager. (line 942)
  12126. * BFD_RELOC_SH_GOTPC_MEDHI16: howto manager. (line 944)
  12127. * BFD_RELOC_SH_GOTPC_MEDLOW16: howto manager. (line 943)
  12128. * BFD_RELOC_SH_GOTPLT10BY4: howto manager. (line 952)
  12129. * BFD_RELOC_SH_GOTPLT10BY8: howto manager. (line 953)
  12130. * BFD_RELOC_SH_GOTPLT32: howto manager. (line 954)
  12131. * BFD_RELOC_SH_GOTPLT_HI16: howto manager. (line 933)
  12132. * BFD_RELOC_SH_GOTPLT_LOW16: howto manager. (line 930)
  12133. * BFD_RELOC_SH_GOTPLT_MEDHI16: howto manager. (line 932)
  12134. * BFD_RELOC_SH_GOTPLT_MEDLOW16: howto manager. (line 931)
  12135. * BFD_RELOC_SH_GOT_HI16: howto manager. (line 929)
  12136. * BFD_RELOC_SH_GOT_LOW16: howto manager. (line 926)
  12137. * BFD_RELOC_SH_GOT_MEDHI16: howto manager. (line 928)
  12138. * BFD_RELOC_SH_GOT_MEDLOW16: howto manager. (line 927)
  12139. * BFD_RELOC_SH_IMM3: howto manager. (line 895)
  12140. * BFD_RELOC_SH_IMM3U: howto manager. (line 896)
  12141. * BFD_RELOC_SH_IMM4: howto manager. (line 903)
  12142. * BFD_RELOC_SH_IMM4BY2: howto manager. (line 904)
  12143. * BFD_RELOC_SH_IMM4BY4: howto manager. (line 905)
  12144. * BFD_RELOC_SH_IMM8: howto manager. (line 906)
  12145. * BFD_RELOC_SH_IMM8BY2: howto manager. (line 907)
  12146. * BFD_RELOC_SH_IMM8BY4: howto manager. (line 908)
  12147. * BFD_RELOC_SH_IMMS10: howto manager. (line 960)
  12148. * BFD_RELOC_SH_IMMS10BY2: howto manager. (line 961)
  12149. * BFD_RELOC_SH_IMMS10BY4: howto manager. (line 962)
  12150. * BFD_RELOC_SH_IMMS10BY8: howto manager. (line 963)
  12151. * BFD_RELOC_SH_IMMS16: howto manager. (line 964)
  12152. * BFD_RELOC_SH_IMMS6: howto manager. (line 957)
  12153. * BFD_RELOC_SH_IMMS6BY32: howto manager. (line 958)
  12154. * BFD_RELOC_SH_IMMU16: howto manager. (line 965)
  12155. * BFD_RELOC_SH_IMMU5: howto manager. (line 956)
  12156. * BFD_RELOC_SH_IMMU6: howto manager. (line 959)
  12157. * BFD_RELOC_SH_IMM_HI16: howto manager. (line 972)
  12158. * BFD_RELOC_SH_IMM_HI16_PCREL: howto manager. (line 973)
  12159. * BFD_RELOC_SH_IMM_LOW16: howto manager. (line 966)
  12160. * BFD_RELOC_SH_IMM_LOW16_PCREL: howto manager. (line 967)
  12161. * BFD_RELOC_SH_IMM_MEDHI16: howto manager. (line 970)
  12162. * BFD_RELOC_SH_IMM_MEDHI16_PCREL: howto manager. (line 971)
  12163. * BFD_RELOC_SH_IMM_MEDLOW16: howto manager. (line 968)
  12164. * BFD_RELOC_SH_IMM_MEDLOW16_PCREL: howto manager. (line 969)
  12165. * BFD_RELOC_SH_JMP_SLOT: howto manager. (line 923)
  12166. * BFD_RELOC_SH_JMP_SLOT64: howto manager. (line 948)
  12167. * BFD_RELOC_SH_LABEL: howto manager. (line 918)
  12168. * BFD_RELOC_SH_LOOP_END: howto manager. (line 920)
  12169. * BFD_RELOC_SH_LOOP_START: howto manager. (line 919)
  12170. * BFD_RELOC_SH_PCDISP12BY2: howto manager. (line 894)
  12171. * BFD_RELOC_SH_PCDISP8BY2: howto manager. (line 893)
  12172. * BFD_RELOC_SH_PCRELIMM8BY2: howto manager. (line 909)
  12173. * BFD_RELOC_SH_PCRELIMM8BY4: howto manager. (line 910)
  12174. * BFD_RELOC_SH_PLT_HI16: howto manager. (line 937)
  12175. * BFD_RELOC_SH_PLT_LOW16: howto manager. (line 934)
  12176. * BFD_RELOC_SH_PLT_MEDHI16: howto manager. (line 936)
  12177. * BFD_RELOC_SH_PLT_MEDLOW16: howto manager. (line 935)
  12178. * BFD_RELOC_SH_PT_16: howto manager. (line 974)
  12179. * BFD_RELOC_SH_RELATIVE: howto manager. (line 924)
  12180. * BFD_RELOC_SH_RELATIVE64: howto manager. (line 949)
  12181. * BFD_RELOC_SH_SHMEDIA_CODE: howto manager. (line 955)
  12182. * BFD_RELOC_SH_SWITCH16: howto manager. (line 911)
  12183. * BFD_RELOC_SH_SWITCH32: howto manager. (line 912)
  12184. * BFD_RELOC_SH_TLS_DTPMOD32: howto manager. (line 980)
  12185. * BFD_RELOC_SH_TLS_DTPOFF32: howto manager. (line 981)
  12186. * BFD_RELOC_SH_TLS_GD_32: howto manager. (line 975)
  12187. * BFD_RELOC_SH_TLS_IE_32: howto manager. (line 978)
  12188. * BFD_RELOC_SH_TLS_LDO_32: howto manager. (line 977)
  12189. * BFD_RELOC_SH_TLS_LD_32: howto manager. (line 976)
  12190. * BFD_RELOC_SH_TLS_LE_32: howto manager. (line 979)
  12191. * BFD_RELOC_SH_TLS_TPOFF32: howto manager. (line 982)
  12192. * BFD_RELOC_SH_USES: howto manager. (line 913)
  12193. * BFD_RELOC_SIZE32: howto manager. (line 67)
  12194. * BFD_RELOC_SIZE64: howto manager. (line 68)
  12195. * BFD_RELOC_SPARC13: howto manager. (line 121)
  12196. * BFD_RELOC_SPARC22: howto manager. (line 120)
  12197. * BFD_RELOC_SPARC_10: howto manager. (line 148)
  12198. * BFD_RELOC_SPARC_11: howto manager. (line 149)
  12199. * BFD_RELOC_SPARC_5: howto manager. (line 161)
  12200. * BFD_RELOC_SPARC_6: howto manager. (line 160)
  12201. * BFD_RELOC_SPARC_64: howto manager. (line 147)
  12202. * BFD_RELOC_SPARC_7: howto manager. (line 159)
  12203. * BFD_RELOC_SPARC_BASE13: howto manager. (line 144)
  12204. * BFD_RELOC_SPARC_BASE22: howto manager. (line 145)
  12205. * BFD_RELOC_SPARC_COPY: howto manager. (line 128)
  12206. * BFD_RELOC_SPARC_DISP64: howto manager. (line 162)
  12207. * BFD_RELOC_SPARC_GLOB_DAT: howto manager. (line 129)
  12208. * BFD_RELOC_SPARC_GOT10: howto manager. (line 122)
  12209. * BFD_RELOC_SPARC_GOT13: howto manager. (line 123)
  12210. * BFD_RELOC_SPARC_GOT22: howto manager. (line 124)
  12211. * BFD_RELOC_SPARC_GOTDATA_HIX22: howto manager. (line 135)
  12212. * BFD_RELOC_SPARC_GOTDATA_LOX10: howto manager. (line 136)
  12213. * BFD_RELOC_SPARC_GOTDATA_OP: howto manager. (line 139)
  12214. * BFD_RELOC_SPARC_GOTDATA_OP_HIX22: howto manager. (line 137)
  12215. * BFD_RELOC_SPARC_GOTDATA_OP_LOX10: howto manager. (line 138)
  12216. * BFD_RELOC_SPARC_H34: howto manager. (line 171)
  12217. * BFD_RELOC_SPARC_H44: howto manager. (line 167)
  12218. * BFD_RELOC_SPARC_HH22: howto manager. (line 151)
  12219. * BFD_RELOC_SPARC_HIX22: howto manager. (line 165)
  12220. * BFD_RELOC_SPARC_HM10: howto manager. (line 152)
  12221. * BFD_RELOC_SPARC_IRELATIVE: howto manager. (line 141)
  12222. * BFD_RELOC_SPARC_JMP_IREL: howto manager. (line 140)
  12223. * BFD_RELOC_SPARC_JMP_SLOT: howto manager. (line 130)
  12224. * BFD_RELOC_SPARC_L44: howto manager. (line 169)
  12225. * BFD_RELOC_SPARC_LM22: howto manager. (line 153)
  12226. * BFD_RELOC_SPARC_LOX10: howto manager. (line 166)
  12227. * BFD_RELOC_SPARC_M44: howto manager. (line 168)
  12228. * BFD_RELOC_SPARC_OLO10: howto manager. (line 150)
  12229. * BFD_RELOC_SPARC_PC10: howto manager. (line 125)
  12230. * BFD_RELOC_SPARC_PC22: howto manager. (line 126)
  12231. * BFD_RELOC_SPARC_PC_HH22: howto manager. (line 154)
  12232. * BFD_RELOC_SPARC_PC_HM10: howto manager. (line 155)
  12233. * BFD_RELOC_SPARC_PC_LM22: howto manager. (line 156)
  12234. * BFD_RELOC_SPARC_PLT32: howto manager. (line 163)
  12235. * BFD_RELOC_SPARC_PLT64: howto manager. (line 164)
  12236. * BFD_RELOC_SPARC_REGISTER: howto manager. (line 170)
  12237. * BFD_RELOC_SPARC_RELATIVE: howto manager. (line 131)
  12238. * BFD_RELOC_SPARC_REV32: howto manager. (line 176)
  12239. * BFD_RELOC_SPARC_SIZE32: howto manager. (line 172)
  12240. * BFD_RELOC_SPARC_SIZE64: howto manager. (line 173)
  12241. * BFD_RELOC_SPARC_TLS_DTPMOD32: howto manager. (line 196)
  12242. * BFD_RELOC_SPARC_TLS_DTPMOD64: howto manager. (line 197)
  12243. * BFD_RELOC_SPARC_TLS_DTPOFF32: howto manager. (line 198)
  12244. * BFD_RELOC_SPARC_TLS_DTPOFF64: howto manager. (line 199)
  12245. * BFD_RELOC_SPARC_TLS_GD_ADD: howto manager. (line 180)
  12246. * BFD_RELOC_SPARC_TLS_GD_CALL: howto manager. (line 181)
  12247. * BFD_RELOC_SPARC_TLS_GD_HI22: howto manager. (line 178)
  12248. * BFD_RELOC_SPARC_TLS_GD_LO10: howto manager. (line 179)
  12249. * BFD_RELOC_SPARC_TLS_IE_ADD: howto manager. (line 193)
  12250. * BFD_RELOC_SPARC_TLS_IE_HI22: howto manager. (line 189)
  12251. * BFD_RELOC_SPARC_TLS_IE_LD: howto manager. (line 191)
  12252. * BFD_RELOC_SPARC_TLS_IE_LDX: howto manager. (line 192)
  12253. * BFD_RELOC_SPARC_TLS_IE_LO10: howto manager. (line 190)
  12254. * BFD_RELOC_SPARC_TLS_LDM_ADD: howto manager. (line 184)
  12255. * BFD_RELOC_SPARC_TLS_LDM_CALL: howto manager. (line 185)
  12256. * BFD_RELOC_SPARC_TLS_LDM_HI22: howto manager. (line 182)
  12257. * BFD_RELOC_SPARC_TLS_LDM_LO10: howto manager. (line 183)
  12258. * BFD_RELOC_SPARC_TLS_LDO_ADD: howto manager. (line 188)
  12259. * BFD_RELOC_SPARC_TLS_LDO_HIX22: howto manager. (line 186)
  12260. * BFD_RELOC_SPARC_TLS_LDO_LOX10: howto manager. (line 187)
  12261. * BFD_RELOC_SPARC_TLS_LE_HIX22: howto manager. (line 194)
  12262. * BFD_RELOC_SPARC_TLS_LE_LOX10: howto manager. (line 195)
  12263. * BFD_RELOC_SPARC_TLS_TPOFF32: howto manager. (line 200)
  12264. * BFD_RELOC_SPARC_TLS_TPOFF64: howto manager. (line 201)
  12265. * BFD_RELOC_SPARC_UA16: howto manager. (line 132)
  12266. * BFD_RELOC_SPARC_UA32: howto manager. (line 133)
  12267. * BFD_RELOC_SPARC_UA64: howto manager. (line 134)
  12268. * BFD_RELOC_SPARC_WDISP10: howto manager. (line 174)
  12269. * BFD_RELOC_SPARC_WDISP16: howto manager. (line 157)
  12270. * BFD_RELOC_SPARC_WDISP19: howto manager. (line 158)
  12271. * BFD_RELOC_SPARC_WDISP22: howto manager. (line 119)
  12272. * BFD_RELOC_SPARC_WPLT30: howto manager. (line 127)
  12273. * BFD_RELOC_SPU_ADD_PIC: howto manager. (line 217)
  12274. * BFD_RELOC_SPU_HI16: howto manager. (line 214)
  12275. * BFD_RELOC_SPU_IMM10: howto manager. (line 205)
  12276. * BFD_RELOC_SPU_IMM10W: howto manager. (line 206)
  12277. * BFD_RELOC_SPU_IMM16: howto manager. (line 207)
  12278. * BFD_RELOC_SPU_IMM16W: howto manager. (line 208)
  12279. * BFD_RELOC_SPU_IMM18: howto manager. (line 209)
  12280. * BFD_RELOC_SPU_IMM7: howto manager. (line 203)
  12281. * BFD_RELOC_SPU_IMM8: howto manager. (line 204)
  12282. * BFD_RELOC_SPU_LO16: howto manager. (line 213)
  12283. * BFD_RELOC_SPU_PCREL16: howto manager. (line 212)
  12284. * BFD_RELOC_SPU_PCREL9a: howto manager. (line 210)
  12285. * BFD_RELOC_SPU_PCREL9b: howto manager. (line 211)
  12286. * BFD_RELOC_SPU_PPU32: howto manager. (line 215)
  12287. * BFD_RELOC_SPU_PPU64: howto manager. (line 216)
  12288. * BFD_RELOC_THUMB_PCREL_BLX: howto manager. (line 747)
  12289. * BFD_RELOC_THUMB_PCREL_BRANCH12: howto manager. (line 758)
  12290. * BFD_RELOC_THUMB_PCREL_BRANCH20: howto manager. (line 759)
  12291. * BFD_RELOC_THUMB_PCREL_BRANCH23: howto manager. (line 760)
  12292. * BFD_RELOC_THUMB_PCREL_BRANCH25: howto manager. (line 761)
  12293. * BFD_RELOC_THUMB_PCREL_BRANCH7: howto manager. (line 756)
  12294. * BFD_RELOC_THUMB_PCREL_BRANCH9: howto manager. (line 757)
  12295. * BFD_RELOC_TIC30_LDP: howto manager. (line 1512)
  12296. * BFD_RELOC_TIC54X_16_OF_23: howto manager. (line 1526)
  12297. * BFD_RELOC_TIC54X_23: howto manager. (line 1524)
  12298. * BFD_RELOC_TIC54X_MS7_OF_23: howto manager. (line 1530)
  12299. * BFD_RELOC_TIC54X_PARTLS7: howto manager. (line 1516)
  12300. * BFD_RELOC_TIC54X_PARTMS9: howto manager. (line 1520)
  12301. * BFD_RELOC_TILEGX_BROFF_X1: howto manager. (line 3202)
  12302. * BFD_RELOC_TILEGX_COPY: howto manager. (line 3198)
  12303. * BFD_RELOC_TILEGX_DEST_IMM8_X1: howto manager. (line 3209)
  12304. * BFD_RELOC_TILEGX_GLOB_DAT: howto manager. (line 3199)
  12305. * BFD_RELOC_TILEGX_HW0: howto manager. (line 3191)
  12306. * BFD_RELOC_TILEGX_HW0_LAST: howto manager. (line 3195)
  12307. * BFD_RELOC_TILEGX_HW1: howto manager. (line 3192)
  12308. * BFD_RELOC_TILEGX_HW1_LAST: howto manager. (line 3196)
  12309. * BFD_RELOC_TILEGX_HW2: howto manager. (line 3193)
  12310. * BFD_RELOC_TILEGX_HW2_LAST: howto manager. (line 3197)
  12311. * BFD_RELOC_TILEGX_HW3: howto manager. (line 3194)
  12312. * BFD_RELOC_TILEGX_IMM16_X0_HW0: howto manager. (line 3218)
  12313. * BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT: howto manager. (line 3246)
  12314. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST: howto manager. (line 3226)
  12315. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT: howto manager. (line 3254)
  12316. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL: howto manager. (line 3240)
  12317. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL: howto manager.
  12318. (line 3274)
  12319. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD: howto manager. (line 3268)
  12320. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE: howto manager. (line 3280)
  12321. * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE: howto manager. (line 3264)
  12322. * BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL: howto manager. (line 3232)
  12323. * BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL: howto manager. (line 3248)
  12324. * BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD: howto manager. (line 3260)
  12325. * BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE: howto manager. (line 3272)
  12326. * BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE: howto manager. (line 3262)
  12327. * BFD_RELOC_TILEGX_IMM16_X0_HW1: howto manager. (line 3220)
  12328. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST: howto manager. (line 3228)
  12329. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT: howto manager. (line 3256)
  12330. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL: howto manager. (line 3242)
  12331. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL: howto manager.
  12332. (line 3276)
  12333. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD: howto manager. (line 3270)
  12334. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE: howto manager. (line 3282)
  12335. * BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE: howto manager. (line 3266)
  12336. * BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL: howto manager. (line 3234)
  12337. * BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL: howto manager. (line 3250)
  12338. * BFD_RELOC_TILEGX_IMM16_X0_HW2: howto manager. (line 3222)
  12339. * BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST: howto manager. (line 3230)
  12340. * BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL: howto manager. (line 3244)
  12341. * BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL: howto manager.
  12342. (line 3278)
  12343. * BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL: howto manager. (line 3236)
  12344. * BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL: howto manager. (line 3252)
  12345. * BFD_RELOC_TILEGX_IMM16_X0_HW3: howto manager. (line 3224)
  12346. * BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL: howto manager. (line 3238)
  12347. * BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL: howto manager. (line 3258)
  12348. * BFD_RELOC_TILEGX_IMM16_X1_HW0: howto manager. (line 3219)
  12349. * BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT: howto manager. (line 3247)
  12350. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST: howto manager. (line 3227)
  12351. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT: howto manager. (line 3255)
  12352. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL: howto manager. (line 3241)
  12353. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL: howto manager.
  12354. (line 3275)
  12355. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD: howto manager. (line 3269)
  12356. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE: howto manager. (line 3281)
  12357. * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE: howto manager. (line 3265)
  12358. * BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL: howto manager. (line 3233)
  12359. * BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL: howto manager. (line 3249)
  12360. * BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD: howto manager. (line 3261)
  12361. * BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE: howto manager. (line 3273)
  12362. * BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE: howto manager. (line 3263)
  12363. * BFD_RELOC_TILEGX_IMM16_X1_HW1: howto manager. (line 3221)
  12364. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST: howto manager. (line 3229)
  12365. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT: howto manager. (line 3257)
  12366. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL: howto manager. (line 3243)
  12367. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL: howto manager.
  12368. (line 3277)
  12369. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD: howto manager. (line 3271)
  12370. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE: howto manager. (line 3283)
  12371. * BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE: howto manager. (line 3267)
  12372. * BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL: howto manager. (line 3235)
  12373. * BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL: howto manager. (line 3251)
  12374. * BFD_RELOC_TILEGX_IMM16_X1_HW2: howto manager. (line 3223)
  12375. * BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST: howto manager. (line 3231)
  12376. * BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL: howto manager. (line 3245)
  12377. * BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL: howto manager.
  12378. (line 3279)
  12379. * BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL: howto manager. (line 3237)
  12380. * BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL: howto manager. (line 3253)
  12381. * BFD_RELOC_TILEGX_IMM16_X1_HW3: howto manager. (line 3225)
  12382. * BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL: howto manager. (line 3239)
  12383. * BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL: howto manager. (line 3259)
  12384. * BFD_RELOC_TILEGX_IMM8_X0: howto manager. (line 3205)
  12385. * BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD: howto manager. (line 3296)
  12386. * BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD: howto manager. (line 3291)
  12387. * BFD_RELOC_TILEGX_IMM8_X1: howto manager. (line 3207)
  12388. * BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD: howto manager. (line 3297)
  12389. * BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD: howto manager. (line 3292)
  12390. * BFD_RELOC_TILEGX_IMM8_Y0: howto manager. (line 3206)
  12391. * BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD: howto manager. (line 3298)
  12392. * BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD: howto manager. (line 3293)
  12393. * BFD_RELOC_TILEGX_IMM8_Y1: howto manager. (line 3208)
  12394. * BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD: howto manager. (line 3299)
  12395. * BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD: howto manager. (line 3294)
  12396. * BFD_RELOC_TILEGX_JMP_SLOT: howto manager. (line 3200)
  12397. * BFD_RELOC_TILEGX_JUMPOFF_X1: howto manager. (line 3203)
  12398. * BFD_RELOC_TILEGX_JUMPOFF_X1_PLT: howto manager. (line 3204)
  12399. * BFD_RELOC_TILEGX_MF_IMM14_X1: howto manager. (line 3211)
  12400. * BFD_RELOC_TILEGX_MMEND_X0: howto manager. (line 3213)
  12401. * BFD_RELOC_TILEGX_MMSTART_X0: howto manager. (line 3212)
  12402. * BFD_RELOC_TILEGX_MT_IMM14_X1: howto manager. (line 3210)
  12403. * BFD_RELOC_TILEGX_RELATIVE: howto manager. (line 3201)
  12404. * BFD_RELOC_TILEGX_SHAMT_X0: howto manager. (line 3214)
  12405. * BFD_RELOC_TILEGX_SHAMT_X1: howto manager. (line 3215)
  12406. * BFD_RELOC_TILEGX_SHAMT_Y0: howto manager. (line 3216)
  12407. * BFD_RELOC_TILEGX_SHAMT_Y1: howto manager. (line 3217)
  12408. * BFD_RELOC_TILEGX_TLS_DTPMOD32: howto manager. (line 3287)
  12409. * BFD_RELOC_TILEGX_TLS_DTPMOD64: howto manager. (line 3284)
  12410. * BFD_RELOC_TILEGX_TLS_DTPOFF32: howto manager. (line 3288)
  12411. * BFD_RELOC_TILEGX_TLS_DTPOFF64: howto manager. (line 3285)
  12412. * BFD_RELOC_TILEGX_TLS_GD_CALL: howto manager. (line 3290)
  12413. * BFD_RELOC_TILEGX_TLS_IE_LOAD: howto manager. (line 3295)
  12414. * BFD_RELOC_TILEGX_TLS_TPOFF32: howto manager. (line 3289)
  12415. * BFD_RELOC_TILEGX_TLS_TPOFF64: howto manager. (line 3286)
  12416. * BFD_RELOC_TILEPRO_BROFF_X1: howto manager. (line 3115)
  12417. * BFD_RELOC_TILEPRO_COPY: howto manager. (line 3111)
  12418. * BFD_RELOC_TILEPRO_DEST_IMM8_X1: howto manager. (line 3122)
  12419. * BFD_RELOC_TILEPRO_GLOB_DAT: howto manager. (line 3112)
  12420. * BFD_RELOC_TILEPRO_IMM16_X0: howto manager. (line 3125)
  12421. * BFD_RELOC_TILEPRO_IMM16_X0_GOT: howto manager. (line 3141)
  12422. * BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA: howto manager. (line 3147)
  12423. * BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI: howto manager. (line 3145)
  12424. * BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO: howto manager. (line 3143)
  12425. * BFD_RELOC_TILEPRO_IMM16_X0_HA: howto manager. (line 3131)
  12426. * BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL: howto manager. (line 3139)
  12427. * BFD_RELOC_TILEPRO_IMM16_X0_HI: howto manager. (line 3129)
  12428. * BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL: howto manager. (line 3137)
  12429. * BFD_RELOC_TILEPRO_IMM16_X0_LO: howto manager. (line 3127)
  12430. * BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL: howto manager. (line 3135)
  12431. * BFD_RELOC_TILEPRO_IMM16_X0_PCREL: howto manager. (line 3133)
  12432. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD: howto manager. (line 3163)
  12433. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA: howto manager. (line 3169)
  12434. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI: howto manager. (line 3167)
  12435. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO: howto manager. (line 3165)
  12436. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE: howto manager. (line 3171)
  12437. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA: howto manager. (line 3177)
  12438. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI: howto manager. (line 3175)
  12439. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO: howto manager. (line 3173)
  12440. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE: howto manager. (line 3182)
  12441. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA: howto manager. (line 3188)
  12442. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI: howto manager. (line 3186)
  12443. * BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO: howto manager. (line 3184)
  12444. * BFD_RELOC_TILEPRO_IMM16_X1: howto manager. (line 3126)
  12445. * BFD_RELOC_TILEPRO_IMM16_X1_GOT: howto manager. (line 3142)
  12446. * BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA: howto manager. (line 3148)
  12447. * BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI: howto manager. (line 3146)
  12448. * BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO: howto manager. (line 3144)
  12449. * BFD_RELOC_TILEPRO_IMM16_X1_HA: howto manager. (line 3132)
  12450. * BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL: howto manager. (line 3140)
  12451. * BFD_RELOC_TILEPRO_IMM16_X1_HI: howto manager. (line 3130)
  12452. * BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL: howto manager. (line 3138)
  12453. * BFD_RELOC_TILEPRO_IMM16_X1_LO: howto manager. (line 3128)
  12454. * BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL: howto manager. (line 3136)
  12455. * BFD_RELOC_TILEPRO_IMM16_X1_PCREL: howto manager. (line 3134)
  12456. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD: howto manager. (line 3164)
  12457. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA: howto manager. (line 3170)
  12458. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI: howto manager. (line 3168)
  12459. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO: howto manager. (line 3166)
  12460. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE: howto manager. (line 3172)
  12461. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA: howto manager. (line 3178)
  12462. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI: howto manager. (line 3176)
  12463. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO: howto manager. (line 3174)
  12464. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE: howto manager. (line 3183)
  12465. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA: howto manager. (line 3189)
  12466. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI: howto manager. (line 3187)
  12467. * BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO: howto manager. (line 3185)
  12468. * BFD_RELOC_TILEPRO_IMM8_X0: howto manager. (line 3118)
  12469. * BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD: howto manager. (line 3158)
  12470. * BFD_RELOC_TILEPRO_IMM8_X1: howto manager. (line 3120)
  12471. * BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD: howto manager. (line 3159)
  12472. * BFD_RELOC_TILEPRO_IMM8_Y0: howto manager. (line 3119)
  12473. * BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD: howto manager. (line 3160)
  12474. * BFD_RELOC_TILEPRO_IMM8_Y1: howto manager. (line 3121)
  12475. * BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD: howto manager. (line 3161)
  12476. * BFD_RELOC_TILEPRO_JMP_SLOT: howto manager. (line 3113)
  12477. * BFD_RELOC_TILEPRO_JOFFLONG_X1: howto manager. (line 3116)
  12478. * BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT: howto manager. (line 3117)
  12479. * BFD_RELOC_TILEPRO_MF_IMM15_X1: howto manager. (line 3124)
  12480. * BFD_RELOC_TILEPRO_MMEND_X0: howto manager. (line 3150)
  12481. * BFD_RELOC_TILEPRO_MMEND_X1: howto manager. (line 3152)
  12482. * BFD_RELOC_TILEPRO_MMSTART_X0: howto manager. (line 3149)
  12483. * BFD_RELOC_TILEPRO_MMSTART_X1: howto manager. (line 3151)
  12484. * BFD_RELOC_TILEPRO_MT_IMM15_X1: howto manager. (line 3123)
  12485. * BFD_RELOC_TILEPRO_RELATIVE: howto manager. (line 3114)
  12486. * BFD_RELOC_TILEPRO_SHAMT_X0: howto manager. (line 3153)
  12487. * BFD_RELOC_TILEPRO_SHAMT_X1: howto manager. (line 3154)
  12488. * BFD_RELOC_TILEPRO_SHAMT_Y0: howto manager. (line 3155)
  12489. * BFD_RELOC_TILEPRO_SHAMT_Y1: howto manager. (line 3156)
  12490. * BFD_RELOC_TILEPRO_TLS_DTPMOD32: howto manager. (line 3179)
  12491. * BFD_RELOC_TILEPRO_TLS_DTPOFF32: howto manager. (line 3180)
  12492. * BFD_RELOC_TILEPRO_TLS_GD_CALL: howto manager. (line 3157)
  12493. * BFD_RELOC_TILEPRO_TLS_IE_LOAD: howto manager. (line 3162)
  12494. * BFD_RELOC_TILEPRO_TLS_TPOFF32: howto manager. (line 3181)
  12495. * bfd_reloc_type_lookup: howto manager. (line 3405)
  12496. * BFD_RELOC_V850_16_GOT: howto manager. (line 1488)
  12497. * BFD_RELOC_V850_16_GOTOFF: howto manager. (line 1504)
  12498. * BFD_RELOC_V850_16_PCREL: howto manager. (line 1468)
  12499. * BFD_RELOC_V850_16_S1: howto manager. (line 1480)
  12500. * BFD_RELOC_V850_16_SPLIT_OFFSET: howto manager. (line 1478)
  12501. * BFD_RELOC_V850_17_PCREL: howto manager. (line 1470)
  12502. * BFD_RELOC_V850_22_PCREL: howto manager. (line 1422)
  12503. * BFD_RELOC_V850_22_PLT_PCREL: howto manager. (line 1492)
  12504. * BFD_RELOC_V850_23: howto manager. (line 1472)
  12505. * BFD_RELOC_V850_32_ABS: howto manager. (line 1476)
  12506. * BFD_RELOC_V850_32_GOT: howto manager. (line 1490)
  12507. * BFD_RELOC_V850_32_GOTOFF: howto manager. (line 1506)
  12508. * BFD_RELOC_V850_32_GOTPCREL: howto manager. (line 1486)
  12509. * BFD_RELOC_V850_32_PCREL: howto manager. (line 1474)
  12510. * BFD_RELOC_V850_32_PLT_PCREL: howto manager. (line 1494)
  12511. * BFD_RELOC_V850_9_PCREL: howto manager. (line 1420)
  12512. * BFD_RELOC_V850_ALIGN: howto manager. (line 1463)
  12513. * BFD_RELOC_V850_CALLT_15_16_OFFSET: howto manager. (line 1484)
  12514. * BFD_RELOC_V850_CALLT_16_16_OFFSET: howto manager. (line 1457)
  12515. * BFD_RELOC_V850_CALLT_6_7_OFFSET: howto manager. (line 1455)
  12516. * BFD_RELOC_V850_CODE: howto manager. (line 1508)
  12517. * BFD_RELOC_V850_COPY: howto manager. (line 1496)
  12518. * BFD_RELOC_V850_DATA: howto manager. (line 1510)
  12519. * BFD_RELOC_V850_GLOB_DAT: howto manager. (line 1498)
  12520. * BFD_RELOC_V850_JMP_SLOT: howto manager. (line 1500)
  12521. * BFD_RELOC_V850_LO16_S1: howto manager. (line 1482)
  12522. * BFD_RELOC_V850_LO16_SPLIT_OFFSET: howto manager. (line 1465)
  12523. * BFD_RELOC_V850_LONGCALL: howto manager. (line 1459)
  12524. * BFD_RELOC_V850_LONGJUMP: howto manager. (line 1461)
  12525. * BFD_RELOC_V850_RELATIVE: howto manager. (line 1502)
  12526. * BFD_RELOC_V850_SDA_15_16_OFFSET: howto manager. (line 1426)
  12527. * BFD_RELOC_V850_SDA_16_16_OFFSET: howto manager. (line 1424)
  12528. * BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET: howto manager. (line 1449)
  12529. * BFD_RELOC_V850_TDA_16_16_OFFSET: howto manager. (line 1442)
  12530. * BFD_RELOC_V850_TDA_4_4_OFFSET: howto manager. (line 1447)
  12531. * BFD_RELOC_V850_TDA_4_5_OFFSET: howto manager. (line 1444)
  12532. * BFD_RELOC_V850_TDA_6_8_OFFSET: howto manager. (line 1434)
  12533. * BFD_RELOC_V850_TDA_7_7_OFFSET: howto manager. (line 1440)
  12534. * BFD_RELOC_V850_TDA_7_8_OFFSET: howto manager. (line 1437)
  12535. * BFD_RELOC_V850_ZDA_15_16_OFFSET: howto manager. (line 1431)
  12536. * BFD_RELOC_V850_ZDA_16_16_OFFSET: howto manager. (line 1429)
  12537. * BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET: howto manager. (line 1452)
  12538. * BFD_RELOC_VAX_GLOB_DAT: howto manager. (line 2427)
  12539. * BFD_RELOC_VAX_JMP_SLOT: howto manager. (line 2428)
  12540. * BFD_RELOC_VAX_RELATIVE: howto manager. (line 2429)
  12541. * BFD_RELOC_VISIUM_HI16: howto manager. (line 3316)
  12542. * BFD_RELOC_VISIUM_HI16_PCREL: howto manager. (line 3320)
  12543. * BFD_RELOC_VISIUM_IM16: howto manager. (line 3318)
  12544. * BFD_RELOC_VISIUM_IM16_PCREL: howto manager. (line 3322)
  12545. * BFD_RELOC_VISIUM_LO16: howto manager. (line 3317)
  12546. * BFD_RELOC_VISIUM_LO16_PCREL: howto manager. (line 3321)
  12547. * BFD_RELOC_VISIUM_REL16: howto manager. (line 3319)
  12548. * BFD_RELOC_VPE4KMATH_DATA: howto manager. (line 2044)
  12549. * BFD_RELOC_VPE4KMATH_INSN: howto manager. (line 2045)
  12550. * BFD_RELOC_VTABLE_ENTRY: howto manager. (line 2048)
  12551. * BFD_RELOC_VTABLE_INHERIT: howto manager. (line 2047)
  12552. * BFD_RELOC_WASM32_ABS32_CODE: howto manager. (line 3329)
  12553. * BFD_RELOC_WASM32_CODE_POINTER: howto manager. (line 3331)
  12554. * BFD_RELOC_WASM32_COPY: howto manager. (line 3330)
  12555. * BFD_RELOC_WASM32_INDEX: howto manager. (line 3332)
  12556. * BFD_RELOC_WASM32_LEB128: howto manager. (line 3324)
  12557. * BFD_RELOC_WASM32_LEB128_GOT: howto manager. (line 3325)
  12558. * BFD_RELOC_WASM32_LEB128_GOT_CODE: howto manager. (line 3326)
  12559. * BFD_RELOC_WASM32_LEB128_PLT: howto manager. (line 3327)
  12560. * BFD_RELOC_WASM32_PLT_INDEX: howto manager. (line 3328)
  12561. * BFD_RELOC_WASM32_PLT_SIG: howto manager. (line 3333)
  12562. * BFD_RELOC_X86_64_32S: howto manager. (line 554)
  12563. * BFD_RELOC_X86_64_COPY: howto manager. (line 549)
  12564. * BFD_RELOC_X86_64_DTPMOD64: howto manager. (line 555)
  12565. * BFD_RELOC_X86_64_DTPOFF32: howto manager. (line 560)
  12566. * BFD_RELOC_X86_64_DTPOFF64: howto manager. (line 556)
  12567. * BFD_RELOC_X86_64_GLOB_DAT: howto manager. (line 550)
  12568. * BFD_RELOC_X86_64_GOT32: howto manager. (line 547)
  12569. * BFD_RELOC_X86_64_GOT64: howto manager. (line 565)
  12570. * BFD_RELOC_X86_64_GOTOFF64: howto manager. (line 563)
  12571. * BFD_RELOC_X86_64_GOTPC32: howto manager. (line 564)
  12572. * BFD_RELOC_X86_64_GOTPC32_TLSDESC: howto manager. (line 570)
  12573. * BFD_RELOC_X86_64_GOTPC64: howto manager. (line 567)
  12574. * BFD_RELOC_X86_64_GOTPCREL: howto manager. (line 553)
  12575. * BFD_RELOC_X86_64_GOTPCREL64: howto manager. (line 566)
  12576. * BFD_RELOC_X86_64_GOTPCRELX: howto manager. (line 576)
  12577. * BFD_RELOC_X86_64_GOTPLT64: howto manager. (line 568)
  12578. * BFD_RELOC_X86_64_GOTTPOFF: howto manager. (line 561)
  12579. * BFD_RELOC_X86_64_IRELATIVE: howto manager. (line 573)
  12580. * BFD_RELOC_X86_64_JUMP_SLOT: howto manager. (line 551)
  12581. * BFD_RELOC_X86_64_PC32_BND: howto manager. (line 574)
  12582. * BFD_RELOC_X86_64_PLT32: howto manager. (line 548)
  12583. * BFD_RELOC_X86_64_PLT32_BND: howto manager. (line 575)
  12584. * BFD_RELOC_X86_64_PLTOFF64: howto manager. (line 569)
  12585. * BFD_RELOC_X86_64_RELATIVE: howto manager. (line 552)
  12586. * BFD_RELOC_X86_64_REX_GOTPCRELX: howto manager. (line 577)
  12587. * BFD_RELOC_X86_64_TLSDESC: howto manager. (line 572)
  12588. * BFD_RELOC_X86_64_TLSDESC_CALL: howto manager. (line 571)
  12589. * BFD_RELOC_X86_64_TLSGD: howto manager. (line 558)
  12590. * BFD_RELOC_X86_64_TLSLD: howto manager. (line 559)
  12591. * BFD_RELOC_X86_64_TPOFF32: howto manager. (line 562)
  12592. * BFD_RELOC_X86_64_TPOFF64: howto manager. (line 557)
  12593. * BFD_RELOC_XC16X_PAG: howto manager. (line 2422)
  12594. * BFD_RELOC_XC16X_POF: howto manager. (line 2423)
  12595. * BFD_RELOC_XC16X_SEG: howto manager. (line 2424)
  12596. * BFD_RELOC_XC16X_SOF: howto manager. (line 2425)
  12597. * BFD_RELOC_XGATE_24: howto manager. (line 2191)
  12598. * BFD_RELOC_XGATE_GPAGE: howto manager. (line 2189)
  12599. * BFD_RELOC_XGATE_IMM3: howto manager. (line 2203)
  12600. * BFD_RELOC_XGATE_IMM4: howto manager. (line 2205)
  12601. * BFD_RELOC_XGATE_IMM5: howto manager. (line 2207)
  12602. * BFD_RELOC_XGATE_IMM8_HI: howto manager. (line 2200)
  12603. * BFD_RELOC_XGATE_IMM8_LO: howto manager. (line 2197)
  12604. * BFD_RELOC_XGATE_LO16: howto manager. (line 2186)
  12605. * BFD_RELOC_XGATE_PCREL_10: howto manager. (line 2195)
  12606. * BFD_RELOC_XGATE_PCREL_9: howto manager. (line 2193)
  12607. * BFD_RELOC_XGATE_RL_GROUP: howto manager. (line 2182)
  12608. * BFD_RELOC_XGATE_RL_JUMP: howto manager. (line 2179)
  12609. * BFD_RELOC_XSTORMY16_12: howto manager. (line 2416)
  12610. * BFD_RELOC_XSTORMY16_24: howto manager. (line 2417)
  12611. * BFD_RELOC_XSTORMY16_FPTR16: howto manager. (line 2418)
  12612. * BFD_RELOC_XSTORMY16_REL_12: howto manager. (line 2415)
  12613. * BFD_RELOC_XTENSA_ASM_EXPAND: howto manager. (line 2613)
  12614. * BFD_RELOC_XTENSA_ASM_SIMPLIFY: howto manager. (line 2617)
  12615. * BFD_RELOC_XTENSA_DIFF16: howto manager. (line 2564)
  12616. * BFD_RELOC_XTENSA_DIFF32: howto manager. (line 2565)
  12617. * BFD_RELOC_XTENSA_DIFF8: howto manager. (line 2563)
  12618. * BFD_RELOC_XTENSA_GLOB_DAT: howto manager. (line 2555)
  12619. * BFD_RELOC_XTENSA_JMP_SLOT: howto manager. (line 2556)
  12620. * BFD_RELOC_XTENSA_OP0: howto manager. (line 2608)
  12621. * BFD_RELOC_XTENSA_OP1: howto manager. (line 2609)
  12622. * BFD_RELOC_XTENSA_OP2: howto manager. (line 2610)
  12623. * BFD_RELOC_XTENSA_PLT: howto manager. (line 2559)
  12624. * BFD_RELOC_XTENSA_RELATIVE: howto manager. (line 2557)
  12625. * BFD_RELOC_XTENSA_RTLD: howto manager. (line 2551)
  12626. * BFD_RELOC_XTENSA_SLOT0_ALT: howto manager. (line 2591)
  12627. * BFD_RELOC_XTENSA_SLOT0_OP: howto manager. (line 2572)
  12628. * BFD_RELOC_XTENSA_SLOT10_ALT: howto manager. (line 2601)
  12629. * BFD_RELOC_XTENSA_SLOT10_OP: howto manager. (line 2582)
  12630. * BFD_RELOC_XTENSA_SLOT11_ALT: howto manager. (line 2602)
  12631. * BFD_RELOC_XTENSA_SLOT11_OP: howto manager. (line 2583)
  12632. * BFD_RELOC_XTENSA_SLOT12_ALT: howto manager. (line 2603)
  12633. * BFD_RELOC_XTENSA_SLOT12_OP: howto manager. (line 2584)
  12634. * BFD_RELOC_XTENSA_SLOT13_ALT: howto manager. (line 2604)
  12635. * BFD_RELOC_XTENSA_SLOT13_OP: howto manager. (line 2585)
  12636. * BFD_RELOC_XTENSA_SLOT14_ALT: howto manager. (line 2605)
  12637. * BFD_RELOC_XTENSA_SLOT14_OP: howto manager. (line 2586)
  12638. * BFD_RELOC_XTENSA_SLOT1_ALT: howto manager. (line 2592)
  12639. * BFD_RELOC_XTENSA_SLOT1_OP: howto manager. (line 2573)
  12640. * BFD_RELOC_XTENSA_SLOT2_ALT: howto manager. (line 2593)
  12641. * BFD_RELOC_XTENSA_SLOT2_OP: howto manager. (line 2574)
  12642. * BFD_RELOC_XTENSA_SLOT3_ALT: howto manager. (line 2594)
  12643. * BFD_RELOC_XTENSA_SLOT3_OP: howto manager. (line 2575)
  12644. * BFD_RELOC_XTENSA_SLOT4_ALT: howto manager. (line 2595)
  12645. * BFD_RELOC_XTENSA_SLOT4_OP: howto manager. (line 2576)
  12646. * BFD_RELOC_XTENSA_SLOT5_ALT: howto manager. (line 2596)
  12647. * BFD_RELOC_XTENSA_SLOT5_OP: howto manager. (line 2577)
  12648. * BFD_RELOC_XTENSA_SLOT6_ALT: howto manager. (line 2597)
  12649. * BFD_RELOC_XTENSA_SLOT6_OP: howto manager. (line 2578)
  12650. * BFD_RELOC_XTENSA_SLOT7_ALT: howto manager. (line 2598)
  12651. * BFD_RELOC_XTENSA_SLOT7_OP: howto manager. (line 2579)
  12652. * BFD_RELOC_XTENSA_SLOT8_ALT: howto manager. (line 2599)
  12653. * BFD_RELOC_XTENSA_SLOT8_OP: howto manager. (line 2580)
  12654. * BFD_RELOC_XTENSA_SLOT9_ALT: howto manager. (line 2600)
  12655. * BFD_RELOC_XTENSA_SLOT9_OP: howto manager. (line 2581)
  12656. * BFD_RELOC_XTENSA_TLSDESC_ARG: howto manager. (line 2622)
  12657. * BFD_RELOC_XTENSA_TLSDESC_FN: howto manager. (line 2621)
  12658. * BFD_RELOC_XTENSA_TLS_ARG: howto manager. (line 2626)
  12659. * BFD_RELOC_XTENSA_TLS_CALL: howto manager. (line 2627)
  12660. * BFD_RELOC_XTENSA_TLS_DTPOFF: howto manager. (line 2623)
  12661. * BFD_RELOC_XTENSA_TLS_FUNC: howto manager. (line 2625)
  12662. * BFD_RELOC_XTENSA_TLS_TPOFF: howto manager. (line 2624)
  12663. * BFD_RELOC_Z80_DISP8: howto manager. (line 2629)
  12664. * BFD_RELOC_Z8K_CALLR: howto manager. (line 2633)
  12665. * BFD_RELOC_Z8K_DISP7: howto manager. (line 2631)
  12666. * BFD_RELOC_Z8K_IMM4L: howto manager. (line 2635)
  12667. * bfd_rename_section: section prototypes. (line 169)
  12668. * bfd_scan_arch: Architectures. (line 560)
  12669. * bfd_scan_vma: Miscellaneous. (line 126)
  12670. * bfd_sections_find_if: section prototypes. (line 199)
  12671. * bfd_section_already_linked: Writing the symbol table.
  12672. (line 55)
  12673. * bfd_section_list_clear: section prototypes. (line 7)
  12674. * bfd_set_archive_head: Archives. (line 74)
  12675. * bfd_set_arch_info: Architectures. (line 601)
  12676. * bfd_set_assert_handler: Error reporting. (line 161)
  12677. * bfd_set_default_target: bfd_target. (line 485)
  12678. * bfd_set_error: Error reporting. (line 57)
  12679. * bfd_set_error_handler: Error reporting. (line 127)
  12680. * bfd_set_error_program_name: Error reporting. (line 135)
  12681. * bfd_set_file_flags: Miscellaneous. (line 45)
  12682. * bfd_set_format: Formats. (line 67)
  12683. * bfd_set_gp_size: Miscellaneous. (line 116)
  12684. * bfd_set_input_error: Error reporting. (line 68)
  12685. * bfd_set_private_flags: Miscellaneous. (line 174)
  12686. * bfd_set_reloc: Miscellaneous. (line 33)
  12687. * bfd_set_section_contents: section prototypes. (line 231)
  12688. * bfd_set_section_flags: section prototypes. (line 154)
  12689. * bfd_set_section_size: section prototypes. (line 216)
  12690. * bfd_set_start_address: Miscellaneous. (line 95)
  12691. * bfd_set_symtab: symbol handling functions.
  12692. (line 63)
  12693. * bfd_symbol_info: symbol handling functions.
  12694. (line 135)
  12695. * bfd_target_list: bfd_target. (line 537)
  12696. * bfd_update_compression_header: Miscellaneous. (line 350)
  12697. * bfd_write_bigendian_4byte_int: Internal. (line 12)
  12698. * bfd_zalloc: Opening and Closing.
  12699. (line 257)
  12700. * bfd_zalloc2: Opening and Closing.
  12701. (line 266)
  12702. * check_build_id_file: Opening and Closing.
  12703. (line 491)
  12704. * coff_symbol_type: coff. (line 233)
  12705. * core_file_matches_executable_p: Core Files. (line 38)
  12706. * find_separate_debug_file: Opening and Closing.
  12707. (line 365)
  12708. * generic_core_file_matches_executable_p: Core Files. (line 48)
  12709. * get_build_id: Opening and Closing.
  12710. (line 460)
  12711. * get_build_id_name: Opening and Closing.
  12712. (line 474)
  12713. * Hash tables: Hash Tables. (line 6)
  12714. * internal object-file format: Canonical format. (line 11)
  12715. * Linker: Linker Functions. (line 6)
  12716. * Other functions: Miscellaneous. (line 188)
  12717. * separate_alt_debug_file_exists: Opening and Closing.
  12718. (line 356)
  12719. * separate_debug_file_exists: Opening and Closing.
  12720. (line 343)
  12721. * struct bfd_iovec: Miscellaneous. (line 411)
  12722. * target vector (_bfd_final_link): Performing the Final Link.
  12723. (line 6)
  12724. * target vector (_bfd_link_add_symbols): Adding Symbols to the Hash Table.
  12725. (line 6)
  12726. * target vector (_bfd_link_hash_table_create): Creating a Linker Hash Table.
  12727. (line 6)
  12728. * The HOWTO Macro: typedef arelent. (line 287)
  12729. * what is it?: Overview. (line 6)
  12730. 
  12731. Tag Table:
  12732. Node: Top1051
  12733. Node: Overview1387
  12734. Node: History2445
  12735. Node: How It Works3390
  12736. Node: What BFD Version 2 Can Do4927
  12737. Node: BFD information loss6244
  12738. Node: Canonical format8785
  12739. Node: BFD front end13128
  12740. Node: typedef bfd13552
  12741. Node: Error reporting25873
  12742. Node: Miscellaneous31100
  12743. Node: Memory Usage50114
  12744. Node: Initialization51345
  12745. Node: Sections52021
  12746. Node: Section Input52504
  12747. Node: Section Output53698
  12748. Node: typedef asection56185
  12749. Node: section prototypes83789
  12750. Node: Symbols94388
  12751. Node: Reading Symbols95991
  12752. Node: Writing Symbols97099
  12753. Node: Mini Symbols98843
  12754. Node: typedef asymbol99817
  12755. Node: symbol handling functions105902
  12756. Node: Archives111277
  12757. Node: Formats115414
  12758. Node: Relocations118365
  12759. Node: typedef arelent119092
  12760. Node: howto manager134004
  12761. Node: Core Files265604
  12762. Node: Targets267642
  12763. Node: bfd_target269617
  12764. Node: Architectures295083
  12765. Node: Opening and Closing325836
  12766. Node: Internal344011
  12767. Node: File Caching350816
  12768. Node: Linker Functions352734
  12769. Node: Creating a Linker Hash Table354408
  12770. Node: Adding Symbols to the Hash Table356147
  12771. Node: Differing file formats357047
  12772. Node: Adding symbols from an object file358772
  12773. Node: Adding symbols from an archive360922
  12774. Node: Performing the Final Link363268
  12775. Node: Information provided by the linker364509
  12776. Node: Relocating the section contents365663
  12777. Node: Writing the symbol table367415
  12778. Node: Hash Tables374569
  12779. Node: Creating and Freeing a Hash Table375767
  12780. Node: Looking Up or Entering a String377017
  12781. Node: Traversing a Hash Table378270
  12782. Node: Deriving a New Hash Table Type379059
  12783. Node: Define the Derived Structures380125
  12784. Node: Write the Derived Creation Routine381206
  12785. Node: Write Other Derived Routines383831
  12786. Node: BFD back ends385146
  12787. Node: What to Put Where385416
  12788. Node: aout385596
  12789. Node: coff391878
  12790. Node: elf420029
  12791. Node: mmo420430
  12792. Node: File layout421300
  12793. Node: Symbol-table427213
  12794. Node: mmo section mapping430976
  12795. Node: GNU Free Documentation License434630
  12796. Node: BFD Index459694
  12797. 
  12798. End Tag Table
  12799. 
  12800. Local Variables:
  12801. coding: utf-8
  12802. End: